Comparison
django-dynamic-fixture vs mixer vs model-bakery
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-fixtureMixer -- Is a fixtures replacement. Supported Django ORM, SqlAlchemy ORM, Mongoengine ODM and custom python objects.
Low maintenance activity. Last release over 4 years ago, commits in 0 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install mixerSmart 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-bakeryIn short
- django-dynamic-fixture is slowing down (last release over 3 years ago): fine for existing code, risky for a new project.
- model-bakery is the most used: 2M downloads a month, 8.2× more than mixer.
- model-bakery also has the best Pythie’s Index (90).
- mixer is growing fastest: downloads +20% over the last month.
- Safe default for a new project: model-bakery.
Side by side
| Metric | django-dynamic-fixture | mixer | model-bakery |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 19 | 16 |