Skip to main content

Pipeline library that simplifies creation of pipelines that run on top of hail Batch and other compute enviornments

Project description

step-pipeline

This library serves as a thin layer on top of Hail Batch (and eventually other execution engines) to provide the following features:

  • Skip steps that already ran and completed successfully (eg. their output files already exist and are newer than their input files). This is done prior to submitting the pipeline to the execution engine.
  • Make it easier to switch between different ways of localizing files (copy, gcsfuse, etc.) with minimal changes to pipeline code
  • Automatically define pipeline command-line args to force or skip execution of paticular steps
  • Use a config file to store various pipeline parameters (eg. cloud project account, etc.)
  • Add commands for sending pipeline completion notifications to Slack
  • Add commands for profiling pipeline steps while they are running, and saving this info to external storage
  • Generate a diagram of the pipeline execution graph (DAG)

Another longer-term goal is to allow the same pipeline definition to be submitted to different backends with minimal changes - including Hail Batch, Terra/Cromwell, and others. This can only work for pipelines that use the subset of workflow definition features that is shared across the relevant execution engines.


Installation

To install the step-pipeline library, run:

python3 -m pip install step-pipeline

Docs

API docs


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

step_pipeline-0.2.7.tar.gz (39.8 kB view hashes)

Uploaded Source

Built Distribution

step_pipeline-0.2.7-py3-none-any.whl (44.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page