sqlite-utils-shell
An interactive shell for sqlite-utils
Alternative: sqlite-utils-litecli is similar to this but better, because it includes full autocompletion against table and column names.
Installation
Install this plugin in the same environment as sqlite-utils.
sqlite-utils install sqlite-utils-shell
Usage
To start a new interactive shell session against a database:
sqlite-utils shell data.db
Type quit or exit to end the session.
Omit the filename to run against an in-memory database.
To load additional SQLite extensions pass their paths as one or more --load-extension arguments:
sqlite-utils shell data.db \
--load-extension /path/to/extension.so
Development
To set up this plugin locally, first checkout the code. Then create a new virtual environment:
cd sqlite-utils-shell
python3 -m venv venv
source venv/bin/activate
Now install the dependencies and test dependencies:
pip install -e '.[test]'
To run the tests:
pytest
Release files for sqlite-utils-shell 0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| sqlite-utils-shell-0.3.tar.gz | 7.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sqlite_utils_shell-0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.6 kB
Release files / sqlite-utils-shell-0.3.tar.gz
| Download URL | sqlite-utils-shell-0.3.tar.gz |
|---|---|
| Size | 7.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fbe62362b3e2bab1e50107bcd4fe283377c9011f80534ffad5531164a8e96e55
|
|
BLAKE2b-256 checksum How to use checksums |
bc6d4a542fc95f6df36ae998a7af26d4690b8652659ac9a43921935a838d067c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.7
|
Release files / sqlite_utils_shell-0.3-py3-none-any.whl
| Download URL | sqlite_utils_shell-0.3-py3-none-any.whl |
|---|---|
| Size | 7.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9168a67577081116301c3c74df99c5d1ee1b4fc074afcecd97660d6c66e8b923
|
|
BLAKE2b-256 checksum How to use checksums |
74f54e913290b49d6834210d0ec148365bc375fe6fe889a8c10eaac348622f41
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.7
|