Skip to main content

A workflow management system based on YAML dependencies

Project description

Pyflow Manager

A Python package to manage and execute workflows based on YAML-defined input/output dependencies.

Installation

pip install pyflow-manager

Usage

pyflow-manager <path/to/your/tasks.yaml> --skip-existing

Sample .yaml File

tasks:
    task1:
        command: "echo 'Task 1' > output1.txt"
        inputs: []
        outputs: ["output1.txt"]
    task2:
        command: "python sample_script.py" # generates output2.txt
        inputs: ["output1.txt"]
        outputs: ["output2.txt"]
    task3:
        command: "sbatch -W slurm_script.sh" # Sample Slurm usage. Use -W to wait for the job execution
        inputs: ["output2.txt"]
        outputs: ["output3.txt"]

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

pyflow_manager-0.2.3.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

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

pyflow_manager-0.2.3-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file pyflow_manager-0.2.3.tar.gz.

File metadata

  • Download URL: pyflow_manager-0.2.3.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for pyflow_manager-0.2.3.tar.gz
Algorithm Hash digest
SHA256 c95201bb975535a792051333ae3a4885c76ed934964922fdb801f4eba880ba59
MD5 7be1f8e711d7413ff708f3fa941624e6
BLAKE2b-256 6b4c2eca9ba45d58e956eb1f8bae9f02594f289f9e3dac5c62f195d334b18f64

See more details on using hashes here.

File details

Details for the file pyflow_manager-0.2.3-py3-none-any.whl.

File metadata

  • Download URL: pyflow_manager-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 5.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for pyflow_manager-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a9282bc5f4fc3aa9bf0b0a9915ba34c7bd6289a1c6381a5558f7d1d9fd7d34d8
MD5 927f47b323d3f6dc9f24d7b7031f0916
BLAKE2b-256 469c32764418e673ffcc6d90d87fef96773980cf31afdc60c084a4b1e123b0d3

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