Contents

asyncpg 0.31.0

0

An asyncio PostgreSQL driver

An asyncio PostgreSQL driver

Stars: 7947, Watchers: 7947, Forks: 437, Open Issues: 262

The MagicStack/asyncpg repo was created 9 years ago and the last code push was 2 months ago.
The project is extremely popular with a mindblowing 7947 github stars!

How to Install asyncpg

You can install asyncpg using pip

pip install asyncpg

or add it to a project with poetry

poetry add asyncpg

Package Details

Author
None
License
None
Homepage
None
PyPi:
https://pypi.org/project/asyncpg/
GitHub Repo:
https://github.com/MagicStack/asyncpg

Classifiers

  • Database/Front-Ends
No  asyncpg  pypi packages just yet.

Errors

A list of common asyncpg errors.

Code Examples

Here are some asyncpg code examples and snippets.

GitHub Issues

The asyncpg package has 262 open issues on GitHub

  • Test failure in test_pool_handles_transaction_exit_in_asyncgen_2 with Python 3.15.0a5, PYTHONASYNCIODEBUG=1
  • Query Wait Timout Error from Pgbouncer Not Propogating to Client
  • Please add named parameters
  • Missing libm linkage causes undefined symbol errors
  • Avoids wrapping client_encoding with additional single-quotes
  • SELECT within COPY statement does not have parameters substituted.
  • copy_records_to_table depends on prepared statments even with cache=0
  • Segmentation fault on 0.31.0 when inside a Temporal activity
  • Pool: prevent trimming the last idle connection under load
  • Add typing to Pool.acquire
  • Does asyncpg support using pg_service.conf for connection parameters?
  • Unable to connect to RDS Proxy
  • connection was closed in the middle of operation

See more issues on GitHub

Related Packages & Articles

uvloop 0.22.1

Fast implementation of asyncio event loop on top of libuv

aredis 1.1.8

Python async client for Redis key-value store