yellow_belt_imaging — the TUI
A textual terminal interface for driving the full_containerized pipeline image under apptainer (or singularity) — the APPTAINER.md flow with widgets on it: environment checks, the configuration form, the SIF build, the run and its live output.
Install and run
pip install full_containerized/yellow_belt_imaging_tui # or -e for development
yellow_belt_imaging # the console script
python -m yellow_belt_imaging # same thing
What it does
- checks the environment first: apptainer is preferred, singularity is the fallback — the version shows on the status line and Run/Build stay disabled when neither is on PATH;
- the configuration form: MS_PATH (raw
*.ms), OUT_PATH (relative paths are fine under apptainer), the optionalBEAMS_DIR(read-only source cubes) andBEAM_CUBE_DIR(writable beam products — the on-demand source-cube render and its ~5.4 GB BDS cache land here) — each with a Browse… directory picker (textual-fspicker: navigate into the directory, press Select) — plusRAM_GB(the budget that sets the resolution),NCPU,BAND, the image tag and SIF path, and switches forUVMAX_USE_PROFILE_CAP,VALIDATEand validate-only (-d); - Check validates the configuration before anything runs (path existence, the writable MS parent, RAM_GB/NCPU as whole numbers, BEAM_CUBE_DIR ≠ BEAMS_DIR) and reports the SIF, the image reference and where the BDS cache will go;
- Build SIF runs
apptainer build $HOME/meerkat-pipeline.sif docker://ghcr.io/tmolteno/meerkat-pipeline:<tag>with the tmpdir moved off a small/tmp, streaming the output; - Run pipeline runs
apptainer run -B <ms dir> <sif>with the full environment (including the cab-image cache redirect), streams the pipeline into the log pane, and Cancel SIGTERMs (then SIGKILLs) the whole run. - Remembers your parameters: every Run or Build launch writes the full
configuration to
.meerkat_tui_paramin the working directory, and the next launch pre-populates the form from it (a missing or corrupt file falls back to the defaults). The file is gitignored in the repository. - Copy output (
ctrl+oor the button): puts the whole output pane on the terminal clipboard (OSC 52; most terminals — macOS's stock Terminal.app is the notable exception). For mouse selection while the app runs, hold shift and drag — terminals pass shift-drags through to their own selection even when a TUI claims the mouse (xterm, GNOME Terminal, kitty, iTerm2, Windows Terminal).
Everything the TUI does is the headless equivalent documented in
APPTAINER.md; the child environment and command lines come
from yellow_belt_imaging/runner.py, which is unit-testable without a display
(see tests/test_yellow_belt_imaging_tui.py in the repository root).
Releases (PyPI, Trusted Publishing)
.github/workflows/yellow-belt-imaging.yml publishes on a
yellow-belt-imaging-vX.Y.Z tag (which must match the pyproject version): it
builds the sdist + wheel, smoke-tests the wheel's entry point and imports, and
uploads to PyPI with Trusted Publishing (OIDC — no API token; the workflow
itself is the credential, environment: pypi).
One-time setup on PyPI: register the Trusted Publisher (on the project's Publishing page, or as a pending publisher for the first release) with
| field | value |
|---|---|
| owner | tmolteno |
| repository | meerkat_imaging |
| workflow filename | yellow-belt-imaging.yml |
| environment | pypi |
then
git tag -a yellow-belt-imaging-v0.1.0 -m "yellow-belt-imaging v0.1.0"
git push origin yellow-belt-imaging-v0.1.0
Bump the version in this pyproject.toml in the same work block as the tag.
Metadata
Release files for yellow-belt-imaging 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| yellow_belt_imaging-0.1.0.tar.gz | 15.8 kB | With provenance | Details for yellow_belt_imaging-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| yellow_belt_imaging-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for yellow_belt_imaging-0.1.0-py3-none-any.whl |
Total release size: 31.9 kB
Release files / yellow_belt_imaging-0.1.0.tar.gz
| Download URL | yellow_belt_imaging-0.1.0.tar.gz |
|---|---|
| Size | 15.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7e8191f7fb83d8f721a3311ba28f7e1126c3de3b618abede3fcdabb6a02749b5
|
|
BLAKE2b-256 checksum How to use checksums |
060f96fc1f7ef6e595826fc2380012aa04959993126613c5443ff81bd70872d2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.
Transparency logRelease files / yellow_belt_imaging-0.1.0-py3-none-any.whl
| Download URL | yellow_belt_imaging-0.1.0-py3-none-any.whl |
|---|---|
| Size | 16.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7f1b634bcfb35247fb19eb2afc03ed80df94f9bcb5cf68c6288d04ca02ca9b4b
|
|
BLAKE2b-256 checksum How to use checksums |
77836f1db148d213eaa04ba8b3d5aeb254dfa40620e4f8c96292a79e1af28a4a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.
Transparency logSecurity for yellow-belt-imaging 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for yellow_belt_imaging-0.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.