Comparison
django-dynamic-fixture vs factory-boy vs polyfactory
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-fixtureA 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-boyMock data generation factories
Actively maintained. Last release 6 weeks ago, commits in 10 of the last 26 weeks. A safe choice.
$
pip install polyfactoryIn short
- django-dynamic-fixture is slowing down (last release over 3 years ago): fine for existing code, risky for a new project.
- factory-boy is the most used: 24.6M downloads a month, 1.9× more than polyfactory.
- polyfactory is better maintained: Pythie’s Index 76 against 27.
Side by side
| Metric | django-dynamic-fixture | factory-boy | polyfactory |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 19 | Pythie’s Index: 27 | Pythie’s Index: 76 |
| Verdict | Slowing down | Low maintenance activity | Actively maintained |
| Downloads / month | 151.9K | 24.6M | 13M |
| Downloads, month over month | +15% | +6% | +7% |
| GitHub stars | 387 | 3.8K | 1.5K |
| Stars, last 7 days | – | – | – |
| Direct dependents | 3 | 127 | 34 |
| Last release | Sep 15, 2023 | Feb 3, 2025 | Oct 21, 2026 |
| Releases, 12 months | 0 | 0 | 4 |
| Weeks with commits | 0 / 26 | 0 / 26 | 10 / 26 |
| Recent contributors | 10 | 17 | 18 |
| First release | Mar 2011 | Aug 2010 | Apr 2023 |
| Python versions | 3.8 – 3.11 | 3.9 – 3.13 | 3.9 – 3.15 |
| License | MIT | MIT | MIT |
| Known vulnerabilities | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.