$npx skillfedfor your agent

sqlite-utils

CLI tool and Python library for manipulating SQLite databases

Worth itPyPI DatabaseReleased Aug 20261.4M downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — sqlite_utils-4.2.1-py3-none-any.whl
v4.2.1 · released 2026-08-13 · Python >=3.10 · 7 runtime deps: click, click-default-group, pluggy, python-dateutil, sqlite-fts4, tabulate, pip

Yes. Active maintenance, low install friction, no known vulnerabilities, permissive license, and broad Python version support. Useful both as a CLI utility for data exploration and as a library for programmatic database work.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later.
  • Low install friction: pure Python wheel with 7 runtime dependencies.
  • Active maintenance with a release 1 day ago and 2150 repository stars.

License · maintenance · safety

Apache-2.0 (permissive) — Apache-2.0 permissive license allows commercial and private use with minimal restrictions.

last release 2026-08-13 (1 days) · last repo commit 2026-08-14 · 2,150 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,410,769 downloads/mo, #3,939 on PyPI

Verify before relying

pip install sqlite-utils

import sqlite_utils
db = sqlite_utils.Database("demo.db")
db["dogs"].insert_all([
    {"id": 1, "age": 4, "name": "Cleo"},
    {"id": 2, "age": 2, "name": "Pancakes"}
], pk="id")
  • Whether the full-text search feature requires sqlite-fts4 to be compiled or if it works on all platforms without additional system dependencies.
  • Performance characteristics when working with large datasets or complex transformations.
Same gist for agents: .md · .json

What it is and what it does

sqlite-utils is both a command-line tool and a Python library for working with SQLite databases. It lets you pipe JSON, CSV, or TSV data directly into a new database with automatic schema inference, run SQL queries against files without creating a database first, and perform schema transformations that SQLite does not support natively. The library wraps SQLite with a Python API that handles common tasks like inserting records, extracting columns into separate tables, and managing full-text search indexes.

You can use it as a standalone CLI for one-off data operations—querying CSV files with SQL, converting JSON to a database, viewing results in different formats—or import it into your Python code to automate database creation and manipulation. It includes support for database migrations via Python files, plugin installation for custom SQL functions, and a memory mode for querying data without persisting to disk.

Use it for

  • Convert CSV or JSON files into a queryable SQLite database with automatic schema creation in a single command.
  • Run ad-hoc SQL queries against CSV or JSON data files without manually creating a database.
  • Normalize existing database tables by extracting columns into separate tables to reduce redundancy.
  • Configure and run full-text search queries against database tables, ordered by relevance.
  • Manage schema changes and migrations across SQLite databases using Python migration files.
  • Automate data ingestion pipelines that transform and load data into SQLite from various sources.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

Active maintenance, low install friction, no known vulnerabilities, permissive license, and broad Python version support. Useful both as a CLI utility for data exploration and as a library for programmatic database work.

Install

sqlite-utils on PyPI

Before you install

Low install friction: pure Python wheel with 7 runtime dependencies. Active maintenance with a release 1 day ago and 2150 repository stars.

Requires Python 3.10 or later.

License in practice

Apache-2.0 permissive license allows commercial and private use with minimal restrictions.

Quickstart

pip install sqlite-utils

import sqlite_utils
db = sqlite_utils.Database("demo.db")
db["dogs"].insert_all([
    {"id": 1, "age": 4, "name": "Cleo"},
    {"id": 2, "age": 2, "name": "Pancakes"}
], pk="id")

Verify before relying

  • Whether the full-text search feature requires sqlite-fts4 to be compiled or if it works on all platforms without additional system dependencies.
  • Performance characteristics when working with large datasets or complex transformations.

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
7 packages
clickclick-default-grouppluggypython-dateutilsqlite-fts4tabulatepip
MaintenanceActively maintained 1 days since the last release
Last repo commit
First released
Downloads1,410,769 / month, #3,939 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersIntended Audience :: End Users/DesktopIntended Audience :: Science/ResearchProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Database

Evidence: sqlite_utils-4.2.1-py3-none-any.whl

Tags

Capabilities
sqlite database from csv jsonquery csv json with sqlsqlite cli tooldatabase schema migrationfull-text search sqlitesqlite table transformationin-memory sql queries
Topics
cli-tooldata-pipelineschema-migration

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “sqlite database from csv json”

  • sqlite-utilsCLI tool and Python library for creating, querying, and transforming…
  • datasetteDatasette is a web server and CLI tool that transforms SQLite…
  • DataRecorderDataRecorder provides buffered writing tools for saving data to files…

Give your agent the search over MCP, or paste the wish link into any chat.

More Database packages

psycopg2-binary Worth it
PyPI · Software Development · released Apr 2026

psycopg2-binary is a PostgreSQL database adapter for Python that implements the DB API 2.0 specification, enabling Python applications to connect to and query PostgreSQL databases with thread-safe concurrent operations.

copyleftcompiled wheel · 3.9+
271.6Mdownloads / mo
redis Worth it
PyPI · Database · released Jul 2026

Python client library for connecting to and executing commands against Redis key-value stores, supporting both synchronous and asynchronous operations.

Install it if your application needs to interact with Redis; the only prerequisite is a running Redis server instance.

MITpure Python · 3.10+
268.3Mdownloads / mo
ydb Worth it
PyPI · Database · released Jul 2026

YDB Python SDK is the official client library for connecting to and querying YDB databases from Python applications.

Install it if you need to connect Python applications to YDB databases.

permissive licensepure Python · 3.10+
210.0Mdownloads / mo
snowflake-connector-python Worth it
PyPI · Software Development · released Aug 2026

Connects Python applications to Snowflake data warehouses using the DB API 2.0 specification, enabling SQL queries, data transfers, and warehouse operations.

Apache-2.0compiled wheel · 3.10+
193.6Mdownloads / mo
sqlparse Worth it
PyPI · Software Development · released Aug 2026

sqlparse tokenizes SQL text into a tree of statements, clauses, and expressions, and provides functions to split scripts, format queries, and inspect parsed tokens without validating dialect or syntax.

Install it if you need to manipulate, format, or analyze SQL text programmatically.

BSD-3-Clausepure Python · 3.10+
148.9Mdownloads / mo
dbt-adapters With conditions
PyPI · Database · released Jul 2026

Provides base adapter protocols and shared functionality that database adapters use to integrate with dbt-core, handling connections, dialect translation, relation caching, and core interface management.

Apache-2.0pure Python · 3.10.0+
121.3Mdownloads / mo

See also datasette · sqlite-migrate · apswutils · fastlite · syntaqlite · apsw · sqlite-fts4 · dirsql · litecli · csvkit