Quma

Latest version: v0.1.0

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

Scan your dependencies

Page 1 of 2

0.1.0

-------------

Released on August 16th 2020

- Raise ``quma.ConnectionError`` when a connection fails.

0.1.0b4

---------------

Released on October 10th 2019

- Bugfix release: When carrier and pool were used together the pool
was not cleaned up properly.

0.1.0b3

---------------

Released on October 9th 2019

- Revised tests. They where failing in CI with 0.1.0b2 as Travis uses
MySQL 5 and prepared statements obvisually doesn't work with MySQLdb
and this server version.

0.1.0b2

---------------

Released on October 8th 2019

- You can now use original connection parameters of the DB API adapter
which will be passed to the adapters ``connect`` function.

Example:

``db = Database('mysql://...', sqldir, charset='utf8')``

will result in

``MySQLdb.connect(host='...', db='...', charset='utf8')``

Where ``charset`` is part of MySQLdb's API and not part of quma's.
- Objects which are passed as carrier are not altered anymore. Previously
carriers had been added an attribute called ``__quma_conn__``.
- Mako templates are now set up using mako's ``TemplateLookup`` which
is initialized with the sql directories.
- Add method ``.query()`` to ``Cursor``.
- Add "prepared statements" section to docs.

0.1.0b1

---------------

Released on January 27th 2019

- Rename ``Database`` parameter ``show`` to ``echo``.
- When ``echo`` is set to ``True`` *PostgreSQL* and *MySQL/MariaDB*
connections now print the query after argument binding which means
placholders are replaced with parameter values.

0.1.0a5

---------------

Released on November 16th 2018

- Fix ``query.exists()``: Return DBAPI's ``rowcount`` if available.

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.