Sql30

Latest version: v0.2.7

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

Scan your dependencies

Page 1 of 2

0.2.2

--------------
- Allow users to specify connection timeout. Default connection timeout through
sqlite3 module is 5 seconds. Users can override it at schema level or can alter
it for individual instance.
- Fix for 'ModuleNotFoundError' in API server for Python < 3.5
- Refactoring for support to PostgresSQL (through connection with 3rd party connector)
e.g. Users can use https://pypi.org/project/psycopg2/ to connect to PostgresSQL database
and override `get_conn_handle` in Schema class and same code shall work for PostgresSQL.

0.2.0

--------------
- Allow users to redirect db files into a directory based on SQL30_DB_DIR .
- Fix command line utility to start server on a port to serve data of tables.
- Include sanity test into the unit tests which are gating tests for release of sql30.
- Minor styling fixes.

0.1.9

--------------
- Port sql30 to Python <= 3.6 and Python 2 as well.
- SQL30 is available on Python 2 as well.
- Add MANIFEST file for python2.
- Allow users to specify order in which table columns should be created.
This allows users to make behavior predictable on Python 2 and Python3.

0.1.6

--------------
- Add APIs for miscellaneous operations around - count, min, max, avg
- Add range based filters in Queries. Previously only equality based queries were allowed
for CRUD operations. Range based filters applicable to miscellaneous operations also.

0.1.5

--------------
- Make location of database files configurable. By default all the files will
be placed in /opt/sql30/ directory unless 'db_name' itself has a file separator
in it to notify that full/relative path has been chosen by user.
- Fix log messages.
- Enable verbose mode based on init param 'verbose'

0.1.4

--------------
- Add context Manager to the db.Model. With context manager, users need not commit the work and close the connection as it is done automatically at the end of the context. It is also syntactic sugar as it is much easier to do CRUD operations.
- Bug Fixes.

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.