Comparison
pgdb vs psycopg2 vs PyGreSQL
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Comparison
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
psycopg2 - Python-PostgreSQL Database Adapter
Maintained. Last release 3 months ago, commits in 2 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install psycopg2Python PostgreSQL interfaces
Maintained. Last release 4 days ago, commits in 2 of the last 26 weeks. Weaker on commit activity and contributor spread.
pip install pygresql| Metric | pgdb | psycopg2 | PyGreSQL |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 19 | Pythie’s Index: 52 | Pythie’s Index: 55 |
| Verdict | Likely abandoned | Maintained | Maintained |
| Downloads / month | 72.2K | 60.4M | 345.2K |
| Downloads, month over month | -20% | -5% | +1% |
| GitHub stars | 17 | 3.7K | 48 |
| Stars, last 7 days | – | – | – |
| Direct dependents | 2 | 1.8K | 3 |
| Last release | Jul 29, 2021 | Sep 9, 2026 | Nov 26, 2026 |
| Releases, 12 months | 0 | 2 | 5 |
| Weeks with commits | 0 / 26 | 2 / 26 | 2 / 26 |
| Recent contributors | 5 | 6 | 1 |
| First release | Oct 2016 | Sep 2010 | Jun 2006 |
| Python versions | 3.5 | 3.10 – 3.15 | 3.8 – 3.14 |
| License | Apache-2.0 | non-standard | PostgreSQL |
| Known vulnerabilities | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.