asyncpg
asyncpg is a database interface library designed specifically forPostgreSQL and Python/asyncio. asyncpg is an efficient, clean implementationof PostgreSQL server binary protocol for use with Python’sasyncioframework.
asyncpg requires Python 3.9 or later and is supported for PostgreSQLversions 9.5 to 18. Other PostgreSQL versions or other databases implementingthe PostgreSQL protocolmay work, but are not being actively tested.