--- id: aiosqlite version: "0.22.1" license: unclear license_treatment: permissive maintenance: active --- # aiosqlite — asyncio bridge to the standard sqlite3 module License: permissive · Maintenance: active · Popularity: top 1,000 on PyPI ## Install pip install aiosqlite uv add aiosqlite poetry add aiosqlite ## Description aiosqlite\: Sqlite for AsyncIO ============================== .. image:: https://readthedocs.org/projects/aiosqlite/badge/?version=latest :target: https://aiosqlite.omnilib.dev/en/latest/?badge=latest :alt: Documentation Status .. image:: https://img.shields.io/pypi/v/aiosqlite.svg :target: https://pypi.org/project/aiosqlite :alt: PyPI Release .. image:: https://img.shields.io/badge/change-log-blue :target: https://github.com/omnilib/aiosqlite/blob/master/CHANGELOG.md :alt: Changelog .. image:: https://img.shields.io/pypi/l/aiosqlite.svg :target: https://github.com/omnilib/aiosqlite/blob/master/LICENSE :alt: MIT Licensed aiosqlite provides a friendly, async interface to sqlite databases. It replicates the standard ``sqlite3`` module, but with async versions of all the standard connection and cursor methods, plus context managers for automatically closing connections and cursors: .. code-block:: python async with aiosqlite.connect(...) as db: await db.execute("INSERT INTO some_table ...") await db.commit() async with db.execute("SELECT * FROM some_table") as cursor: async for row in cursor:... ## AI interpretation — verify before relying aiosqlite provides an async interface to SQLite databases that mirrors the standard sqlite3 module, allowing non-blocking database queries and operations within AsyncIO event loops. Verdict: aiosqlite is a production-stable, well-maintained async SQLite wrapper with zero dependencies, no known vulnerabilities, and permissive licensing. It is suitable for projects needing non-blocking database access in AsyncIO applications. [View on SkillFed](https://skillfed.io/packages/aiosqlite) · [View on PyPI](https://pypi.org/project/aiosqlite/)