Plugin directory¶
The following plugins are available for sqlite-utils. Install them using
the sqlite-utils install command.
SQL functions¶
sqlite-utils-dateutil adds date utility SQL functions, such as
select dateutil_parse('3rd november').sqlite-utils-jq adds a
jq(document, expression)SQL function for running jq programs against JSON documents directly in SQLite.sqlite-utils-ml by Romain Clement adds functions for training machine learning models and running predictions directly in SQLite.
Alex Garcia maintains plugins for his family of SQLite extensions:
sqlite-utils-sqlite-regexsqlite-utils-sqlite-pathsqlite-utils-sqlite-urlsqlite-utils-sqlite-ulidsqlite-utils-sqlite-linessqlite-utils-sqlite-jsonschemasqlite-utils-sqlite-tg, which provides geospatial functions powered by TG
Interactive shells¶
sqlite-utils-litecli adds an interactive SQLite shell with syntax highlighting and auto-completion, started using
sqlite-utils litecli data.db.sqlite-utils-shell adds a basic interactive SQLite shell. Start an in-memory shell using
sqlite-utils shell, or open a database usingsqlite-utils shell data.db.
Database utilities¶
sqlite-utils-fast-fks brings back the fast
db.add_foreign_keys()method that directly manipulates thesqlite_mastertable. It also adds asqlite-utils fast-fkscommand.sqlite-utils-move-tables adds
sqlite-utils move-tablesfor moving tables between databases.
Migration support is built into sqlite-utils itself. See
Database migrations for the Python API and CLI usage.