Import Python code from sqlite databases
Project description
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
Release history Release notifications | RSS feed
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.2.0.tar.gz
(4.1 kB
view details)
Built Distribution
File details
Details for the file sqliteimport-0.2.0.tar.gz
.
File metadata
- Download URL: sqliteimport-0.2.0.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 11fba728ed351cf9b1882809dca1e1580117d3b56b584320529370fc996b58b5 |
|
MD5 | 8477d11a03922d2646d4785165c113fc |
|
BLAKE2b-256 | 93d57662f85a13a0b0772e0ec05bc9a3ebf144b01cdbcb310ad8b37c18adf735 |
File details
Details for the file sqliteimport-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: sqliteimport-0.2.0-py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 22684eb121e45a68e40270ad8278823e5079c15a9dc3355797921aaceac93f07 |
|
MD5 | 64b96248f02a24509eeade8814b8f407 |
|
BLAKE2b-256 | 179c5fe3bca2b87068f6ef21fc1fa21f24cceb31b64d504c5b60554910d28412 |