Skip to main content

Import Python code from sqlite databases

Project description

Import Python code from sqlite databases.


Demo usage example, using code in the sqliteimport repository:

# 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:

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

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sqliteimport-0.1.0.tar.gz (3.0 kB view hashes)

Uploaded Source

Built Distribution

sqliteimport-0.1.0-py3-none-any.whl (3.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page