Python library for bridging ZOO-Project execution context and calrissian
Project description
zoo-calrissian-runner
Python library for bridging ZOO-Project execution context and Calrissian
🔗 Dependencies
This runner now uses zoo-runner-common and zoo-template-common for shared functionality, eliminating duplicated code.
Key changes:
- ✅ Inherits from
BaseRunnerfor common methods - ✅ Uses shared
ZooConf,ZooInputs,ZooOutputs,CWLWorkflowclasses - ✅
ExecutionHandlerinherits fromCommonExecutionHandler(from zoo-template-common) - ✅ Focuses only on Calrissian/Kubernetes-specific logic
Installation
Install with zoo-runner-common dependency:
pip install zoo-calrissian-runner
# Or from source:
pip install -e .
Environment variables
STORAGE_CLASS: RWX storage class (use"hostpath"for Docker Desktop on Mac)CALRISSIAN_IMAGE: Calrissian container imageDEFAULT_VOLUME_SIZE: default size for RWX storage volumeDEFAULT_MAX_CORES: maximum number of cores if CWL doesn't specify resource requirementsDEFAULT_MAX_RAM: maximum RAM (in MB) if CWL doesn't specify resource requirements
CWL wrapper templates:
WRAPPER_STAGE_INWRAPPER_STAGE_OUTWRAPPER_STAGE_MAINWRAPPER_STAGE_RULES
Running the tests
Add a tests/.env file including the values with::
CR_USERNAME=""
CR_TOKEN=""
CR_ENDPOINT="https://index.docker.io/v1/"
CR_EMAIL=""
AWS_SERVICE_URL=""
AWS_REGION=""
AWS_ACCESS_KEY_ID=""
AWS_SECRET_ACCESS_KEY=""
KUBECONFIG=""
STORAGE_CLASS=""
DEFAULT_MAX_CORES=8
DEFAULT_MAX_RAM=1024
DEFAULT_VOLUME_SIZE=10000 # mebibytes (2**20)
ADES_STAGEOUT_OUTPUT=""
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 zoo_calrissian_runner-0.4.0.tar.gz.
File metadata
- Download URL: zoo_calrissian_runner-0.4.0.tar.gz
- Upload date:
- Size: 162.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b0ecd8676e420afe89867fcdca2f71f702c449ac0946e93d484f0151abf525df
|
|
| MD5 |
fb6066aadb645ea30a115edb27f0cfc7
|
|
| BLAKE2b-256 |
4bdb90bce71c734c7d78af71e7d3ef515bb11efc78f43b6eaa9db299b8ee875b
|
Provenance
The following attestation bundles were made for zoo_calrissian_runner-0.4.0.tar.gz:
Publisher:
package.yml on ZOO-Project/zoo-calrissian-runner
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
zoo_calrissian_runner-0.4.0.tar.gz -
Subject digest:
b0ecd8676e420afe89867fcdca2f71f702c449ac0946e93d484f0151abf525df - Sigstore transparency entry: 846150983
- Sigstore integration time:
-
Permalink:
ZOO-Project/zoo-calrissian-runner@cccd8cf9fc79e09a7fe5505b693aba762b629de1 -
Branch / Tag:
refs/tags/v0.4.0 - Owner: https://github.com/ZOO-Project
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
package.yml@cccd8cf9fc79e09a7fe5505b693aba762b629de1 -
Trigger Event:
release
-
Statement type:
File details
Details for the file zoo_calrissian_runner-0.4.0-py3-none-any.whl.
File metadata
- Download URL: zoo_calrissian_runner-0.4.0-py3-none-any.whl
- Upload date:
- Size: 11.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 |
783dd991b3b2a7b7b7163c025cde6c0edb335a80a4b1f9c71e71eb9c388f59f8
|
|
| MD5 |
4239210b485a06064841ece64113ef03
|
|
| BLAKE2b-256 |
295d4d76a7da07cf59dd9375d12cde70de61f5ac8230919b428370cc4df12421
|
Provenance
The following attestation bundles were made for zoo_calrissian_runner-0.4.0-py3-none-any.whl:
Publisher:
package.yml on ZOO-Project/zoo-calrissian-runner
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
zoo_calrissian_runner-0.4.0-py3-none-any.whl -
Subject digest:
783dd991b3b2a7b7b7163c025cde6c0edb335a80a4b1f9c71e71eb9c388f59f8 - Sigstore transparency entry: 846150986
- Sigstore integration time:
-
Permalink:
ZOO-Project/zoo-calrissian-runner@cccd8cf9fc79e09a7fe5505b693aba762b629de1 -
Branch / Tag:
refs/tags/v0.4.0 - Owner: https://github.com/ZOO-Project
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
package.yml@cccd8cf9fc79e09a7fe5505b693aba762b629de1 -
Trigger Event:
release
-
Statement type: