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

Uploaded Python 3

File details

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

File metadata

  • Download URL: stepfunction-0.0.7.tar.gz
  • Upload date:
  • Size: 13.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.7.tar.gz
Algorithm Hash digest
SHA256 3e845dcd0fa30c727725eedcfa62c44c0bd18fa56b48dd44abdd837c0053d185
MD5 494fcd7fc6a432c8acd7c9ab3aa8cd82
BLAKE2b-256 918ff0510d99665286b843fcdfc607affabc50901ed27b367e2fd7ae13ed5497

See more details on using hashes here.

File details

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

File metadata

  • Download URL: stepfunction-0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 18.9 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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 648d40a8b8ae6fa7de715f38d376fd5a114e2123cdfb301b193d69a4d56e1dd4
MD5 fdd54a3a5a24ae26d3ac310c41797bbf
BLAKE2b-256 238bf057d223e9056bfed20111311935c50ead5769977aafad4f053c2a99376f

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