Comparison
django-fsm-2 vs python-statemachine vs transitions
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Django friendly finite state machine support.
Actively maintained. Last release 5 weeks ago, commits in 9 of the last 26 weeks. A safe choice.
$
pip install django-fsm-2Python Finite State Machines made easy.
Maintained. Last release 7 weeks ago, commits in 8 of the last 26 weeks. Weaker on issue handling and contributor spread.
$
pip install python-statemachineA lightweight, object-oriented Python state machine implementation with many extensions.
Low maintenance activity. Last release 17 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and recent releases.
$
pip install transitionsIn short
- python-statemachine is the most used: 3.3M downloads a month, 1.7× more than transitions.
- django-fsm-2 is better maintained: Pythie’s Index 80 against 69.
- python-statemachine is growing fastest: downloads +76% over the last month.
- Safe default for a new project: python-statemachine, or django-fsm-2 if active maintenance matters most.
Side by side
| Metric | django-fsm-2 | python-statemachine | transitions |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 80 | Pythie’s Index: 69 | Pythie’s Index: 17 |
| Verdict | Actively maintained | Maintained | Low maintenance activity |
| Downloads / month | 681K | 3.3M | 1.9M |
| Downloads, month over month | +14% | +76% | -25% |
| GitHub stars | 287 | 1.3K | 6.6K |
| Stars, last 7 days | – | – | – |
| Direct dependents | 10 | 30 | 141 |
| Last release | Oct 28, 2026 | Oct 14, 2026 | Jul 2, 2025 |
| Releases, 12 months | 6 | 8 | 0 |
| Weeks with commits | 9 / 26 | 8 / 26 | 0 / 26 |
| Recent contributors | 11 | 9 | 6 |
| First release | Mar 2024 | Mar 2017 | Oct 2014 |
| Python versions | 3.11 – 3.15 | 3.10 – 3.15 | 3.8 – 3.13 |
| 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.