Company
Date Published
Author
Elvis Pranskevichus, Yury Selivanov
Word count
870
Language
English
Hacker News points
None

Summary

asyncpg is a high-performance open-source Python client library for PostgreSQL, specifically designed for asyncio and Python 3.5+ async/await. It outperforms other common Python, NodeJS, and Go implementations. The main reasons behind its superior performance are direct implementation of the PostgreSQL protocol, binary I/O protocol support, prepared statement usage, and efficient data decoding pipeline implemented in Cython. asyncpg is also easy to deploy as it has zero dependencies and provides binary wheels for Linux, macOS, and Windows.