Comparison
django-dynamic-fixture vs model-bakery vs model-mommy
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
A full library to create dynamic model instances for testing purposes.
Slowing down. Last release over 3 years ago, little activity since. Fine for existing code; think twice for a new project.
$
pip install django-dynamic-fixtureSmart object creation facility for Django.
Actively maintained. Last release 2 weeks ago, commits in 22 of the last 26 weeks. A safe choice.
$
pip install model-bakerySmart object creation facility for Django.
Archived. The repository is read-only: no more fixes or releases will come.
$
pip install model-mommyIn short
- django-dynamic-fixture is slowing down (last release over 3 years ago): fine for existing code, risky for a new project.
- model-mommy is archived: avoid it for new projects.
- model-bakery is the most used: 2.1M downloads a month, 7.0× more than model-mommy.
- model-bakery also has the best Pythie’s Index (90).
- model-bakery is growing fastest: downloads +17% over the last month.
- Safe default for a new project: model-bakery.
Side by side
| Metric | django-dynamic-fixture | model-bakery | model-mommy |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 19 | 90 |