Comparison
mongomock vs mongomock-ng
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Fake pymongo stub for testing simple MongoDB-dependent code
Low maintenance activity. Last release over 2 years ago, commits in 0 of the last 26 weeks. Weaker on commit activity and recent releases.
$
pip install mongomockReplacement fake pymongo stub for testing simple MongoDB-dependent code
Maintained. Last release 4 months ago, commits in 2 of the last 26 weeks. Weaker on commit activity and contributor spread.
$
pip install mongomock-ngIn short
- mongomock is the most used: 9.8M downloads a month, 65× more than mongomock-ng.
- mongomock-ng is better maintained: Pythie’s Index 59 against 17.
- mongomock-ng is growing fastest: downloads +105% over the last month.
- mongomock-ng is the newcomer: first released May 2026.
Side by side
| Metric | mongomock | mongomock-ng |
|---|---|---|
| Pythie’s Index | Pythie’s Index: 17 | 59 |