Comparison
factory-boy vs polyfactory
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-boyMock data generation factories
Actively maintained. Last release 6 weeks ago, commits in 9 of the last 26 weeks. A safe choice.
$
pip install polyfactoryIn short
- factory-boy is the most used: 25.1M downloads a month, 1.9× more than polyfactory.
- polyfactory is better maintained: Pythie’s Index 74 against 27.
Side by side
| Metric | factory-boy | polyfactory |
|---|---|---|
| Pythie’s Index | Pythie’s Index: 27 | 74 |