Tool for generating demo SQLite databases
Project description
sqlite-generate
Tool for generating demo SQLite databases
Installation
Install this plugin using pip
:
$ pip install sqlite-generate
Usage
To generate a SQLite database file called data.db
with 10 randomly named tables in it, run the following:
sqlite-generate data.db
You can use the --tables
option to generate a different number of tables:
sqlite-generate data.db --tables 20
Development
To contribute to this tool, first checkout the code. Then create a new virtual environment:
cd sqlite-generate
python -mvenv venv
source venv/bin/activate
Or if you are using pipenv
:
pipenv shell
Now install the dependencies and tests:
pip install -e '.[test]'
To run the tests:
pytest
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
sqlite-generate-0.1.tar.gz
(2.4 kB
view hashes)
Built Distribution
Close
Hashes for sqlite_generate-0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ffcd92c76f3eeb4d4e3ce1d035c5d538a5979dfb553439dc705757154ce2a5f |
|
MD5 | 74e40918511c1b38cc91b49af8a7fe25 |
|
BLAKE2b-256 | 0193d056c31db4164ee2deab9aa4f3f04c17765ed49eb7691b67f4f44da1ee4f |