Comparison
aiopg vs asyncpg vs pg8000
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Postgres integration with asyncio.
Low maintenance activity. Last release over 3 years ago, commits in 1 of the last 26 weeks. Weaker on commit activity and recent releases.
$
pip install aiopgAn asyncio PostgreSQL driver
Maintained. Last release 8 weeks ago, commits in 4 of the last 26 weeks. Weaker on commit activity and release cadence.
$
pip install asyncpgPostgreSQL interface library
Actively maintained. Last release 2 days ago. A safe choice.
$
pip install pg8000In short
- asyncpg is the most used: 149.9M downloads a month, 2.7× more than pg8000.
- pg8000 is better maintained: Pythie’s Index 74 against 55.
- aiopg is growing fastest: downloads +45% over the last month.
Side by side
| Metric | aiopg | asyncpg | pg8000 |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 19 | Pythie’s Index: 55 | Pythie’s Index: 74 |
| Verdict | Low maintenance activity | Maintained | Actively maintained |
| Downloads / month | 726.3K | 149.9M | 56.1M |
| Downloads, month over month | +45% | +14% | +18% |
| GitHub stars | 1.4K | 8.1K | – |
| Stars, last 7 days | – | – | – |
| Direct dependents | 1 | 1.5K | 105 |
| Last release | Aug 29, 2023 | Oct 6, 2026 | Nov 29, 2026 |
| Releases, 12 months | 0 | 1 | 2 |
| Weeks with commits | 1 / 26 | 4 / 26 | – |
| Recent contributors | 13 | 42 | – |
| First release | Apr 2014 | Jul 2016 | Sep 2008 |
| Python versions | 3.7 – 3.11 | 3.9 – 3.14 | 3.9 – 3.13 |
| License | BSD-2-Clause | Apache-2.0 | BSD-3-Clause |
| Known vulnerabilities | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.