Socket
Socket
Sign inDemoInstall

sqlite-utils-shell

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sqlite-utils-shell

An interactive shell for sqlite-utils


Maintainers
1

sqlite-utils-shell

PyPI Changelog Tests License

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

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc