Skip to content
PyRank
  • Search
  • PyPI
  • GitHub
  • Insights
  • Compare
  • Advisories
  • Ecosystem
  • About

Finite State Machine Python Packages

Python packages with the GitHub topic finite-state-machine. Sorted by monthly downloads, with stars and forks.
fgmacedo
python-statemachine

Expressive statecharts and FSMs for modern Python.

3.2M 1K 121
viewflow
django-fsm

Django friendly finite state machine support

519K 2K 297
caleb531
automata-lib

A Python library for simulating finite automata, pushdown automata, and Turing machines

62K 416 72
basiltt
xstate-statemachine

State machines and statecharts for Python: define them in plain Python or load XState JSON. Sync and async engines, persistence, Django/FastAPI integrations.

16K 17 2
daac-tools
daachorse

🐎 A fast implementation of the Aho-Corasick algorithm using the compact double-array data structure. (Python wrapper for daachorse)

13K 21 3
AlexandreDecan
sismic

Sismic Interactive Statechart Model Interpreter and Checker http://sismic.readthedocs.io/

8K 173 32
eracle
agentic-fsm

Entity lifecycles declared once and advanced the same way by code, a model or an agent.

7K 0 0
Woile
fsmpy

Minimal state machine

4K 24 2
pgularski
pysm

Versatile and flexible Python State Machine library

3K 77 13
sollimann
bonsai-bt

Rust implementation of behavior trees for deterministic AI (now with Python bindings)

2K 1K 42
hansbug
pyfcstm

A Python framework for FCSTM DSL parsing, hierarchical state machine simulation, PlantUML visualization, and template-based code generation.

2K 1 2
alysivji
finite-state-machine

Lightweight, decorator-based Python implementation of a Finite State Machine

1K 112 10
int-brain-lab
bpod-core

A modern Python interface for Bpod Finite State Machines, facilitating device communication, experimental control, and the development of reproducible behavioral experiments in neuroscience.

1K 6 4
IljaOrlovs
sqlalchemy-fsm

Declarative finite state machine for SQLAlchemy models — typed, tested, drop-in for both SQLAlchemy 1.4 and 2.x.

989 21 9
NikolasMarkou
llm-fsm

A Finite State Machine hybrid with Large Language Models

872 18 1
Maxi-online
maxapi-sdk

Async Python SDK for MAX Messenger Bot API: typed client, retrying transport, polling/webhooks, routing, middleware, FSM and media uploads.

851 1 0
StarlangSoftware
nlptoolkit-morphologicalanalysis

Turkish Morphological Analysis library

839 25 18
ourway
marmoolak

Yet another finite state machine with memory and callbacks.

517 7 0
OWASP
raider

OWASP Raider: a novel framework for manipulating the HTTP processes of persistent sessions.

408 100 24
pgularski
upysm

Versatile and flexible Python State Machine library

401 77 13
mkantrr
automython

A simplistic programming language interpreter to Python to help students grasp finite automata theory programmatically and with a computed graph through visualization libraries.

394 0 0
marcinn
dsm

Damn simple finite state machine

334 5 1
lewiuberg
visual-automata

Visual Automata is a Python 3 library built as a wrapper for the Automata library to add more visualization features.

271 57 9
junjuew
gabrieltool

Tools for Making Wearable Cognitive Assitants

263 3 4
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology