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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyflow_manager-0.2.4.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.4.tar.gz
Algorithm Hash digest
SHA256 7d53f0ac61224cf8a014315cb613043a6c5b81f388d9467632de1130a5b11344
MD5 f2d5c73c7661d1fc7a63866740846b39
BLAKE2b-256 be760125393750c282d3462007bc5ecb888d255b161ac00891ca5844cbbcab1a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyflow_manager-0.2.4-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.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 9d5ad29740f43f3c53b41107e37ec1ae85123ce017f4656d4f7b6ef0f5033a65
MD5 69ba6a36e0cce729a85ea24752deb67c
BLAKE2b-256 7d95e6a7adcf78865519bed92c896763d996bc9211e4d4853802866041be7674

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