model-bakers/model_bakery
Object factory for Django observed · 2026-09-03
Health v2 · maintenance only
96/100
- Activity 100
- Release rhythm 90
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 17
- age_days: 2521
- days_rel: 71
- days_push: 0
- n_releases_24m: 16
Adoption not part of the score
1002 stars · 107 forks observed · 2026-09-03
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Model Bakery is a Python library that provides smart object factories for creating Django model instances in tests. It auto-fills model fields with sensible random values so you can create fixtures with a single line of code.
Use cases
- create django test fixtures quickly
- generate test data for django models
- replace factory_boy with simpler api
- bulk create model instances in tests
- auto-fill model fields with fake data
- set up test data in django test cases
When to choose
- you write Django tests and need model instances without boilerplate
- you want automatic field population with sensible defaults
- you prefer a minimal API over factory_boy's verbosity
When to avoid
- your project does not use Django ORM
- you need highly controlled, deterministic fixture data for every field
- you need factories for non-Django data structures only
Facets
library · maturity active
testing data-generation orm testing web-development developer-tools python django test-fixtures object-factory factory-boy-alternative
2 sources
- readme: https://github.com/model-bakers/model_bakery · fetched 2026-09-03 · f2845d7f9b53
- registry_pypi: https://pypi.org/pypi/model_bakery/json · fetched 2026-08-29 · 5b961c08df33
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| model-bakers/model_bakery | main | 96 |
For agents
markdown · JSON · MCP: product_card(name="model-bakers/model_bakery")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem