Contents

asyncpg 0.29.0

0

An asyncio PostgreSQL driver

An asyncio PostgreSQL driver

Stars: 6924, Watchers: 6924, Forks: 401, Open Issues: 236

The MagicStack/asyncpg repo was created 8 years ago and the last code push was 1 months ago.
The project is extremely popular with a mindblowing 6924 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
License
Apache License, Version 2.0
Homepage
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 236 open issues on GitHub

  • Update example of pool usage with aiohttp
  • Test failure on s390x with GCC 12
  • notice callback not awaited
  • Asyncio task fails to cancel with asyncpg, gets stuck in a permanent loop
  • Reinstate aarch64 builds
  • Add typings
  • Fetching from pgpool-II hangs indefinitely
  • TimeoutError when connecting to server
  • Cannot use custom codec for non-scalar type
  • connection was closed in the middle of operation
  • AttributeError: 'NoneType' object has no attribute 'cancelled'

See more issues on GitHub

Related Packages & Articles

uvloop 0.20.0

Fast implementation of asyncio event loop on top of libuv

aredis 1.1.8

Python async client for Redis key-value store