Comparison
factory-boy vs mixer vs model-bakery vs model-mommy
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
A versatile test fixtures replacement based on thoughtbot's factory_bot for Ruby.
Low maintenance activity. Last release 22 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install factory-boyMixer -- 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-bakerySmart object creation facility for Django.
Archived. The repository is read-only: no more fixes or releases will come.
pip install model-mommyIn short
- model-mommy is archived: avoid it for new projects.
- factory-boy is the most used: 25.3M downloads a month, 12× more than model-bakery.
- model-bakery is better maintained: Pythie’s Index 90 against 27.
- mixer is growing fastest: downloads +26% over the last month.
Side by side
| Metric | factory-boy | mixer | model-bakery | model-mommy |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 27 | 16 |