Skip to main content

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 BaseRunner for common methods
  • ✅ Uses shared ZooConf, ZooInputs, ZooOutputs, CWLWorkflow classes
  • ExecutionHandler inherits from CommonExecutionHandler (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 image
  • DEFAULT_VOLUME_SIZE: default size for RWX storage volume
  • DEFAULT_MAX_CORES: maximum number of cores if CWL doesn't specify resource requirements
  • DEFAULT_MAX_RAM: maximum RAM (in MB) if CWL doesn't specify resource requirements

CWL wrapper templates:

  • WRAPPER_STAGE_IN
  • WRAPPER_STAGE_OUT
  • WRAPPER_STAGE_MAIN
  • WRAPPER_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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

zoo_calrissian_runner-0.4.0.tar.gz (162.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

zoo_calrissian_runner-0.4.0-py3-none-any.whl (11.6 kB view details)

Uploaded Python 3

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

Hashes for zoo_calrissian_runner-0.4.0.tar.gz
Algorithm Hash digest
SHA256 b0ecd8676e420afe89867fcdca2f71f702c449ac0946e93d484f0151abf525df
MD5 fb6066aadb645ea30a115edb27f0cfc7
BLAKE2b-256 4bdb90bce71c734c7d78af71e7d3ef515bb11efc78f43b6eaa9db299b8ee875b

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file zoo_calrissian_runner-0.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for zoo_calrissian_runner-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 783dd991b3b2a7b7b7163c025cde6c0edb335a80a4b1f9c71e71eb9c388f59f8
MD5 4239210b485a06064841ece64113ef03
BLAKE2b-256 295d4d76a7da07cf59dd9375d12cde70de61f5ac8230919b428370cc4df12421

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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