Asynchronous database connection library for multiple backends (PostgreSQL, MySQL, SQLite, MongoDB, Redis, etc.). Current version: 2.15.8. Requires Python >=3.10. Release cadence: irregular, several releases per year.
pip install asyncdbNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Basic PostgreSQL connection and query.
Use lowercase driver names: 'pg', 'mysql', 'sqlite', etc.
Import AsyncPool from 'asyncdb'.
Use async with await db.connection() as conn: then conn.fetch() etc.
Install the appropriate extra for each backend.
pip install asyncdb[pg]
Upgrade to version >=2.0.0 and use 'from asyncdb import AsyncDB'.
Use 'await db.connection()' to get the connection.
No dependency data recorded yet.