asyncpg
0.22.0.dev0
  • Installation
  • asyncpg Usage
  • API Reference
  • Frequently Asked Questions
asyncpg
  • Docs »
  • asyncpg

https://travis-ci.org/MagicStack/asyncpg.svg?branch=master https://img.shields.io/pypi/status/asyncpg.svg?maxAge=2592000?style=plastic

asyncpg¶

asyncpg is a database interface library designed specifically for PostgreSQL and Python/asyncio. asyncpg is an efficient, clean implementation of PostgreSQL server binary protocol for use with Python’s asyncio framework.

asyncpg requires Python 3.5 or later and is supported for PostgreSQL versions 9.2 to 12.

Contents¶

  • Installation
    • Building from source
    • Running tests
  • asyncpg Usage
    • Type Conversion
    • Custom Type Conversions
    • Transactions
    • Connection Pools
  • API Reference
    • Connection
    • Prepared Statements
    • Transactions
    • Cursors
    • Connection Pools
    • Record Objects
    • Data Types
  • Frequently Asked Questions
    • Does asyncpg support DB-API?
    • Can I use asyncpg with SQLAlchemy ORM?
    • Can I use dot-notation with asyncpg.Record? It looks cleaner.
    • Why can’t I use a cursor outside of a transaction?
    • Why am I getting prepared statement errors?
    • Why do I get PostgresSyntaxError when using expression IN $1?
Next

© Copyright 2016-present, the asyncpg authors and contributors.