Comparison
mongorun vs pymongo_inmemory vs pytest-mongo
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
A utility to quickly set up complex MongoDB test environments on a local machine
Actively maintained. Last release 3 weeks ago, commits in 5 of the last 26 weeks. A safe choice.
$
pip install mongorunA mongo mocking library with an ephemeral MongoDB running in memory.
Low maintenance activity. Last release 21 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and recent releases.
$
pip install pymongo-inmemoryMongoDB process and client fixtures plugin for Pytest.
Actively maintained. Last release 3 weeks ago, commits in 26 of the last 26 weeks. A safe choice.
$
pip install pytest-mongoIn short
- pymongo_inmemory is the most used: 135.9K downloads a month.
- pytest-mongo is better maintained: Pythie’s Index 81 against 23.
- mongorun is growing fastest: downloads +94472% over the last month.
- mongorun is the newcomer: first released Apr 2026.
Side by side
| Metric | mongorun | pymongo_inmemory | pytest-mongo |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 71 | 23 |