Comparison
pg8000 vs psycopg
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
PostgreSQL interface library
Actively maintained. Last release 5 weeks ago. A safe choice.
$
pip install pg8000PostgreSQL database adapter for Python
Actively maintained. Last release 3 weeks ago, commits in 19 of the last 26 weeks. A safe choice.
$
pip install psycopgIn short
- psycopg is the most used: 230.9M downloads a month, 4.1× more than pg8000.
- psycopg also has the best Pythie’s Index (84).
- psycopg is growing fastest: downloads +28% over the last month.
- Safe default for a new project: psycopg.
Side by side
| Metric | pg8000 | psycopg |
|---|---|---|
| Pythie’s Index | Pythie’s Index: 72 | Pythie’s Index: 84 |
| Verdict | Actively maintained | Actively maintained |
| Downloads / month | 56.7M | 230.9M |
| Downloads, month over month | +22% | +28% |
| GitHub stars | – | 2.5K |
| Stars, last 7 days | – | – |
| Direct dependents | 105 | 1.9K |
| Last release | Oct 26, 2026 | Nov 12, 2026 |
| Releases, 12 months | 1 | 10 |
| Weeks with commits | – | 19 / 26 |
| Recent contributors | – | 11 |
| First release | Sep 2008 | Aug 2021 |
| Python versions | 3.9 – 3.13 | 3.10 – 3.15 |
| License | BSD-3-Clause | LGPL-3.0-only |
| Known vulnerabilities | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.