Requery SQLite is the SQLite dialect and backend for Requery, a typed SQL query builder for Python. Version 0.21.0 provides a synchronous SQLite interface with connection management, query execution, and type-safe row mapping. It integrates tightly with Requery's expression system, enabling composable queries compiled to SQLite-specific SQL. Released regularly alongside Requery core, it differentiates by offering compile-time type checking without an ORM overhead, targeting developers who want SQLite access with Python type safety.
npm install requery-sqliteNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to create an in-memory database, define a table, insert data, and run a typed SELECT query with Requery SQLite.
Upgrade Python to 3.8+.
Use a connection pool or ensure single-threaded access.
Use requery-sqlite only in synchronous contexts.
Replace 'from requery.sqlite import ...' with 'from requery_sqlite import ...'.
Install the package: pip install requery-sqlite
Use connect() to create a database instance.
Use db.execute() for DDL without expecting a row result; for queries, ensure SELECT statements are used.