Dbkit

Latest version: v0.2.4

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

Scan your dependencies

Page 1 of 2

0.2.5

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

* Minor fixes and cleanup, including getting rid of a nose dependency.
* Wheel support.

.. _version-0.2.4:

0.2.4

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

* Python 3 support.

.. _version-0.2.3:

0.2.3

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

* `Context.cursor()` now always creates a transaction. The lack of this outer
transaction meant that PostgreSQL would end up with a large number of idle
transactions that had neither been committed or rolled back.
* This is the last version that will work on Python 2.5.

.. _version-0.2.2:

0.2.2

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

* Scrap `unindent_statement()`.
* Derive all dbkit exceptions from `Exception`.
* Clean up connection pinging code.
* Add `make_placeholders()` for generating statement placeholders safely.
* Add `to_dict()` for converting resultsets to dicts mapped off of a
particular field.

.. _version-0.2.0:

0.2.0

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

* Add `last_row_id()`.
* Pools now can have custom mediators.
* Cursors are now tracked.
* Pooled connections are no longer closed prematurely.
* Row factories are now usable outside of context safely.

.. _version-0.1.4:

0.1.4

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

* `execute*()` now returns the number of affected rows.
* Add `last_row_count` and `last_row_id` to `Context`.
* Remove `DummyPool` and `ThreadAffinePool`, though the latter may be
returning.
* Stablise the behaviour of `Pool` when dealing with expired connections.
* Documentation version is now pegged directly to the library.

.. _version-0.1.2:

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.