Comparison
embedded-postgres vs pg0-embedded vs py-pglite vs pytest-databases
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
PostgreSQL server binaries as a pip-installable wheel, with a small Python layer to init, start and stop it
Maintained. Last release 3 months ago, commits in 1 of the last 26 weeks. Weaker on commit activity and contributor spread.
pip install embedded-postgresPython API for pg0 - embedded PostgreSQL
Actively maintained. Last release 6 days ago, commits in 6 of the last 26 weeks. A safe choice.
pip install pg0-embeddedPython testing library for PGlite - in-memory PostgreSQL for tests
Low maintenance activity. Last release 15 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
- pg0-embedded is the most used: 252.2K downloads a month, 1.6× more than py-pglite.
- Maintenance is comparable: pg0-embedded 71, pytest-databases 68, embedded-postgres 51, py-pglite 24 on Pythie’s Index.
- embedded-postgres is growing fastest: downloads +139% over the last month.
- embedded-postgres is the newcomer: first released Sep 2026.
- Safe default for a new project: pg0-embedded.
Side by side
| Metric | embedded-postgres | pg0-embedded | py-pglite | pytest-databases |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 51 | Pythie’s Index: 71 | Pythie’s Index: 24 | Pythie’s Index: 68 |
| Verdict | Maintained | Actively maintained | Low maintenance activity | Maintained |
| Downloads / month | 113.1K | 252.2K | 159.2K | 50.1K |
| Downloads, month over month | +139% | +16% | +15% | -24% |
| GitHub stars | 0 | 185 | 638 | 63 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 1 | 4 | 1 | 0 |
| Last release | Sep 7, 2026 | Nov 26, 2026 | Sep 17, 2025 | Nov 12, 2026 |
| Releases, 12 months | 4 | 21 | 0 | 7 |
| Weeks with commits | 1 / 26 | 6 / 26 | 0 / 26 | 3 / 26 |
| Recent contributors | 1 | 4 | 8 | 9 |
| First release | Sep 2026 | Dec 2025 | Jun 2025 | Apr 2024 |
| Python versions | – | 3.8 – 3.12 | 3.10 – 3.14 | 3.9 – 3.13 |
| License | Apache-2.0 | MIT | 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.