Rundra
Rundra is a portable experiment-execution framework for reproducible scientific computing. It provides stable run and task identities, explicit stochastic seeds, structured JSON output, immutable staged inputs, scheduler integration, and result retrieval through one command-line interface.
Installation
Rundra requires Python 3.12. Install the command as an isolated user tool:
uv tool install --python 3.12 rundra
rundr --version
rundr help
Install the optional MCP interface with:
uv tool install --python 3.12 'rundra[mcp]'
rundr-mcp --help
Basic workflow
An experiment combines an executable command, a YAML configuration, explicit resources, and one or more integer seeds:
For a conventional local project, place config.yaml beside
experiment.yaml; no rundra.yaml or target file is required. Rundra uses its
packaged native local target and reports the effective config source.
rundr validate experiment.yaml
rundr plan experiment.yaml
rundr run experiment.yaml
rundr plan experiment.yaml --seeds 0:3
rundr submit experiment.yaml --seeds 0:3
rundr wait RUN_ID --progress
rundr fetch RUN_ID
rundr run performs submission, waiting, and retrieval synchronously. Remote
targets can combine SSH transport, a Slurm, OpenPBS, or HTCondor scheduler,
rsync or shared staging, and an Apptainer container runtime. HTCondor currently
requires an explicitly shared workspace and supports reliable vanilla Task
clusters without dependencies or compact workers. Site connection, account,
queue, workspace, and authentication policy remain explicit operator
configuration.
If an asynchronous submission is interrupted, rundr resume RUN_ID recovers
its durable scheduler outcome without creating a duplicate Run. rundr list
returns compact paginated summaries, while rundr tasks RUN_ID pages through
Task details. Automatic fetch can avoid redundant bulk transfer when client and
target paths are safely visible through the same filesystem.
Automation
All important lifecycle commands support structured JSON through --json.
Agents should retain explicit Run IDs and use rundr await RUN_ID... --json
instead of interactive progress output or repeated model-driven polling.
The optional MCP
server exposes the same operation layer over stdio or authenticated Streamable
HTTP, including submission recovery and paginated discovery. Network transport
requires an environment-sourced bearer token and an explicit host policy; TLS
should terminate at an operator-managed reverse proxy.
Rundra does not store SSH keys, passwords, registry credentials, or scheduler credentials. Run only experiment definitions and source trees that you trust, because their declared commands execute with the configured user's privileges.
The source repository contains development documentation, examples, schemas, and the complete test suite.
Metadata
Release files for rundra 0.1.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| rundra-0.1.7.tar.gz | 246.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| rundra-0.1.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 531.0 kB
Release files / rundra-0.1.7.tar.gz
| Download URL | rundra-0.1.7.tar.gz |
|---|---|
| Size | 246.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b96c3f4595fe56e198af0a9ac481b83dcc1b8cc83ba84cc98364b64f51c31f37
|
|
BLAKE2b-256 checksum How to use checksums |
1b7ed6d78dc3729e58bf6b29940d39722df0af520ed5e2b8268da0be3b25b3d0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Aug 29, 2026.
Transparency logRelease files / rundra-0.1.7-py3-none-any.whl
| Download URL | rundra-0.1.7-py3-none-any.whl |
|---|---|
| Size | 285.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c28ecf8a5dad0d159f7c84cc65baa0ac6bc5b67f07e82f10dbd073c613183e1b
|
|
BLAKE2b-256 checksum How to use checksums |
e81688bd7303d3c86bb13ca64334261432e9e201634eb512beed6ad2f776e407
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Aug 29, 2026.
Transparency log