Sqliteimport

Latest version: v0.10.0

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

Scan your dependencies

Page 1 of 2

0.10.0

===================

Added
-----

* Add preliminary support for displaying files and source lines in tracebacks.

.. _changelog-0.9.0:

0.9.0

==================

Fixed
-----

* Ensure that modules have a ``__file__`` attribute,
and possibly a ``__cached__`` attribute.

The Python data model docs make it clear that these attributes aren't guaranteed,
but it is nevertheless common for authors to assume that ``__file__`` exists.

The string value may not be usable for a specific purpose,
but the attributes now exist with the correct type for increased compatibility.

.. _changelog-0.8.0:

0.8.0

==================

Added
-----

* Support namespace packages.

Fixed
-----

* Fix a bug, and inconsistencies, in the ``describe`` command output.
* Verify a distribution package exists in the database before claiming it does.

.. _changelog-0.7.0:

0.7.0

==================

Added
-----

* Add a subcommand, ``describe``, to print info about a database.
* Add an alias for the CLI ``sqliteimport`` command: ``si``.

Development
-----------

* Improve the isolation of compatibility code.

.. _changelog-0.6.0:

0.6.0

==================

Added
-----

* Compress all database content using the LZMA algorithm.

sqliteimport now produces databases that are smaller than importable zip files.

* Support compiling to, and loading from, pre-compiled bytecode in the database.

Performance testing shows that sqliteimport now imports large dependency trees
faster than standard filesystem-based imports.

* Add a ``sqliteimport compile`` command to compile all Python source to bytecode.

The command should be run for each Python interpreter that will be used
by the application.

Development
-----------

* Add a Powershell script to test performance on Windows.

.. _changelog-0.5.0:

0.5.0

==================

Python support
--------------

* Support PyPy 3.11.

Added
-----

* Add initial support for bundling and loading Python bytecode (``.pyc`` files).

Performance testing on Linux shows that loading from sqlite is now twice as fast.

The implementation is currently inflexible:
it binds the sqlite database to the Python version used to bundle it.

Documentation
-------------

* Add the changelog and a colophon to the documentation.
* Configure ReadtheDocs to use the ``dirhtml`` builder.
* Update the links shown on PyPI.

Development
-----------

* Fix test project regeneration, which broke when Poetry 2 was released.

* Migrate from Poetry to ``build`` to build the test project wheels.
* Pin the regeneration tool dependencies.
* Update the test projects' ``pyproject.toml`` files to use PEP 621 metadata keys.

* Add a script to log performance comparisons across multiple importers,
including source and bytecode files when imported from the filesystem,
from sqlite, and from zip files with varying compression levels.

.. _changelog-0.4.0:

Page 1 of 2

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.