Abstracts the process of configuring workflows for various workflow management systems (WMS)
Project description
A4X-Orchestration
About
A4X-Orchestration is a Python library that abstracts the process of configuring a workflow to be agnostic of the workflow management system (WMS) used. When using A4X-Orchestration, users can configure their workflow for any supported WMS by performing the following steps:
- Define workflow tasks using A4X-Orchestration
- Combine workflow tasks into a workflow represented as a DAG using A4X-Orchestration
- Call A4X-Orchestration's
Workflow.convertmethod to get a WMS-specific representation of the workflow - If desired, perform additional, WMS-specific configuration using the output of
Workflow.convert
Support for different WMSes is (for the most part) not built directly into A4X-Orchestration. Instead, A4X-Orchestration uses entry point-based plugins to support different WMSes. So, to use A4X-Orchestration with a specific WMS, users must install the plugin for that WMS. Below is an unofficial list of all supported WMSes and how to install them:
| Plugin Name | Workflow Management System or Resource Manager |
Install Command |
|---|---|---|
| A4X Pegasus WMS | Pegasus | pip install a4x-pegasus-wms |
| Flux Plugin | Flux | N.A. (builtin) |
Dependencies
A4X-Orchestration has the following dependencies:
- Python 3.7 or newer
- networkx
- ruamel.yaml
- Jinja2
- importlib-metadata (only for Python versions less than 3.10)
Note that most users should not have to install these manually. Most Python package managers (e.g., pip)
will automatically install all these dependencies (except Python itself) when you install A4X-Orchestration.
Installation
There are two ways to install A4X-Orchestration: (1) with pip and (2) with Spack.
(1) Pip
A4X-Orchestration can be installed like most other Python packages by simply running:
$ python3 -m pip install a4x-orchestration
Additionally, users can install A4X-Orchestration from source by cloning the repository and running:
$ python3 -m pip install [-e] .
(2) Spack
Support for building with Spack is not yet implemented.
Using in Other Projects
A4X-Orchestration can be used by other projects once installed by simply importing it with:
from a4x.orchestration import ...
To make A4X-Orchestration a dependency of your project, simply add the following to pyproject.toml
for a pip-installable project:
[project]
dependencies = [
"a4x-orchestration"
]
Or add the following to package.py for a Spack-installable project:
depends_on("a4x-orchestration")
Contact Us
A4X-Orchestration is part of the Analytics4X project from the Global Computing Lab. For more information, please contact Michela Taufer (email: taufer@acm.org).
Copyright and License
Copyright 2025 Global Computing Lab.
A4X-Core is distributed under the terms of the Apache License, Version 2.0 with LLVM Exceptions.
See LICENSE and COPYRIGHT for more details.
SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
Acknowledgements
This material is based upon work supported by the US National Science Foundation under Grant No. 2530461, 2513101, 2331152, 2223704, 2138811, and 2103845.
This work was performed under the auspices of the U.S. Department of Energy by Lawrence Livermore National Laboratory under Contract DE-AC52-07NA27344 and was supported by the LLNL-LDRD Program under Project No. 24-SI-005.
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
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 a4x_orchestration-0.1.0b6.tar.gz.
File metadata
- Download URL: a4x_orchestration-0.1.0b6.tar.gz
- Upload date:
- Size: 44.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2564b6c512777d911a76d97848a4b642e01112a1b6b02aaa06836d1fe5483f8c
|
|
| MD5 |
d7705394150ca5968ce2b128fdaa18e2
|
|
| BLAKE2b-256 |
5af58d260f4fa1176508656ef4b7f8f507097a97e80061a23c600702ff3c11a7
|
Provenance
The following attestation bundles were made for a4x_orchestration-0.1.0b6.tar.gz:
Publisher:
build_and_upload_wheels.yml on Analytics4MD/a4x-orchestration
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
a4x_orchestration-0.1.0b6.tar.gz -
Subject digest:
2564b6c512777d911a76d97848a4b642e01112a1b6b02aaa06836d1fe5483f8c - Sigstore transparency entry: 1438583007
- Sigstore integration time:
-
Permalink:
Analytics4MD/a4x-orchestration@146f81174132d2c0dcbbee5c845433acf85e7381 -
Branch / Tag:
refs/tags/v0.1.0b6 - Owner: https://github.com/Analytics4MD
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build_and_upload_wheels.yml@146f81174132d2c0dcbbee5c845433acf85e7381 -
Trigger Event:
release
-
Statement type:
File details
Details for the file a4x_orchestration-0.1.0b6-py3-none-any.whl.
File metadata
- Download URL: a4x_orchestration-0.1.0b6-py3-none-any.whl
- Upload date:
- Size: 56.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8dea2dccd0618b35c4e8e0f6c66880edb68b9dfff95f774b01783e7001e313be
|
|
| MD5 |
73d25f9024a1cf32783ece03c37e30a2
|
|
| BLAKE2b-256 |
4cd86bcf9a77a7d95d7c6fa6ae1faddb770ff38f55e77e45af8fd88c9a12ce20
|
Provenance
The following attestation bundles were made for a4x_orchestration-0.1.0b6-py3-none-any.whl:
Publisher:
build_and_upload_wheels.yml on Analytics4MD/a4x-orchestration
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
a4x_orchestration-0.1.0b6-py3-none-any.whl -
Subject digest:
8dea2dccd0618b35c4e8e0f6c66880edb68b9dfff95f774b01783e7001e313be - Sigstore transparency entry: 1438583009
- Sigstore integration time:
-
Permalink:
Analytics4MD/a4x-orchestration@146f81174132d2c0dcbbee5c845433acf85e7381 -
Branch / Tag:
refs/tags/v0.1.0b6 - Owner: https://github.com/Analytics4MD
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build_and_upload_wheels.yml@146f81174132d2c0dcbbee5c845433acf85e7381 -
Trigger Event:
release
-
Statement type: