Skip to main content

Step Function Workflow Orchestration Library

Project description

StepFunction

License Python Status

StepFunction is a Python library for orchestrating complex workflows through a step-by-step process. It allows for easy management of sequential and parallel tasks with robust error handling and branching. The library is inspired by AWS Step Functions but implemented as a Python-native solution to orchestrate workflows across any environment.

Features

  • Sequential and Parallel Execution: Run steps one after another or in parallel.
  • Error Handling: Define failure paths and handle exceptions gracefully.
  • Branching Logic: Direct workflows based on conditions.
  • Sub-Step Functions: Modularize workflows by embedding sub-step functions.
  • Visualization: Integrated support for visualizing the workflow graph.

Installation

You can install the StepFunction package using pip:

pip install stepfunction

Documentation and Further Reading

For more detailed usage examples and advanced use cases, please read the blog post that explains the design and usage of the library in-depth. This blog post covers advanced concepts like error handling, sub-step functions, and visualizing workflows in a real-world context.

Dependencies

The StepFunction package requires the following dependencies:

  • graphviz == 0.20.3

These will be automatically installed when you install the package via pip.

Contributing

If you'd like to contribute to StepFunction, feel free to submit issues or pull requests. Contributions are welcome!

License

This project is licensed under the MIT License - see the LICENSE file for details.

Author

Created and maintained by Vineeth Penugonda.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

stepfunction-0.0.4.tar.gz (11.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

stepfunction-0.0.4-py3-none-any.whl (15.3 kB view details)

Uploaded Python 3

File details

Details for the file stepfunction-0.0.4.tar.gz.

File metadata

  • Download URL: stepfunction-0.0.4.tar.gz
  • Upload date:
  • Size: 11.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for stepfunction-0.0.4.tar.gz
Algorithm Hash digest
SHA256 97481f32d24ed8c6bdfabf1053a4d1d8572c0d41aa0c26459eddda43280a437b
MD5 14459e8dacdf2db23453c707c05ca544
BLAKE2b-256 e047a94fd2051dc6126d84d1f3cf675b0f811e7ddd33938c2ee26eb27ad3e0db

See more details on using hashes here.

File details

Details for the file stepfunction-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: stepfunction-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 15.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for stepfunction-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 e65825c0d9db48303b0674fa4123678552580eb251729e985f71e4102b662f29
MD5 7c712518c3efe8b0f21033678584e3ef
BLAKE2b-256 84502684e7e3567a902e8668a402e54b255e700dd61b4db980dc1ce2ea18ab6f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page