Skip to main content

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.

Metadata

Release files for Pegaflow 5.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for Pegaflow 5.0.4
File Size Uploaded
Pegaflow-5.0.4.tar.gz 501.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for Pegaflow 5.0.4
File Interpreter ABI Platform
Pegaflow-5.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 1.1 MB

Release files / Pegaflow-5.0.4.tar.gz

Download URL Pegaflow-5.0.4.tar.gz
Size 501.4 kB
Tags Source
SHA-256 checksum
How to use checksums
6b6ced1d9991d0fea7495ee69f2b1bd6c6a054f25bc12424bf19825d4704c475
BLAKE2b-256 checksum
How to use checksums
b467fb9319faad342b88a65a3bd7872c4a276d0edf4109c1e0a185feadd159f5
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / Pegaflow-5.0.4-py3-none-any.whl

Download URL Pegaflow-5.0.4-py3-none-any.whl
Size 613.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f80481ac2a99f9db6a0cc5562ee88443a0b4b9e240b2a732b3d2f604e2c59c12
BLAKE2b-256 checksum
How to use checksums
9afe0541e6bd0f752a5693bce347aa96e3842f865ad00f6d0963cd997e942025
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

5.0.4 This release

2 release files

5.0.3

2 release files

5.0.2

2 release files

5.0.1

2 release files

5.0.0

2 release files

1.0.0

1 release file

0.2.6

1 release file

0.2.5

1 release file

0.2.4

1 release file

0.2.3

1 release file

0.2.2

1 release file

0.2.1

1 release file

0.2.0

1 release file

0.1.9

1 release file

0.1.8

1 release file

0.1.7

1 release file

0.1.6

1 release file

0.1.5

1 release file

0.1.4

1 release file

0.1.3

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1.0

1 release file

0.0.17

1 release file

0.0.16

1 release file

0.0.15

1 release file

0.0.14

1 release file

0.0.13

1 release file

0.0.12

1 release file

0.0.11

1 release file

0.0.10

1 release file

0.0.9

1 release file

0.0.8

1 release file

0.0.7

1 release file

0.0.6

1 release file

0.0.5

1 release file

0.0.4

1 release file

0.0.3

1 release file

0.0.2

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page