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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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