Skip to main content

A lightweight, powerful, and flexible workflow engine that executes tasks defined in YAML configuration files

Project description

YAML Workflow

A lightweight, powerful, and flexible workflow engine that executes tasks defined in YAML configuration files. This engine allows you to create modular, reusable workflows by connecting tasks through YAML definitions, with support for parallel processing, batch operations, and state management.

Features

  • 📝 YAML-driven workflow definition
  • 🔌 Dynamic module and function loading
  • 🔄 Input/output variable management
  • ⚠️ Comprehensive error handling
  • 🔁 Retry mechanisms
  • ⚡ Parallel processing support
  • 📊 Progress tracking and logging
  • 💾 State persistence and resume capability
  • 🔄 Batch processing with chunking
  • 🌐 Template variable substitution
  • 🔀 Flow control with custom step sequences

Quick Start

  1. Install the package:
pip install yaml-workflow
  1. Initialize example workflows:
# Create workflows directory with examples
yaml-workflow init

# Or specify a custom directory
yaml-workflow init --dir my-workflows

# Initialize with specific examples only
yaml-workflow init --example hello_world
  1. Run the example workflow:
# Run with input parameters
yaml-workflow run workflows/hello_world.yaml name=Alice

# List available workflows
yaml-workflow list

# Validate a workflow
yaml-workflow validate workflows/hello_world.yaml

# Resume a failed workflow
yaml-workflow run workflows/hello_world.yaml --resume

Documentation

License

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

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

yaml_workflow-0.1.4.tar.gz (60.4 kB view details)

Uploaded Source

Built Distribution

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

yaml_workflow-0.1.4-py3-none-any.whl (38.3 kB view details)

Uploaded Python 3

File details

Details for the file yaml_workflow-0.1.4.tar.gz.

File metadata

  • Download URL: yaml_workflow-0.1.4.tar.gz
  • Upload date:
  • Size: 60.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for yaml_workflow-0.1.4.tar.gz
Algorithm Hash digest
SHA256 9b0a7845baaf5856febc5f7929bf4877e5de5047910317a48d4b8430e5c5b76b
MD5 7b5fdb6082ce730dfd9ed20d12b5a2ea
BLAKE2b-256 92cba7883663f93eb1e6bef4f48856c22b699474537a34c198d2e38c22f12f88

See more details on using hashes here.

Provenance

The following attestation bundles were made for yaml_workflow-0.1.4.tar.gz:

Publisher: publish.yml on orieg/yaml-workflow

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file yaml_workflow-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: yaml_workflow-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 38.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for yaml_workflow-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 3e0a11f391ac21245c9735f2cdb4ec3246d214096ef471fe58e497f081350a61
MD5 07f92ae21e1f12bea564d937d26e6070
BLAKE2b-256 4a30cceeef301c4718c34f90f2f6ea6da6ff90f71864a9f6df2fb01185d26a99

See more details on using hashes here.

Provenance

The following attestation bundles were made for yaml_workflow-0.1.4-py3-none-any.whl:

Publisher: publish.yml on orieg/yaml-workflow

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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