Pydblite

Latest version: v3.0.4

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

Scan your dependencies

Page 1 of 2

3.0.4

~~~~~~~~~~~~~~~~~~~~~~~~

- Added functions
:func:`__enter__() <pydblite.sqlite.Database.__enter__>` and
:func:`__exit__() <pydblite.sqlite.Database.__exit__>` to
:class:`Database <pydblite.sqlite.Database>`

3.0.3

~~~~~~~~~~~~~~~~~~~~~~~~

- Fixed bug where db_filter argument of function
:func:`_len() <pydblite.sqlite.Table._len>`,
:func:`get_unique_ids() <pydblite.sqlite.Table.get_unique_ids>`, and
:func:`get_group_count() <pydblite.sqlite.Table.get_group_count>` was
ignored if filter returns 0 matches.

3.0.2

~~~~~~~~~~~~~~~~~~~~~~~~

- Fixed bug (1) in :class:`Base <pydblite.pydblite._Base>` where calling
:func:`db.create() <pydblite.pydblite._Base.create>` without supplying
a value for the "mode" parameter with give an error.

3.0.1

~~~~~~~~~~~~~~~~~~~~~~~~

- Fixed bug in :class:`Base <pydblite.pydblite._Base>` where opening
existing database would fail.

3.0

~~~~~~~~~~~~~~~~~~~~~~~~

Note: Some changes in this release are not backwards compatible with 2.X versions.

- pydblite and sqlite are rewritten to use a common :class:`Filter <pydblite.common.Filter>` object.
- Tests have been improved and standardised in :ref:`unittests-label`.
- Updated :ref:`examples-label`.
- Renamed module and package names to lower case according to :PEP:`8`
- Converted to UNIX line endings and follow :PEP:`8` code style.
- MySQL adapter has been dropped until it can be tested with unit tests.

2.6

~~~~~~~~~~~~~~~~~~~~~~~~

- if db exists, read field names on instance creation
- allow add_field on an instance even if it was not open()
- attribute path is the path of the database in the file system
(was called "name" in previous versions)
- attribute name is the base name of the database, without the extension
- adapt code to run on Python 2 and Python 3

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.