Comparison
asyncpg vs pg8000 vs pgdb vs PyGreSQL
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 pgdbPython PostgreSQL interfaces
Maintained. Last release 5 days ago, commits in 2 of the last 26 weeks. Weaker on commit activity and contributor spread.
$
pip install pygresqlIn short
- pgdb 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 | PyGreSQL |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 55 | Pythie’s Index: 74 | Pythie’s Index: 19 | Pythie’s Index: 55 |
| Verdict | Maintained | Actively maintained | Likely abandoned | Maintained |
| Downloads / month | 149.9M | 56.1M | 72.2K | 340.6K |
| Downloads, month over month | +14% | +18% | -16% | 0% |
| GitHub stars | 8.1K | – | 17 | 48 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 1.5K | 105 | 2 | 3 |
| Last release | Oct 6, 2026 | Nov 29, 2026 | Jul 29, 2021 | Nov 26, 2026 |
| Releases, 12 months | 1 | 2 | 0 | 5 |
| Weeks with commits | 4 / 26 | – | 0 / 26 | 2 / 26 |
| Recent contributors | 42 | – | 5 | 1 |
| First release | Jul 2016 | Sep 2008 | Oct 2016 | Jun 2006 |
| Python versions | 3.9 – 3.14 | 3.9 – 3.13 | 3.5 | 3.8 – 3.14 |
| License | Apache-2.0 | BSD-3-Clause | Apache-2.0 | PostgreSQL |
| 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.