Sqliteimport

Latest version: v0.3.0

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

Scan your dependencies

0.3.0

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

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

* Test against Python 3.14 pre-releases.
* Drop Python 3.8 support.
* Drop PyPy 3.9 support.

Added
-----

* Add a database index to improve import performance.
* Support calls to ``importlib.metadata.version()``.
* Partially support accessing resources in packages.
* Support binary files (like non-UTF-8 Python modules) and resources.

Fixed
-----

* Fix a bug in the bundling code that allowed non-Python files to be importable.

Previously, a package containing a PEP 561 ``py.typed`` file
would have an importable submodule named ``{package}.py``.

* Fix a bug that prevented databases bundled on Windows from finding package metadata.

Changed
-------

* Introduce a data access object to manage database interactions.
* Create a ``sqliteimport`` table to store metadata about the database.
* Bundle ``.dist-info/`` metadata directories into databases.

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

* Use an absolute URL to the banner in the README.

This helps ensure that PyPI releases will render the README consistently.

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

* Test that Unicode filenames can be imported.
* Add a script to generate a large Python package for performance testing.
* Resolve a ``ResourceWarning`` in the test suite on Python 3.13.
* Add CI testing.
* Create a framework for testing bundling and importing.
* Migrate to PEP 621 metadata in ``pyproject.toml``.
* Create release PRs via a reusable workflow.

.. _changelog-0.2.0:

0.2.0

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

Added
-----

* Add a ``cli`` extra.
* Add a CLI command, ``sqliteimport bundle``, to assist with database generation.

.. _changelog-0.1.0:

0.1.0

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

Initial release
---------------

* Support loading Python source code from a sqlite database.

Links

Releases

Has known vulnerabilities

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.