Skip to main content

An easy-to-use Python API for Pegasus 5.0

Project description

1. Pegasus Workflow Management System Python3 API

Pegaflow, https://github.com/polyactis/pegaflow, is an easy-to-use package of the Python3 APIs for Pegasus WMS (http://pegasus.isi.edu/). It is compatible with Pegasus 5.0.0. Pegasus allows a developer to connect dependent computing jobs into a DAG (Directed Acyclic Graph) and run jobs according to the dependency.

Workflow.py is the key difference from the official Pegasus Python APIs. Inheriting Workflow.py, users can write Pegasus workflows in an Object-Oriented way. It significantly reduces the amount of coding in writing a Pegasus workflow.

Pegasus jobs do NOT support UNIX pipes while many UNIX programs can only output to stdout. A shell wrapper, pegaflow/tools/pipe2File.sh, is offered to redirect the output (stdout) of a program to a file. pegaflow/tools/ contains a few other useful shell scripts.

  • Workflow.py
  • The monitoring API
  • The Stampede database API
  • The Pegasus statistics API
  • The Pegasus plots API
  • Miscellaneous Pegasus utilities
  • The Pegasus service, including the ensemble manager and dashboard

Part of this package's source code is copied from https://github.com/pegasus-isi/pegasus, version 5.0.0,

2. Prerequisites

Pegasus and HTCondor (Condor) are only required on computers on which you intend to submit and run workflows.

On computers where only DAG yml files are outputted, no need to install Pegasus and Condor.

3. Installation

Install pegaflow:

pip3 install --upgrade pegaflow

4. Examples

Check pegaflow/example/ for examples.

20210616 Upgraded to be compatible with Pegasus 5.0.0.

20200326 An easy-to-use Python3 package for Pegasus-wms API

Pegaflow is a package of the Python3 APIs for Pegasus WMS (http://pegasus.isi.edu/), with a helper class Workflow.py.

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

Pegaflow-5.0.2.tar.gz (500.9 kB view details)

Uploaded Source

Built Distribution

Pegaflow-5.0.2-py3-none-any.whl (613.4 kB view details)

Uploaded Python 3

File details

Details for the file Pegaflow-5.0.2.tar.gz.

File metadata

  • Download URL: Pegaflow-5.0.2.tar.gz
  • Upload date:
  • Size: 500.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.9

File hashes

Hashes for Pegaflow-5.0.2.tar.gz
Algorithm Hash digest
SHA256 001dc1bffea1e1d610ad9191bd63bde7243e198bbdfeb4745df727c33ab6db09
MD5 3d76fe526b8b2745a78fbe5747545353
BLAKE2b-256 f24b585ef12806e085013226ef846bdca4190b55f95d986ec0f5ea90450eb0c7

See more details on using hashes here.

Provenance

File details

Details for the file Pegaflow-5.0.2-py3-none-any.whl.

File metadata

  • Download URL: Pegaflow-5.0.2-py3-none-any.whl
  • Upload date:
  • Size: 613.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.9

File hashes

Hashes for Pegaflow-5.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 38f49611bd60283e8fef85cee4e2103eec5c50f1147a7af28a19e2e460e526c7
MD5 02a5bf85d130e3d7d9f9acb6202ed7a9
BLAKE2b-256 f4a208bee8078aecd20d1ca9f16b10d31f83e4f2f282a6c1955f6ecf2795a862

See more details on using hashes here.

Provenance

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