Skip to main content

cult-cargo

Curated Stimela2 cargo for popular radio astronomy software. See Image manifest for available images.

Regular userland install

pip install cult-cargo

This installs both cult-cargo and the required version of stimela.

Poweruser install

To work off the repo versions:

# activate your virtualenv
$ pip install -U pip
$ gh repo clone caracal-pipeline/stimela
$ gh repo clone caracal-pipeline/cult-cargo
$ pip install -e stimela
$ pip install -e cult-cargo

Sample recipe

#!/usr/bin/env -S stimela run -l
_include: 
  - (cultcargo)wsclean.yml

dummy-recipe:
  info: a dummy recipe
  steps:
    image:
      cab: wsclean

Overriding image versions

By default, cult-cargo will use the image versions designated as latest in its cargo manifest. These versions are always called ccX.Y.Z, where X.Y.Z is the cult-cargo release.

You can select a different image version on a per-cab basis as follows:

#!/usr/bin/env -S stimela run -l
_include: 
  - (cultcargo)wsclean.yml

cabs: 
  wclean:
    image:
      version: 2.10.1-kern7-cc0.2.0

dummy-recipe:
  info: a dummy recipe
  steps:
    image:
      cab: wsclean

Cab developers install

$ poetry install --with builder

This makes the build-cargo.py script available. The script is preconfigured to read cultcargo/builder/cargo-manifest.yml, which describes the images that must be built.

build-cargo.py -a will build and push all images, or specify an image name to build a particular one. Use -b to build but not push, or -p for push-only. Use -l to list available images.

The cultcargo folder contains YaML files with cab definitions.

If you would like to maintain your own image collection, write your own manifest and Dockerfiles following the cult-cargo example, and use the build-cargo.py script to build your images.

Using cult-cargo as a standalone image repository

You don't even need to run stimela (or indeed install anything) to take advantage of the images packaged with cult-cargo. The image manifest will provide a concise version, or else take a look at the image repository on https://quay.io/organization/stimela2.

For example, if you want to run a wsclean image, just do:

$ singularity build wsclean-3.3.sif docker:quay.io/stimela2/wsclean:3.3-cc0.2.0
$ singularity exec wsclean-3.3.sif wsclean 

Metadata

Release files for cult-cargo 0.2.1

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

Source distribution (sdist)

Source distribution for cult-cargo 0.2.1
File Size Uploaded
cult_cargo-0.2.1.tar.gz 87.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cult-cargo 0.2.1
File Interpreter ABI Platform
cult_cargo-0.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 212.2 kB

Release files / cult_cargo-0.2.1.tar.gz

Download URL cult_cargo-0.2.1.tar.gz
Size 87.0 kB
Tags Source
SHA-256 checksum
How to use checksums
511a596767654bd26eabeb7b6114c2ea2db7e8901b45de70ae6583b6194af0b4
BLAKE2b-256 checksum
How to use checksums
d09575cd8753070cec70f1a096c676d0d1b141b0d499770091b2b9ada3f4df64
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.4.1 CPython/3.11.0 Linux/6.17.0-1013-azure

Release files / cult_cargo-0.2.1-py3-none-any.whl

Download URL cult_cargo-0.2.1-py3-none-any.whl
Size 125.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6dbed2994c9349f3cdf8137ad9e152d94b08653db36ea6c500a3f0e398544ca5
BLAKE2b-256 checksum
How to use checksums
ecac8f5f950432325769ae8ac4fc1d6adf4840321daf289798e91d74d89af173
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.4.1 CPython/3.11.0 Linux/6.17.0-1013-azure
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