Comparison
pytest-mock-resources vs pytest-postgresql
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
A 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-resourcesPostgresql 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, 13× more than pytest-mock-resources.
- pytest-postgresql also has the best Pythie’s Index (89).
- pytest-postgresql is growing fastest: downloads +17% over the last month.
- Safe default for a new project: pytest-postgresql.
Side by side
| Metric | pytest-mock-resources | pytest-postgresql |
|---|---|---|
| Pythie’s Index | Pythie’s Index: 58 | Pythie’s Index: 89 |
| Verdict | Maintained | Actively maintained |
| Downloads / month | 385.5K | 5.2M |
| Downloads, month over month | +0% | +17% |
| GitHub stars | 205 | 533 |
| Stars, last 7 days | – | – |
| Direct dependents | 0 | 2 |
| Last release | Oct 1, 2026 | Nov 4, 2026 |
| Releases, 12 months | 3 | 6 |
| Weeks with commits | 2 / 26 | 26 / 26 |
| Recent contributors | 15 | 5 |
| First release | Jan 2020 | Oct 2016 |
| Python versions | – | 3.11 – 3.15 |
| License | MIT | LGPL-3.0-or-later |
| Known vulnerabilities | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.