Comparison
Automat vs python-statemachine vs pytransitions vs transitions
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Self-service finite-state machines for the programmer on the go.
Low maintenance activity. Last release 20 months ago, commits in 4 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install automatPython 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 commit activity and recent releases.
pip install pytransitionsA 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
- Automat is the most used: 13.8M downloads a month, 4.2× more than python-statemachine.
- python-statemachine is better maintained: Pythie’s Index 69 against 33.
- python-statemachine is growing fastest: downloads +76% over the last month.
- pytransitions is the newcomer: first released Dec 2024.
Side by side
| Metric | Automat | python-statemachine | pytransitions | transitions |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 33 | Pythie’s Index: 69 | Pythie’s Index: 37 | Pythie’s Index: 17 |
| Verdict | Low maintenance activity | Maintained | Low maintenance activity | Low maintenance activity |
| Downloads / month | 13.8M | 3.3M | 157.4K | 1.9M |
| Downloads, month over month | -6% | +76% | -9% | -25% |
| GitHub stars | 651 | 1.3K | – | 6.6K |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 25 | 30 | 0 | 141 |
| Last release | Apr 16, 2025 | Oct 14, 2026 | Jan 6, 2025 | Jul 2, 2025 |
| Releases, 12 months | 0 | 8 | 0 | 0 |
| Weeks with commits | 4 / 26 | 8 / 26 | – | 0 / 26 |
| Recent contributors | 7 | 9 | – | 6 |
| First release | Sep 2014 | Mar 2017 | Dec 2024 | Oct 2014 |
| Python versions | 3.9 – 3.13 | 3.10 – 3.15 | 3.8 – 3.12 | 3.8 – 3.13 |
| License | MIT | MIT | MIT | MIT |
| Known vulnerabilities | None | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.