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.1.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.1-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyflow_manager-0.3.1.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.1.tar.gz
Algorithm Hash digest
SHA256 ae9766d78c632d599903ccad89803f147fe2c2506ba39786201237fcfced288f
MD5 73a1b2950405c8369af81e1ee7187f6e
BLAKE2b-256 e04232b00dbfec281f3698e6227911d75cf2150fcdf4dd89fe10c1d18f0cf291

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyflow_manager-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 6.0 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e02ab59024dd0ed9648623ab1f0430bc4a7b713cd60927f0553f98d8a0847371
MD5 b57d23fde93f1c8b127a8054b6d6371e
BLAKE2b-256 f8b875dd63cf77f2ce6aea553b41c122143cc658e4a6da752fb61c3da7512e69

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