Comparison
automaton vs fysom vs python-statemachine vs pytransitions
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Friendly state machines for Python.
Maintained. Last release 3 months ago.
$
pip install automatonpYthOn 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-statemachineA lightweight, object-oriented Python state machine implementation with many extensions.
Low maintenance activity. Last release 23 months ago. Weaker on recent releases and release cadence.
$
pip install pytransitionsIn short
- fysom looks abandoned: avoid it for new projects.
- python-statemachine is the most used: 3.2M downloads a month, 21× more than pytransitions.
- Maintenance is comparable: automaton 69, python-statemachine 69, pytransitions 37 on Pythie’s Index.
- python-statemachine is growing fastest: downloads +61% over the last month.
- pytransitions is the newcomer: first released Dec 2024.
- Safe default for a new project: python-statemachine.
Side by side
| Metric | automaton | fysom | python-statemachine | pytransitions |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 69 | 17 |