Dark Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

kurtmckee/sqliteimport

Repository files navigation


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:

Requesting a webpage...success!">$ python demo.py
The requests module object:


Requesting a webpage...success!

Warning

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

About

Import Python code from sqlite databases

Resources

Readme

License

MIT license

Stars

Watchers

Forks

Sponsor this project

Contributors