sqlite-utils

(★ 2,154)

Python CLI utility and library for manipulating SQLite databases

File Explorer

  • .gitignore
  • .readthedocs.yaml
  • codecov.yml
  • Justfile
  • LICENSE
  • MANIFEST.in
  • mypy.ini
  • pyproject.toml
  • README.md

# Use via CDN

jsDelivr

jsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.

Command Glossary

Commands referenced in this DOCs, explained below.

🔍

brew install

View Details ▼

Install a Homebrew formula or cask.

brew install {{formula|cask}}

Install a formula/cask:

brew install {{[-s|--build-from-source]}} {{formula}}

Build and install a formula from source (dependencies will still be installed from bottles):

brew install {{[-n|--dry-run]}} {{formula|cask}}

Download the manifest, print what would be installed but don't actually install anything:

🔍

pip install

View Details ▼

Install Python packages.

pip install {{package1 package2 ...}}

Install one or more packages:

pip install {{package1 package2 ...}} {{[-U|--upgrade]}}

Upgrade all specified packages to the latest version, installing any that are not already present:

pip install {{package}}=={{version}}

Install a specific version of a package:

🔍

sqlite-utils

View Details ▼

Manipulate SQLite databases in a number of different ways.

sqlite-utils create-database {{path/to/database.db}}

Create a database:

sqlite-utils create-table {{path/to/database.db}} {{table_name}} {{id integer name text height float photo blob --pk id}}

Create a table:

sqlite-utils tables {{path/to/database.db}}

List tables:

# Project Badges

// repository documentation