Comparison
asyncpg vs pg8000 vs pgdb vs postgres
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
An 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 pg8000PostgreSQL wrapper
Likely abandoned. No release or commit for years (last release over 5 years ago).
$
pip install pgdbpostgres is a high-value abstraction over psycopg2.
Likely abandoned. No release or commit for years (last release over 5 years ago).
$
pip install postgresIn short
- pgdb looks abandoned: avoid it for new projects.
- postgres looks abandoned: avoid it for new projects.
- 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.
- pg8000 is growing fastest: downloads +18% over the last month.
Side by side
| Metric | asyncpg | pg8000 | pgdb | postgres |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 55 | Pythie’s Index: 74 | Pythie’s Index: 19 | Pythie’s Index: 12 |
| Verdict | Maintained | Actively maintained | Likely abandoned | Likely abandoned |
| Downloads / month | 149.9M | 56.1M | 72.2K | 756.5K |
| Downloads, month over month | +14% | +18% | -16% | +81% |
| GitHub stars | 8.1K | – | 17 | 62 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 1.5K | 105 | 2 | 10 |
| Last release | Oct 6, 2026 | Nov 29, 2026 | Jul 29, 2021 | Sep 20, 2021 |
| Releases, 12 months | 1 | 2 | 0 | 0 |
| Weeks with commits | 4 / 26 | – | 0 / 26 | 0 / 26 |
| Recent contributors | 42 | – | 5 | 4 |
| First release | Jul 2016 | Sep 2008 | Oct 2016 | Aug 2013 |
| Python versions | 3.9 – 3.14 | 3.9 – 3.13 | 3.5 | 3.6 – 3.9 |
| License | Apache-2.0 | BSD-3-Clause | Apache-2.0 | MIT |
| Known vulnerabilities | None | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.