Skip to main content

PyRORB

PyRORB is an in-development Python package for selected RORB rainfall–runoff procedures, including canonical dependency-light RORB report readers maintained in PyRORB. Normal Python runs and the public regression suite require no private repository and no native RORB executable. This is not a certified full CMD replacement or a scientifically accepted hydrologic product. The latest selected software release is v26.11.29.2; final MVP release acceptance remains open.

The repository, distribution and sole Python import namespace are pyrorb. The import-package rename in #266 intentionally removes the former runoff_routing package; update imports and module commands when installing a release containing this change. Older published wheels retain their original layout. The owner accepts the breaking import change; downstream migration is not a PyRORB publication prerequisite. See the naming policy for stable file-format and provenance identifiers.

Install and execute a supplied storm

Python 3.11, 3.12, 3.13 or 3.14 (3.14 preferred for development), on Linux or Windows, is supported for pure-Python development. From a checkout of Chain-Frost/pyrorb:

python -m pip install -r requirements-catg.txt -e ".[dev]"
python repo-scripts/check_local.py

The first command installs the package, development tools and the optional PR-pinned PyRomb writer. To install only the core checkout, use python -m pip install -e .; edited CATG export requires the separately installed writer. See CATG authoring. The second runs repository, Ruff, strict Pyright and non-native test checks. A virtual environment is optional. For an existing explicit S1 run document, run the checked-in synthetic example:

from pathlib import Path
from pyrorb.integration import read_run_json, run_model

model = read_run_json(Path("examples/synthetic-run.json").read_text(encoding="utf-8"))
result = run_model(model)
print(result.to_csv())

This executes the supported direct S2 engineering API. Schema-based project and CLI execution uses the temporary python-cmd default described below. The example is a software smoke check, not unrestricted native/engineering-accuracy acceptance. See the quickstart for projects, explicit engine selection, batches, installed wheels and reproducible offline regression.

Three selectable product engines

Engine ID Role Current main availability
python-cmd Temporary project/CLI default, CMD 6.44 compatible arithmetic Bounded computation and original-source regression; full feature/physical qualification remains under #5.
python Explicit independent engineering implementation; intended long-term default Supported event/batch method, including merged #110/#125 mode-2 and code-2/impervious counterparts; broader accuracy remains separately qualified.
rorb-cmd Explicit optional user-installed native CMD adapter Verified local executable/configuration and supported inputs; no bundled binary or engine fallback.

Projects preserve the engine/profile separately from rainfall source and method. Historical engine-less schema-1 projects retain python; explicitly stored choices never migrate silently. See the engine contract and current status for supported subsets and acceptance limits.

Development priority

The CLI/text-file MVP #119, deterministic rainfall preparation #136/#175, reporting #155 and the import/edit/export/reader programme #138–#143 are delivered on main. Current work includes the owner-approved provisional Monte Carlo CLI/API/text implementation from PR #151. Its reproducible sampling, routed-event and weighted-frequency software is available on main, but RORBwin statistical equivalence, full probability support and design-flood engineering accuracy are not qualified. The accepted #258 acceleration on main adds explicit opt-in compiled CMD, parallel execution, durable checkpointing and improved frequency processing. Its measured 800,000-event run took 966.069 s, missing the original 600 s target but accepted for this bounded delivery; further optimisation #265 is deferred. The #258 acceleration and #270 canonical integration postdate the v26.11.29.2 release; measured performance belongs to the specific benchmark revision, not every subsequent wheel. See method and limitations. Current status and the backlog identify remaining work. Advanced #114–#118 and saved RORBwin PAR #144 remain deferred. Deliverables are CLI, Python API and text files; no graphical-interface implementation, design or planning is included.

Regression and outstanding acceptance

The self-contained public regression guide uses one maintained register and comparator. Current bounded original-CMD evidence is 50/50 printed Q cases / 19,550 ordinates, 48 reporting-scalar passes and two undefined all-zero peak-time incompletes. The former 14 source exclusions were admitted by #132; 36-case results are historical. Original native gaps, authored controls and unresolved feature/site/physical qualifications remain explicit. --snapshot compares historical candidate outputs and does not execute the installed engine. Exact source/wheel receipts are linked from current status.

The engineering method and CMD deviation policy, batch contract, single CMD feature matrix and open CMD gate #5 distinguish delivered software from scientific acceptance. Monte Carlo's independently verified software subset is admitted provisionally, while #9 remains open for native/source/statistical/physical-catchment qualification. v26.11.29.2 is the latest selected software release; #264 was subsequently merged with [skip release]. Routine protected unattended publication and final MVP scientific acceptance remain distinct under #10/#213. Canonical reader transfer #233 and downstream compatibility migration ryan-tools #340 are complete; #231 is closed.

Documentation and source custody

  • Quickstart and commands · documentation index · development guide · source register · regression policy.
  • Preserve authentic native inputs, original source identities/hashes, exact raw clocks, full horizons and frozen metrics. Approved, path-sanitised public data are versioned test evidence; original and transformed bytes are not interchangeable.
  • The private investigations repository is for agent research only. No executable, manual, restricted capture, client data or private installation path is distributed. The optional RORBwin loss profile is experimental and not the default method. This project is not endorsed by RORB's authors or custodians.

Python compatibility: 24 November 2026 migration receipt.

Metadata

Release files for pyrorb 26.12.1.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 pyrorb 26.12.1.1
File Size Uploaded Provenance Actions
pyrorb-26.12.1.1.tar.gz 577.5 kB With provenance Details for pyrorb-26.12.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pyrorb 26.12.1.1
File Interpreter ABI Platform Actions
pyrorb-26.12.1.1-py3-none-any.whl Python 3 none any Details for pyrorb-26.12.1.1-py3-none-any.whl

Total release size: 951.6 kB

Release files / pyrorb-26.12.1.1.tar.gz

Download URL pyrorb-26.12.1.1.tar.gz
Size 577.5 kB
Tags Source
SHA-256 checksum
How to use checksums
496192976eab626c1399d259f965254c044e1f4de32836f2d5f57e74656ffb26
BLAKE2b-256 checksum
How to use checksums
06db4b2ea88c7a0605fd232e816184e1385bdfb242610aca6340cbb032b21b93
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 30, 2026.

Transparency log

Release files / pyrorb-26.12.1.1-py3-none-any.whl

Download URL pyrorb-26.12.1.1-py3-none-any.whl
Size 374.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2400d7fcbb3a5db500709ea0f36d423c416ca67fd52c11a7af02e6628d113d4a
BLAKE2b-256 checksum
How to use checksums
570e4f6c8716212c5fff6ec584ac81e3afdfeb6f23adc749abd242f16094ac7a
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 30, 2026.

Transparency log

Security for pyrorb 26.12.1.1

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.

Select from 2 files

Attestation for pyrorb-26.12.1.1.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 30, 2026.

Transparency log

A 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.

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