Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

A versatile Python framework for building and managing finite state machines and workflows, (in future maybe) graph-based systems with ease and flexibility.

License

NotificationsYou must be signed in to change notification settings

akshitadixit/flowfsm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project Overview

FlowFSM is a package for building and managing finite state machines (FSMs). It provides tools for defining states, transitions, events, and workflows, simplifying the development of complex state-driven applications. The framework will be supporting features for configuration, runtime management, and visualization as and when they are developed.

Features

  • Flexible State Definition: Define states and transitions with ease using a clear and intuitive interface.
  • Event-Driven Transitions: Trigger state transitions based on custom events.
  • Workflow Management: Manage complex workflows involving multiple states and transitions.
  • Configuration System: Load configurations from various sources, enabling customization.
  • Runtime Execution: Execute workflows and handle events efficiently.

TODOs

  • Extensible Hooks and Listeners: Extend functionality with custom hooks and listeners.
  • Visualization Support: Visualize workflows (future functionality, likely).
  • Robust Error Handling: Includes a comprehensive error handling system.

Usage

A simple example showcasing 2 basic workflows can be found in theexamples/ directory.

from ..flowfsm.config.parserimportparse_fsm_configfrom ..flowfsm.config.loaderimportload_fsm_from_configfrom ..flowfsm.runtime.executorimportExecutor# Load FSM configurationconfig=parse_fsm_config("./config_example.yml")# Create FSMworkflow=load_fsm_from_config(config)# Execute FSMexecutor=Executor(workflow)executor.run()

About

A versatile Python framework for building and managing finite state machines and workflows, (in future maybe) graph-based systems with ease and flexibility.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp