Skip to main content

Import Python code from sqlite databases

Project description

sqlite import: Import Python code from sqlite databases.

Demo usage example, using demo.py in the sqliteimport repository:

# Ensure sqliteimport is installed with the 'cli' extra.
pip install sqliteimport[cli]

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

# Generate a sqlite database containing the installed packages.
sqliteimport bundle sample sample.sqlite3

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

This is the output:

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

Requesting a webpage...success!

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.14.0.tar.gz (12.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sqliteimport-0.14.0-py3-none-any.whl (17.5 kB view details)

Uploaded Python 3

File details

Details for the file sqliteimport-0.14.0.tar.gz.

File metadata

  • Download URL: sqliteimport-0.14.0.tar.gz
  • Upload date:
  • Size: 12.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for sqliteimport-0.14.0.tar.gz
Algorithm Hash digest
SHA256 65b1a8a7cc3df586e80eb6482e67a3769ece3770c84c3cc14be1aee9e02f64ba
MD5 2e4e4b45f3fa9b423c72e8986d51eb2c
BLAKE2b-256 797aab89288f3f82e441b70675bc1bf4f5191303feffb0634f019895a4dacb8d

See more details on using hashes here.

File details

Details for the file sqliteimport-0.14.0-py3-none-any.whl.

File metadata

  • Download URL: sqliteimport-0.14.0-py3-none-any.whl
  • Upload date:
  • Size: 17.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for sqliteimport-0.14.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9bbe1cf578b834d6498ff05cf5da36e50a04faf879ebab452ad18ada3be2d135
MD5 9efc48c7352da0a87825589fcdf551c9
BLAKE2b-256 80db6d36d8fb6de77af26bf3be0b01bab599200c13fa4032a8909ff53c779755

See more details on using hashes here.

Supported by

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