Comparison
django-fsm vs django-fsm-2 vs fysom vs python-statemachine
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
State machines for Python objects and Django models.
Maintained. Last release 3 weeks ago, commits in 3 of the last 26 weeks. Weaker on commit activity and security practices.
pip install django-fsmDjango 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 Machine
Likely abandoned. No release or commit for years (last release over 5 years ago).
pip install fysomPython 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-statemachineIn short
- fysom looks abandoned: avoid it for new projects.
- python-statemachine is the most used: 3.4M downloads a month, 4.8× more than django-fsm-2.
- django-fsm-2 is better maintained: Pythie’s Index 79 against 69.
- python-statemachine is growing fastest: downloads +72% 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 | django-fsm-2 | fysom | python-statemachine |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 59 | 79 |