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.2.tar.gz (10.7 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.2-py3-none-any.whl (12.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for stepfunction-0.0.2.tar.gz
Algorithm Hash digest
SHA256 a0292af9814055fd87d78aaf5494030e5b30b2c86cae0ad3fcc80e3a1eb3177a
MD5 6d9dcef96c8a50fd5c0ae0896ff66ff3
BLAKE2b-256 82e87f079cb911ecf78d7ba00b6bb2898135549fa51b37799a6b7a891c62d3fc

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for stepfunction-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 16bf2f53e9efd112f9e381fbd2df49118245ffe6471d9367d0b1cd72629457df
MD5 f3947b3046bd8a5c6a2e1a4df3760289
BLAKE2b-256 794ded5357764ea48af90cc8b631bdcdf71270238e6462bf24c0372401b41717

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