Mara-db

Latest version: v4.11.0

Safety actively analyzes 630523 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 4

2.3.0

- Switch dependency links in setup.py from ssh to https
- Add psycopg2 as dependency

2.2.0

- add web ui for visualizing database schemas (postgres only currently)
- improve acl
- Fix bug in schema drawing
- Quote strings when copying from sqlite
- NULL value handling when copying from sqlite

2.1.0

- add SQLite support
- don't use sqlalchemy session in postgres_cursor_context because it creates to many setup queries on each instantiation
- always append ';\n\go' to queries against SQL Server
- remove default-character-set=utf8mb4 from My SQL queries

2.0.0

- change database configuration from sqalchemy urls to custom database specific classes
- create sqlalchemy session contexts from configuration objects
- add functions for creating shell commands for accessing databases
- add documentation
- bug fixes
- various smaller improvements in mara_db/shell.py

**required changes**

This version is pretty much incompatible with previous versions. See README.md for new usage patterns.

1.1.0

- Replace config function databases with database_urls
- Add functions for client command creation

**required changes**

- Change database configurations from

python
from sqlalchemy import engine

def databases() -> {str: engine.Engine}:
"""The list of database connections to use, by alias"""
return {'mara': engine.create_engine('postgresql+psycopg2://rootlocalhost/mara')}



to

python
import sqlalchemy.engine.url

def database_urls() -> {str: sqlalchemy.engine.url}:
"""The list of database connections to use, by alias"""
return {'mara': sqlalchemy.engine.url.make_url('postgresql+psycopg2://rootlocalhost/mara')}

1.0.0

- Initial version
- Minor bug fixes and code style issues

Page 4 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.