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"]

Referance

Please cite this repo if you used in your research

Ayaz, H. (no date) HuzeyfeAyaz/pyflow_manager: Python based Parallel Workflow Management System, GitHub. Available at: https://github.com/HuzeyfeAyaz/pyflow_manager (Accessed: 21 June 2024). 

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyflow_manager-0.3.0.tar.gz
  • Upload date:
  • Size: 4.8 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.3.0.tar.gz
Algorithm Hash digest
SHA256 4ad5f0b44a5087df10324e7ada573cbd19f3f68271b47974a694197f6276e836
MD5 8258a94041c718e5fb5b6ef72ca66985
BLAKE2b-256 8438a9750209084acde5ee662547ca6d5914e0638d1215f70a0a31678a7ababd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyflow_manager-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 6.1 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.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c37b91b66b43481bddfb24f2666e99ab85c9a01d2fb43d1831183d47af964309
MD5 e3139de6f969aa2ac6e568f317d2755d
BLAKE2b-256 3dda5df26f5f832d7ac5bed98e0caad64a50d1c0eb175c0e88fe2bc43df3c51c

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