Comparison
pg0-embedded vs py-pglite vs pytest-mock-resources
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Python API for pg0 - embedded PostgreSQL
Actively maintained. Last release 5 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 14 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and recent releases.
$
pip install py-pgliteA pytest plugin for easily instantiating reproducible mock resources.
Maintained. Last release 2 months ago, commits in 2 of the last 26 weeks. Weaker on commit activity and security practices.
$
pip install pytest-mock-resourcesIn short
- pytest-mock-resources is the most used: 368.3K downloads a month, 1.5× more than pg0-embedded.
- pg0-embedded is better maintained: Pythie’s Index 71 against 58.
- py-pglite is growing fastest: downloads +11% over the last month.
- pg0-embedded is the newcomer: first released Dec 2025.
Side by side
| Metric | pg0-embedded | py-pglite | pytest-mock-resources |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 71 | Pythie’s Index: 24 | Pythie’s Index: 58 |
| Verdict | Actively maintained | Low maintenance activity | Maintained |
| Downloads / month | 244.1K | 156.3K | 368.3K |
| Downloads, month over month | +10% | +11% | -3% |
| GitHub stars | 185 | 638 | 205 |
| Stars, last 7 days | – | – | – |
| Direct dependents | 4 | 1 | 0 |
| Last release | Nov 26, 2026 | Sep 17, 2025 | Oct 1, 2026 |
| Releases, 12 months | 21 | 0 | 3 |
| Weeks with commits | 6 / 26 | 0 / 26 | 2 / 26 |
| Recent contributors | 4 | 8 | 15 |
| First release | Dec 2025 | Jun 2025 | Jan 2020 |
| Python versions | 3.8 – 3.12 | 3.10 – 3.14 | – |
| License | MIT | Apache-2.0 | MIT |
| Known vulnerabilities | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.