# omnilib/aiosqlite

asyncio bridge to the standard sqlite3 module

Repository: https://github.com/omnilib/aiosqlite
Canonical: https://ross.abutalabs.com/products/aiosqlite
Homepage: https://aiosqlite.omnilib.dev
Language: Python
License: MIT
License Family: permissive
Topics: python, asyncio, sqlite, sqlite3, hacktoberfest
Last push: 2026-03-01T15:02:39+00:00

## Health v2 (maintenance only)
Score: 64/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 70, release rhythm 35, longevity 100
- inputs: {"age_days": 3387, "days_push": 185, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1568, forks 107 (observed 2026-08-28T04:05:05.028938+00:00)

## What it is
aiosqlite is a Python library providing an asyncio-friendly interface to SQLite databases, replicating the standard sqlite3 module with async versions of connection and cursor methods. It runs database operations on a dedicated thread per connection so queries don't block the event loop.

## Use cases
- use sqlite in an asyncio application without blocking the event loop
- run async SQL queries from FastAPI or aiohttp handlers
- async iterate over sqlite query results
- manage sqlite connections with async context managers
- migrate sync sqlite3 code to async python

## When to choose
- you need SQLite access inside an asyncio event loop
- you want a drop-in async mirror of the sqlite3 API
- you need lightweight embedded storage in async Python code

## When to avoid
- you need a network database server like PostgreSQL or MySQL
- your application is synchronous and doesn't use asyncio
- you need high-concurrency writes, since SQLite is single-writer

## Facets
- artifact type: library
- maturity: stable
- function: database-driver, database, concurrency
- domain: databases, developer-tools, backend
- platform: python, cross-platform
- tags: asyncio, sqlite, async-database, non-blocking-io

## Member repositories
- omnilib/aiosqlite (main) score 64

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:05.028938+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:58:58.018360+00:00, confidence not recorded.
  - readme: https://github.com/omnilib/aiosqlite (fetched 2026-08-28T04:05:05.028938+00:00, sha 37b67a4bac82)
  - registry_pypi: https://pypi.org/pypi/aiosqlite/json (fetched 2026-08-29T11:29:13.911620+00:00, sha da3f7f297da8)
- Data as of 2026-08-30T08:39:29.467469+00:00.
