Skip to main content

Interactive shell using litecli

Project description

sqlite-utils-litecli

PyPI Changelog Tests License

Interactive shell for sqlite-utils using litecli.

Installation

Install this plugin in the same environment as sqlite-utils.

sqlite-utils install sqlite-utils-litecli

Usage

Start running the shell like this:

sqlite-utils litecli data.db

This will start a litecli interactive shell session.

Custom SQL functions provided by other plugins will be available in the shell.

Screenshot showing the plugin in action - it includes autocomplete of SQLite table names

Development

To set up this plugin locally, first checkout the code. Then create a new virtual environment:

cd sqlite-utils-litecli
python3 -m venv venv
source venv/bin/activate

Now install the dependencies and test dependencies:

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-utils-litecli-0.1.1.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

sqlite_utils_litecli-0.1.1-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

Details for the file sqlite-utils-litecli-0.1.1.tar.gz.

File metadata

  • Download URL: sqlite-utils-litecli-0.1.1.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for sqlite-utils-litecli-0.1.1.tar.gz
Algorithm Hash digest
SHA256 39ec7d8548472a2176fc7cd0b2a799a09d1e934eea4c5bf4171b87dfbd6f35be
MD5 4b038e421ca9ecf5b2d372ddd194a211
BLAKE2b-256 72a3551e2d9090e69b8aa95e43ca44f8407372bc3509c6750b91707aa9e59d07

See more details on using hashes here.

File details

Details for the file sqlite_utils_litecli-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for sqlite_utils_litecli-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6ceb77db87b4e17e764daab58f3409fd0cfa995daec88cc3ad3b05de2bfd0cb8
MD5 056333988a974e2796107ecb9365be2d
BLAKE2b-256 f370242814fa0fc9b8003fa62084b96523a11e3effd9be5e43b1be3f8cb78a91

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page