kmmbvnr/django-fsm
Django friendly finite state machine support observed · 2026-08-28
Health v2 · maintenance only
43/100
- Activity 45
- 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-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 5938
- days_rel: n/a
- days_push: 330
- n_releases_24m: 0
Adoption not part of the score
2352 stars · 298 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Python library providing Django-friendly finite state machine support, allowing declarative definition of states and guarded transitions on model fields. It has been renamed and superseded by viewflow.fsm as of version 3.0, which has a new, incompatible API.
Use cases
- add a state machine to a django model
- enforce allowed state transitions in a workflow
- implement order status lifecycle in django
- prevent invalid state assignment on model fields
- model approval or publishing workflows in python
When to choose
- you need declarative FSM transitions on Django models
- you want transition guards and TransitionNotAllowed enforcement
- you are maintaining a legacy project already using django-fsm
When to avoid
- you are starting a new project - use viewflow.fsm instead
- you need a framework-agnostic state machine without Django
- you need a full workflow/BPM engine rather than a simple FSM
Facets
library · maturity maintenance
state-management workflow-automation web-development backend developer-tools python django finite-state-machine fsm state-machine transitions viewflow
2 sources
- readme: https://github.com/kmmbvnr/django-fsm · fetched 2026-08-28 · df0448ef5fa6
- registry_pypi: https://pypi.org/pypi/django-fsm/json · fetched 2026-08-29 · ab3288ed28f2
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| kmmbvnr/django-fsm | main | 43 |
For agents
markdown · JSON · MCP: product_card(name="kmmbvnr/django-fsm")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem