Rust Simple Climate Model (RSCM)
This is intended as a PoC of the use of Rust for simple climate models. The aim is to provide a framework for building components in both Rust and Python.
Design goals
- Fast
- Easy to extend
- Understandable by non-Rust developers
- Can be driven from Python
Getting Started
This project comprises of a Rust library and a Python package (rcsm)
which includes a Python extension module to provide access to the Rust library.
Dependencies
The following dependencies are required to build the project:
- Rust
- uv (Python package management)
after these dependencies have been installed the local Python environment can be initialised using:
make virtual-environment
Rust is a compiled language, the Python extension module must be recompiled after any changes to the Rust code. This can be done using:
make build-dev
Tests
Rust unit tests are embedded alongside the implementation files. These tests can be built and run using the following (or using RustRover):
cargo test
Documentation
A mkdocs-based documentation site is in the docs/ directory.
These docs provide an overview of the whole project
and provide reference documentation for the Python interface with some example notebooks.
These docs can be built using:
make docs
The documentation for the Rust codebase can be built using:
make docs-rust
Metadata
Release files for rscm 0.5.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 | |
|---|---|---|---|
| rscm-0.5.0.tar.gz | 234.0 kB | Details |
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| rscm-0.5.0-cp311-abi3-win_amd64.whl | CPython 3.11 | abi3 | Windows x86-64 | Details |
| rscm-0.5.0-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl | CPython 3.11 | abi3 | Linux glibc 2.17+ x86-64 | Details |
| rscm-0.5.0-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl | CPython 3.11 | abi3 | Linux glibc 2.17+ ARM64 | Details |
| rscm-0.5.0-cp311-abi3-macosx_11_0_arm64.whl | CPython 3.11 | abi3 | macOS 11.0+ ARM64 | Details |
| rscm-0.5.0-cp311-abi3-macosx_10_12_x86_64.whl | CPython 3.11 | abi3 | macOS 10.12+ x86-64 | Details |
Total release size: 8.2 MB
Release files / rscm-0.5.0.tar.gz
| Download URL | rscm-0.5.0.tar.gz |
|---|---|
| Size | 234.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c4a75148773ed1e034ca5d8b0593db3dd811876c85319e9996650084cbb9f70b
|
|
BLAKE2b-256 checksum How to use checksums |
157257f5ab671a7daef1cd1601e0c07c1c4b969df2e035f8f5339ca9eb5dc566
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Jan 26, 2026.
Transparency logRelease files / rscm-0.5.0-cp311-abi3-win_amd64.whl
| Download URL | rscm-0.5.0-cp311-abi3-win_amd64.whl |
|---|---|
| Size | 1.3 MB |
| Tags | CPython 3.11 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
8406730b2a581d2c4513d17fb41c1bffdee77fae63ddb830091c1521c27f87e4
|
|
BLAKE2b-256 checksum How to use checksums |
99d7d319e7a983ac4bffb8499189cb96eebe094608f02370463d56847b4b85af
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Jan 26, 2026.
Transparency logRelease files / rscm-0.5.0-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | rscm-0.5.0-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 1.7 MB |
| Tags | CPython 3.11 Linux glibc 2.17+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
ddf0246ec6ef941a6b728b5ab4731595a3e56af1c906a1afd02fc1a715fdf8a7
|
|
BLAKE2b-256 checksum How to use checksums |
47193f9b934868ee31fde790b00584c9d6fb2b0e1a308326b96114f5fa8c91f9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Jan 26, 2026.
Transparency logRelease files / rscm-0.5.0-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | rscm-0.5.0-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
|---|---|
| Size | 1.8 MB |
| Tags | CPython 3.11 Linux glibc 2.17+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
268360311394783285c712091bc5d34f7e48173183442c8d73327ad21e9ad6fe
|
|
BLAKE2b-256 checksum How to use checksums |
1ddebf95f88e2347b400608ebfc02a4659eebe8a5b10054775ee5afa24e00f7e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Jan 26, 2026.
Transparency logRelease files / rscm-0.5.0-cp311-abi3-macosx_11_0_arm64.whl
| Download URL | rscm-0.5.0-cp311-abi3-macosx_11_0_arm64.whl |
|---|---|
| Size | 1.6 MB |
| Tags | CPython 3.11 abi3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
0fc69442499324b9421cc6c2d5d15f25ac8d92c275290bf1f6808080175b8053
|
|
BLAKE2b-256 checksum How to use checksums |
4bae4c8db4e5106850d688bc4dac65fb337199eaa8a6efbf266d7f0fee806508
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Jan 26, 2026.
Transparency logRelease files / rscm-0.5.0-cp311-abi3-macosx_10_12_x86_64.whl
| Download URL | rscm-0.5.0-cp311-abi3-macosx_10_12_x86_64.whl |
|---|---|
| Size | 1.6 MB |
| Tags | CPython 3.11 abi3 macOS 10.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
1696e94fc447846862370251c7192a697b1418a06cff869bf857e68e3ea59dae
|
|
BLAKE2b-256 checksum How to use checksums |
31a936da543eaadf4bcdb6baa7b6a98f5bc5a78f3cc39f9acd537c00638b5102
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Jan 26, 2026.
Transparency log