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> -n 8 --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
Release history Release notifications | RSS feed
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.2.tar.gz
(4.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyflow_manager-0.3.2.tar.gz.
File metadata
- Download URL: pyflow_manager-0.3.2.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5755667b2ed4ee7bfc9c885e3c27010783342bb549cfb40fdf56853961148fcc
|
|
| MD5 |
067e9ad042fd506d2de0df8f17452be8
|
|
| BLAKE2b-256 |
aeb413369950256f5243a2193a98375899345d1fec180712816356438c941c4a
|
File details
Details for the file pyflow_manager-0.3.2-py3-none-any.whl.
File metadata
- Download URL: pyflow_manager-0.3.2-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eb4d6af5ef42e5fd26bc59da879c3320eafc74d52bfdf2800d37ac815c016e2f
|
|
| MD5 |
b2b5dd6dc2eca72dfdcaf93be5da16bc
|
|
| BLAKE2b-256 |
df2f65664d3000ceb1d95a09a75352df7ab00677e4ab6aac052d5b001c6aba5b
|