Python State Machine
v2.3.3
Python StateMachine
Installation
States
Transitions and events
Actions
Conditions and Validators
Domain models
Listeners
Async
Mixins
Integrations
Diagrams
Processing model
API
Examples
Contributing
Credits
Release notes
Python State Machine
Python State Machine
Edit on GitHub
Python State Machine
¶
Contents:
Python StateMachine
Features
Installing
First example
Async support
A more useful example
Contributing to the project
Installation
Stable release
From sources
States
Initial state
State Transitions
Final state
States from Enum types
Transitions and events
Transitions
Event
Actions
State actions
Transition actions
Other callbacks
Ordering
Return values
Dependency injection
Conditions and Validators
Conditions
Validators
Domain models
Listeners
Adding listeners to an instance
Async
Asynchronous Support
Sync codebase with async callbacks
Initial State Activation for Async Code
Mixins
MachineMixin
Integrations
Django integration
Diagrams
How to generate a diagram at runtime
Generate from the command line
JupyterLab / Jupyter integration
Don’t want to install Graphviz
Processing model
RTC model
Non-RTC model
API
StateMachine
State
States (class)
Transition
TransitionList
Model
TriggerData
EventData
Examples
Contributing
Types of Contributions
Get Started!
Pull Request Guidelines
Credits
Development Lead
Contributors
Scaffolding
Release notes
Releases
Indices and tables
¶
Index
Module Index
Search Page