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.5.tar.gz (12.6 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.5-py3-none-any.whl (18.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: stepfunction-0.0.5.tar.gz
  • Upload date:
  • Size: 12.6 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.5.tar.gz
Algorithm Hash digest
SHA256 2939690465cbe35aee5a6869ff6310f772364299b8d23706e2f1260cddb144e6
MD5 0065c9d277312feafc5ed7830532bb58
BLAKE2b-256 b26e90e3d0c921fdcec8ecf93ef1816411065ca2239ad6695d60d0cc53028d0d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: stepfunction-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 18.1 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 1d9a67fc52d32a655d069f6fc88996f5ea344983be6b66a98f13ca38cfdb8a08
MD5 3fcec56868b7332b610981f34463a84b
BLAKE2b-256 773479bcd817d4f4a92d6a26cd5d17c9c440a9ff94a4c5652d9776a75e49347d

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