Metadata-Version: 2.1
Name: sqliteimport
Version: 0.1.0
Summary: Import Python code from sqlite databases
Home-page: https://github.com/kurtmckee/sqliteimport
License: MIT
Author: Kurt McKee
Author-email: contactme@kurtmckee.org
Requires-Python: >=3.8
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Project-URL: Repository, https://github.com/kurtmckee/sqliteimport
Description-Content-Type: text/x-rst

..
    This file is a part of sqliteimport <https://github.com/kurtmckee/sqliteimport>
    Copyright 2024 Kurt McKee <contactme@kurtmckee.org>
    SPDX-License-Identifier: MIT


sqliteimport
############

*Import Python code from sqlite databases.*

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

Demo usage example, using code in `the sqliteimport repository`_:

..  code-block:: bash

    # Install 'requests' in a standalone directory.
    pip install --target=sample requests

    # Generate a sqlite database containing the installed packages.
    python generate-sample.py

    # Demonstrate that importing from a database works.
    python demo.py


This is the output:

..  code-block:: console

    $ python demo.py
    The requests module object:
    <module 'requests' (sample.sqlite3)>

    First line of the HTML response:
    <!DOCTYPE html>

..  warning::

    The database format is likely to change as the project matures.

..  _the sqliteimport repository: https://github.com/kurtmckee/sqliteimport

