Sqlalchemy-mate

Latest version: v2.0.0.3

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

Scan your dependencies

Page 3 of 4

0.0.7

------------------------------------------------------------------------------
**Features and Improvements**

- add ``test_connection(engine, timeout=3)`` function.
- integrate ``Credential.from_env`` with AWS Key management Service.

**Miscellaneous**

- Deprecating ``sqlalchemy_mate.engine_creator``

0.0.6

------------------------------------------------------------------------------
**Bugfixes**

- add ``import boto3`` in ``Credential.from_s3_json()``

0.0.5

------------------------------------------------------------------------------
**Features and Improvements**

- ``ExtendedBase.keys()`` now is a class method.
- ``ExtendedBase.glance()`` can print major attributes and values.
- **A New DB Credential reader** ``from sqlalchemy_mate import Credential, EngineCreator``

**Minor Improvements**

- change ``FromClause.count()`` -> ``func.count()``, since previous one will be deprecated soon in sqlalchemy.

0.0.4

------------------------------------------------------------------------------
**Features and Improvements**

- add ``ExtendedBase.pk_names``, ``ExtendedBase.id_field_name``, ``ExtendedBase.by_id``, ``ExtendedBase.by_sql``, ``ExtendedBase.update_all``, ``ExtendedBase.upsert_all``.

**Minor Improvements**

- use ``pygitrepo==0.0.21``

**Miscellaneous**

- Now ``ExtendedBase.smart_insert`` method returns number of insertion operation. So you can see the difference now.

0.0.3

------------------------------------------------------------------------------
**Features and Improvements**

- add a ``ExtendedBase`` class to give orm Declaritive Base more useful method.
- add a new method performs ``smart_insert`` in orm. It is 10 times faster in average than one by one insert. Can do bulk insert even there is a ``IntegrityError``.
- add a new ``engine_creator`` module to quickly create engines.

**Minor Improvements**

- now ``.crud.select, .crud.insert, .crud.update`` are renamed to ``.crud.selecting, .crud.inserting, .crud.updateing``.
- greately improved the doc strings.

**Bugfixes**

- fix a bug that returns different column name in export query result to ``PrettyTable``.

**Miscellaneous**

- improve testing coverage from 60% to 100%.
- add unittest for import.
- add documentation site.

0.0.2

------------------------------------------------------------------------------
**Features and Improvements**

- add more function can create PrettyTable from orm query, orm object, sql statement, table.

**Minor Improvements**

**Bugfixes**

- fix a bug that sometimes prettytable using bytes str for column name, now it ensures unicode str.

**Miscellaneous**

Page 3 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.