asyncpg stubs
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
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).
0.31.3
Jul 10, 2026
0.31.2
Feb 19, 2026
0.31.1
Dec 10, 2025
0.31.0
Dec 01, 2025
0.30.2
Jun 27, 2025
0.30.1
Mar 14, 2025
0.30.0
Nov 04, 2024
0.29.1
Nov 07, 2023
0.29.0
Nov 05, 2023
0.28.0
Jul 09, 2023
0.27.1
Jul 09, 2023
0.27.0
Oct 26, 2022
0.26.6
Oct 25, 2022
0.26.5
Oct 24, 2022
0.26.4
Oct 07, 2022
0.26.3
Sep 22, 2022
0.26.2
Jul 29, 2022
0.26.1
Jul 26, 2022
0.26.0
Jul 25, 2022
0.25.4
May 31, 2022
0.25.3
May 25, 2022
0.25.2
May 10, 2022
0.25.1
Apr 29, 2022
0.25.1a0
Apr 29, 2022