Contents Menu Expand Light mode Dark mode Auto light/dark, in light mode Auto light/dark, in dark mode Skip to content
python-statemachine 3.1.2
Logo
python-statemachine 3.1.2

Getting started

  • Installation
  • Tutorial

Core Concepts

  • Core concepts
  • States
  • Transitions
  • Events
  • Actions
  • Conditions

Runtime

  • StateChart
  • Processing model
  • Error handling
  • Async support
  • Listeners

Configuration

  • Behaviour
  • Validations

Advanced

  • Invoke
  • Domain models
  • Integrations
  • Weighted transitions
  • State timeouts

How to

  • Coming from pytransitions
  • Coming from the State Pattern

Reference

  • API
  • Diagrams
  • Examples
    • Looping state machine
    • Async without external loop
    • Weighted idle animation machine
    • Traffic light machine
    • Enum campaign machine
    • Order control machine
    • Reusing transitions
    • Air Conditioner machine
    • Compound states – Quest through Middle-earth
    • Eventless (automatic) transitions – The One Ring’s Corruption
    • Error handling – Quest Recovery
    • Cleanup / finalize pattern
    • Parallel states – War of the Ring
    • Persistent domain model
    • Order control machine (rich model)
    • Guess the number machine
    • In() guard condition – Fellowship Coordination
    • History states – Gollum’s dual personality
    • User workflow machine
    • Lord of the Rings Quest - Boolean algebra
    • Supervised task – Beacons of Gondor
    • Async guess the number machine
    • All actions machine
    • SQLite-backed approval workflow
    • AI Shell – coding assistant
  • Contributing
  • Credits

Releases

  • StateMachine 3.0.0
  • Upgrading from 2.x to 3.0
  • Release notes
    • StateChart 3.1.2
    • StateChart 3.1.1
    • StateChart 3.1.0
    • StateMachine 3.0.0
    • StateMachine 2.6.0
    • StateMachine 2.5.0
    • StateMachine 2.4.0
    • StateMachine 2.3.6
    • StateMachine 2.3.5
    • StateMachine 2.3.4
    • StateMachine 2.3.3
    • StateMachine 2.3.2
    • StateMachine 2.3.1
    • StateMachine 2.3.0
    • StateMachine 2.2.0
    • StateMachine 2.1.2
    • StateMachine 2.1.1
    • StateMachine 2.1.0
    • StateMachine 2.0.0
    • StateMachine 1.0.3
    • StateMachine 1.0.2
    • StateMachine 1.0.1
    • StateMachine 1.0.0
    • StateMachine 0.9.0
    • StateMachine 0.8.0
    • StateMachine 0.7.1
    • StateMachine 0.7.0
    • StateMachine 0.6.2
    • StateMachine 0.6.1
    • StateMachine 0.6.0
    • StateMachine 0.5.1
    • StateMachine 0.5.0
    • StateMachine 0.4.2
    • StateMachine 0.3.0
    • StateMachine 0.2.0
    • StateMachine 0.1.0
Back to top

Credits¶

Development Lead¶

  • Fernando Macedo

Contributors¶

  • Guilherme Nepomuceno

  • Rafael Rêgo

  • Raphael Schrader

  • João S. O. Bueno

  • Rodrigo Nogueira

Scaffolding¶

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

Next
StateMachine 3.0.0
Previous
Contributing
Copyright © 2024, Fernando Macedo
Made with Sphinx and @pradyunsg's Furo
On this page
  • Credits
    • Development Lead
    • Contributors
    • Scaffolding