Ross ROSS = Recommend OSS · open-source software intelligence for agents

pytransitions/transitions

A lightweight, object-oriented finite state machine implementation in Python with many extensions observed · 2026-08-28

github.com/pytransitions/transitions · Python · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

41/100

  • Activity 41
  • Release rhythm 8
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 4343
  • days_rel: 427
  • days_push: 356
  • n_releases_24m: 1

Full methodology

Adoption not part of the score

6582 stars · 568 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded

A lightweight, object-oriented finite state machine library for Python with extensions for nested/hierarchical states, conditions, callbacks, and diagram generation. It is installable via pip and compatible with Python 2.7+ and 3.0+.

Use cases

  • implement a finite state machine in python
  • model object states with transitions and callbacks
  • create hierarchical or nested state machines
  • add conditional transitions to python objects
  • generate state diagrams from machine definitions
  • manage workflow states in a python application

When to choose

  • you need a lightweight, pure-Python state machine with no heavy dependencies
  • you want features like nested states, ordered/queued transitions, and conditions
  • you want to attach state machine behavior directly to your own classes

When to avoid

  • you need a distributed or persistent workflow engine rather than an in-process FSM
  • your project is not in Python

Facets

library · maturity stable

state-management developer-tools developer-tools python cross-platform finite-state-machine state-machine hierarchical-states nested-states state-diagram object-oriented algorithms automation

2 sources

Member repositories

RepositoryRoleHealth v2
pytransitions/transitionsmain41

For agents

markdown · JSON · MCP: product_card(name="pytransitions/transitions")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem