Skip to main content

RAS-Code ecosystem

Modular ecosystem to automate and extend HEC-RAS to your heart's content.

RAS-Code is a metadata-only package: it contains no importable code of its own. Add it once to install the complete ecosystem and its dependencies.

Installation

Add RAS-Code to a uv-managed project:

uv add ras-code

Or install it into the active environment:

uv pip install ras-code
# or
pip install ras-code

RAS Commander is pinned to 0.99.1 so a future Commander release cannot silently break a working RAS-Code environment.

Package managers treat declared dependencies as mandatory. If Commander is unavailable on your system and you want to continue with the core ecosystem, use this best-effort fallback:

uv add ras-code || {
    echo 'WARNING: RAS Commander could not be installed; continuing with RASmatazz only.'
    uv add rasmatazz
}

For pip-managed environments:

pip install ras-code || {
    echo 'WARNING: RAS Commander could not be installed; continuing with RASmatazz only.'
    pip install rasmatazz
}

Included projects

RASmatazz

The Swiss Army knife at the center of the ecosystem. RASmatazz provides composable tools for working directly with HEC-RAS projects and their related text, spatial, HDF5, DSS, and RAS Mapper data.

RAS Commander

Automation tools for HEC-RAS projects, plans, geometry, unsteady flow, model execution, and results. RAS-Code installs the tested 0.99.1 release.

SHPshifter

Extends the GeoPandas and rioxarray stack, helping replace desktop GIS workflows with pure Python.

funkshuns

Shared general-purpose utilities used throughout the ecosystem.

TXTure

Intuitive tools for reading, finding, and surgically editing structured, machine-readable ASCII files such as HEC-RAS project inputs.

DSSence

A Swiss Army knife for working with HEC-DSS files. DSSence and its DSS tooling are installed on Windows through RASmatazz's platform-specific dependencies.

License

Free software under the MIT license.

Metadata

Release files for ras-code 0.1.2

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

Source distribution (sdist)

Source distribution for ras-code 0.1.2
File Size Uploaded
ras_code-0.1.2.tar.gz 2.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ras-code 0.1.2
File Interpreter ABI Platform
ras_code-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 4.0 kB

Release files / ras_code-0.1.2.tar.gz

Download URL ras_code-0.1.2.tar.gz
Size 2.1 kB
Tags Source
SHA-256 checksum
How to use checksums
8a900b10fbae673ad1628d3a70affc5dfff33d091306af6ec702538c0f941d1d
BLAKE2b-256 checksum
How to use checksums
a04d9c9104675593a13348473479a1f22a360ebb0d39313db4602ea324690af5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.3 {"installer":{"name":"uv","version":"0.11.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / ras_code-0.1.2-py3-none-any.whl

Download URL ras_code-0.1.2-py3-none-any.whl
Size 2.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5d30b2aece449e77014a71c6d2e212b4af4564d876be85140f0faaefa13f7191
BLAKE2b-256 checksum
How to use checksums
8fef7fcb8e8c294db8130a5872ca057f715e3308d1ff6ddc4cb3d17bb123eb24
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.3 {"installer":{"name":"uv","version":"0.11.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

2 release files

0.1.0

2 release files

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