anysqlite
Decision gist · record as of 2026-08-14
Yes, if you need async SQLite access in a trio or asyncio project and can tolerate a package in beta with no recent releases. The low install friction, single lightweight dependency, and lack of known vulnerabilities make it safe to try. However, verify the license status before using in production or redistribution.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.8 or later; must be called within an async context (asyncio or trio event loop)
- Installation is straightforward with no compiled dependencies.
- The package is in beta status and has not been updated since its initial release in October 2023, though the repository remains active.
License · maintenance · safety
(unclear) — No license information is declared in the package metadata, making the legal status unclear for redistribution or commercial use.
last release 2023-10-02 (1047 days) · last repo commit 2025-06-16 · 6 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 2,355,634 downloads/mo, #3,110 on PyPI
Alternatives
Verify before relying
pip install anysqlite
import anysqlite
conn = await anysqlite.connect(":memory:")
cursor = await conn.execute("SELECT DATETIME()")
response = await cursor.fetchone()- Whether the package is actively maintained or in maintenance-only mode given the gap between latest release and recent repo activity
- What license applies to the code, given the absence of declared licensing in metadata
What it is and what it does
Anysqlite provides an async/await wrapper around Python's standard sqlite3 library, allowing you to execute SQLite queries without blocking your async event loop. It abstracts over both asyncio and trio backends using anyio, so you can use the same code regardless of which async framework you've chosen.
The package is designed for developers building async applications that need local SQLite database access. It exposes familiar sqlite3 methods like connect(), execute(), and fetchone() but as coroutines, so they integrate naturally into async/await code. With only anyio as a runtime dependency and support for Python 3.8 through 3.12, it has minimal friction to install.
Use it for
- Building async web applications that need local SQLite storage without blocking the event loop
- Writing async CLI tools or daemons that query a local SQLite database
- Testing async code that requires database fixtures, using in-memory SQLite databases
- Migrating asyncio code to trio (or vice versa) while keeping the same database layer
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need async SQLite access in a trio or asyncio project and can tolerate a package in beta with no recent releases.
The low install friction, single lightweight dependency, and lack of known vulnerabilities make it safe to try. However, verify the license status before using in production or redistribution.
Install
anysqlite on PyPI
Before you install
Installation is straightforward with no compiled dependencies. The package is in beta status and has not been updated since its initial release in October 2023, though the repository remains active.
Requires Python 3.8 or later; must be called within an async context (asyncio or trio event loop)
License in practice
No license information is declared in the package metadata, making the legal status unclear for redistribution or commercial use.
Quickstart
pip install anysqlite
import anysqlite
conn = await anysqlite.connect(":memory:")
cursor = await conn.execute("SELECT DATETIME()")
response = await cursor.fetchone()
Verify before relying
- Whether the package is actively maintained or in maintenance-only mode given the gap between latest release and recent repo activity
- What license applies to the code, given the absence of declared licensing in metadata
Package facts
| License | Not declared unclear |
| Python support | Supports the current Python release >=3.8 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packageanyio |
| Maintenance | Aging 1,047 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 2,355,634 / month, #3,110 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaProgramming Language :: PythonProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPy |
Evidence: anysqlite-0.0.5-py3-none-any.whl
Tags
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 › “async sqlite wrapper”
- anysqliteAnysqlite wraps SQLite with an async/await interface that works with…
- sqlite-anyioProvides an asynchronous client for SQLite that works with any async…
- aiosqliteaiosqlite provides an async interface to SQLite databases that…
Give your agent the search over MCP, or paste the wish link into any chat.
More Database packages
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.
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.
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.
Connects Python applications to Snowflake data warehouses using the DB API 2.0 specification, enabling SQL queries, data transfers, and warehouse operations.
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.
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.
See also aiosqlite · sqlite-anyio · flake8-async · asyncer · apsw · aiomysql · pysqlite3 · pysqlite3-binary · anyio · aioodbc