Skip to main content

rumi (python)

Python bindings for Rumi, stateless raster storage for AI4EO. Rumi stores images as (B, Y, X) and time series as (T, B, Y, X).

pip install rumi-eo

Rumi currently supports Linux and macOS and requires Python 3.11 or newer. The format and APIs may change before 1.0. See the project README for examples and the format specification for the wire format.

Reads return NumPy by default. PyTorch, JAX and TensorFlow results use DLPack; framework="dlpack" returns the one-shot producer itself. Compatibility is checked before opening the source, and Rumi never casts a dtype to make it fit.

PyTorch can read straight into a CUDA tensor on Linux or an MPS tensor on macOS:

chip = rumi.read(path, header, framework="torch", device="cuda:0",
                 window=(row, column, height, width))

mps_chip = rumi.read(path, header, framework="torch", device="mps",
                     window=(row, column, height, width))

cpu_decoded = rumi.read(path, header, framework="torch", device="mps",
                         decode_backend="cpu",
                         window=(row, column, height, width))

The header, byte ranges and copy plan stay on the CPU. PFOR and PivCo frames of one- and two-byte samples decode on the device when they have one chunk; other frames use CPU staging before GeoZL writes the result to the selected GPU. decode_backend="cpu" forces complete CPU decoding for all selected frames; "auto" is the default. MPS reads require PyTorch 2.10 or newer. GPU frame planning follows rumi.set_num_threads or RUMI_NUM_THREADS, set before the first read, and defaults to one thread per process. R and Julia device arrays are not implemented yet.

Metadata

Release files for rumi-eo 0.29.0

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

Built distributions (wheels)

Table of built distributions (wheels) for rumi-eo 0.29.0
File Interpreter ABI Platform Actions
rumi_eo-0.29.0-py3-none-manylinux_2_28_x86_64.whl Python 3 none Linux glibc 2.28+ x86-64 Details for rumi_eo-0.29.0-py3-none-manylinux_2_28_x86_64.whl
rumi_eo-0.29.0-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details for rumi_eo-0.29.0-py3-none-macosx_11_0_arm64.whl

Total release size: 17.7 MB

Release files / rumi_eo-0.29.0-py3-none-manylinux_2_28_x86_64.whl

Download URL rumi_eo-0.29.0-py3-none-manylinux_2_28_x86_64.whl
Size 13.0 MB
Tags Linux glibc 2.28+ x86-64 Python 3
SHA-256 checksum
How to use checksums
38a380bb42558495ba88d73e5aead48bdc796c175edea6f5ed353c51058015dc
BLAKE2b-256 checksum
How to use checksums
df6fa43d59829c5ecbbbc4a74042fc9e823000499896c6458ad8b1eb25353bbf
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 Nov 6, 2026.

Transparency log

Release files / rumi_eo-0.29.0-py3-none-macosx_11_0_arm64.whl

Download URL rumi_eo-0.29.0-py3-none-macosx_11_0_arm64.whl
Size 4.7 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
3e77ad041ed4e2803872b46083e16124d71a634f2e1e1f8a697e30c6b03dff5d
BLAKE2b-256 checksum
How to use checksums
a6ea0e47ed78a27e266b0b572eb455e11be2fc4b70182250b235b644f5d80be7
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 Nov 6, 2026.

Transparency log

Security for rumi-eo 0.29.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.

Select from 2 files

Attestation for rumi_eo-0.29.0-py3-none-manylinux_2_28_x86_64.whl

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 6, 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.

Release history Release notifications | RSS feed

This release

0.29.0 This release

2 release files Full provenance

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