Comparison
pg0-embedded vs pgserver vs py-pglite vs pytest-databases
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 5 days ago, commits in 5 of the last 26 weeks. Weaker on commit activity and contributor spread.
pip install pg0-embeddedSelf-contained postgres server for your python applications
Slowing down. Last release over 2 years ago, little activity since. Fine for existing code; think twice for a new project.
pip install pgserverPython 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-pgliteReusable database fixtures for any and all databases.
Maintained. Last release 3 weeks ago, commits in 3 of the last 26 weeks. Weaker on commit activity.
pip install pytest-databasesIn short
- pgserver is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- pg0-embedded is the most used: 233.4K downloads a month.
- Maintenance is comparable: pg0-embedded 69, pytest-databases 68, py-pglite 24 on Pythie’s Index.
- pg0-embedded is the newcomer: first released Dec 2025.
- Safe default for a new project: pg0-embedded.
Side by side
| Metric | pg0-embedded | pgserver | py-pglite | pytest-databases |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 69 | Pythie’s Index: 19 | Pythie’s Index: 24 | Pythie’s Index: 68 |
| Verdict | Maintained | Slowing down | Low maintenance activity | Maintained |
| Downloads / month | 233.4K | 3.2M | 156.7K | 50.6K |
| Downloads, month over month | +3% | +46% | +9% | -26% |
| GitHub stars | 185 | 105 | 638 | 62 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 4 | 10 | 1 | 0 |
| Last release | Nov 26, 2026 | Jun 8, 2024 | Sep 17, 2025 | Nov 12, 2026 |
| Releases, 12 months | 21 | 0 | 0 | 7 |
| Weeks with commits | 5 / 26 | 0 / 26 | 0 / 26 | 3 / 26 |
| Recent contributors | 4 | 2 | 8 | 9 |
| First release | Dec 2025 | Dec 2023 | Jun 2025 | Apr 2024 |
| Python versions | 3.8 – 3.12 | – | 3.10 – 3.14 | 3.9 – 3.13 |
| License | MIT | Apache-2.0 | 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.