Comparison
pg0-embedded vs py-pglite vs pytest-postgresql
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Python API for pg0 - embedded PostgreSQL
Maintained. Last release 4 days ago, commits in 5 of the last 26 weeks. Weaker on commit activity and contributor spread.
$
pip install pg0-embeddedPython testing library for PGlite - in-memory PostgreSQL for tests
Low maintenance activity. Last release 14 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and recent releases.
$
pip install py-pglitePostgresql fixtures and fixture factories for Pytest.
Actively maintained. Last release 4 weeks ago, commits in 26 of the last 26 weeks. A safe choice.
$
pip install pytest-postgresqlIn short
- pytest-postgresql is the most used: 5.2M downloads a month, 22× more than pg0-embedded.
- pytest-postgresql also has the best Pythie’s Index (89).
- pytest-postgresql is growing fastest: downloads +17% over the last month.
- pg0-embedded is the newcomer: first released Dec 2025.
- Safe default for a new project: pytest-postgresql.
Side by side
| Metric | pg0-embedded | py-pglite | pytest-postgresql |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 69 | Pythie’s Index: 24 | Pythie’s Index: 89 |
| Verdict | Maintained | Low maintenance activity | Actively maintained |
| Downloads / month | 233.4K | 156.7K | 5.2M |
| Downloads, month over month | +3% | +9% | +17% |
| GitHub stars | 185 | 638 | 533 |
| Stars, last 7 days | – | – | – |
| Direct dependents | 4 | 1 | 2 |
| Last release | Nov 26, 2026 | Sep 17, 2025 | Nov 4, 2026 |
| Releases, 12 months | 21 | 0 | 6 |
| Weeks with commits | 5 / 26 | 0 / 26 | 26 / 26 |
| Recent contributors | 4 | 8 | 5 |
| First release | Dec 2025 | Jun 2025 | Oct 2016 |
| Python versions | 3.8 – 3.12 | 3.10 – 3.14 | 3.11 – 3.15 |
| License | MIT | Apache-2.0 | LGPL-3.0-or-later |
| Known vulnerabilities | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.