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
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.1.0.tar.gz
(3.0 kB
view hashes)
Built Distribution
Close
Hashes for sqliteimport-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9d395585303d4bd5104666ad23eb3a726f10c4aec9736cc33a5016054d6fad52 |
|
MD5 | 8bdf016800de215c70fd03c782c4f591 |
|
BLAKE2b-256 | 7d1abc8eda19b6160a49cc7a5abe048f39104b716c90aaf98eb81b2f5273d5ba |