asyncpg-stubs 0.31.3


pip install asyncpg-stubs

  Latest version

Released: Jul 10, 2026

Project Links

Meta
Author: Bryan Forbes
Requires Python: >=3.9,<4.0

Classifiers

Development Status
  • 4 - Beta

Intended Audience
  • Developers

Programming Language
  • Python :: 3
  • Python :: 3.9
  • Python :: 3.10
  • Python :: 3.11
  • Python :: 3.12
  • Python :: 3.13
  • Python :: 3.14

Typing
  • Typed

asyncpg-stubs

License Poetry Checked with mypy Checked with pyright Ruff

This package contains type stubs to provide more precise static types and type inference for asyncpg.

Installation

pip install asyncpg-stubs

Development

Make sure you have poetry installed.

poetry install
poetry run pre-commit install --hook-type pre-commit

Version numbering scheme

The major and minor version numbers of asyncpg-stubs will match the major and minor version numbers of the asyncpg release the stubs represent. For instance, if you are using asyncpg version 0.25.0, you would use asyncpg-stubs version 0.25.X where X is the latest patch version of the stubs. Using semver dependencty specifications, asyncpg-stubs version ~0.25 is designed to work with asyncpg version ~0.25.

In addition, asyncpg-stubs will indicate which versions of the runtime library are compatible through its dependency information (as suggested in PEP-561).

Wheel compatibility matrix

Platform Python 3
any

Files in release

Extras: None
Dependencies:
asyncpg (<0.32,>=0.31)
typing-extensions (<5.0.0,>=4.13.0)