LiteCrate
Language selection · Русский
LiteCrate is a small Python library for working with SQLite. It lets you create tables, insert and update records using keyword arguments, and search using SQL conditions.
If records have different sets of fields, additional values can be stored as JSON without changing the table schema.
The library uses only the Python standard library and requires Python 3.13 or newer.
Getting started
Quick start - installation, creating your first table, and basic record operations.
Documentation
- Tables and data types - column definitions, flags, types, and table management.
- Indexes - automatic index creation and index management.
- Working with records - inserting, reading, updating, and deleting records.
- Flexible fields and JSON - additional fields, storage, and searching.
- Connections and transactions - connecting to a database, committing changes, and rolling back.
- Settings and maintenance - journaling,
auto_vacuum, VACUUM, and related operations.
Links
Source code on GitHub · Package on PyPI