Skip to main content

rle-python

Core tools for IUCN Red List of Ecosystems (RLE) analysis.

rle-python provides the RLE data model and assessment business logic (Extent of Occurrence, Area of Occupancy grids, ecosystem code assignment, criteria/categories) together with local and cloud-file data access — it has no Earth Engine dependency.

Everything imports under the shared rle namespace:

from rle.core import Ecosystems, make_aoo_grid, make_eoo

eco = Ecosystems.from_file("ecosystems.geojson", ecosystem_column="ECO_NAME")
aoo = make_aoo_grid(eco).compute()
print(aoo.cell_count, aoo.aoo_km2)

eoo = make_eoo(eco).compute()
print(eoo.area_km2)

Installation

pip install rle-python            # local files
pip install rle-python[gcs]       # + gs:// GeoParquet (gcsfs)
pip install rle-python[aws]       # + s3:// GeoParquet (s3fs)
pip install rle-python[viz]       # + interactive maps (lonboard) / static fallback

Optional backends

Additional data sources are provided by separate distributions that install into the same rle namespace and register themselves for discovery:

pip install rle-python-gee        # Google Earth Engine backends -> rle.gee
from rle.gee import GeeEcosystems
eco = GeeEcosystems("projects/my-project/assets/ecosystems")

List the backends available in your environment:

rle backends

Layout

rle-python ships the rle.core package under a PEP 420 namespace (rle/), so multiple rle-* distributions can coexist without conflict.

Metadata

Release files for rle-python 0.2.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 rle-python 0.2.2
File Size Uploaded Provenance Actions
rle_python-0.2.2.tar.gz 30.2 kB With provenance Details for rle_python-0.2.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for rle-python 0.2.2
File Interpreter ABI Platform Actions
rle_python-0.2.2-py3-none-any.whl Python 3 none any Details for rle_python-0.2.2-py3-none-any.whl

Total release size: 65.0 kB

Release files / rle_python-0.2.2.tar.gz

Download URL rle_python-0.2.2.tar.gz
Size 30.2 kB
Tags Source
SHA-256 checksum
How to use checksums
afc257b97428e6f57fd6281865f0ed02ca5a07bb41f4b4c498eaca100cf6fd46
BLAKE2b-256 checksum
How to use checksums
92c81042fef8cd3eb8e8ab1706f0c7fc7e4d87bce26d7700f242a1264c1d1aaf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.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 Jul 24, 2026.

Transparency log

Release files / rle_python-0.2.2-py3-none-any.whl

Download URL rle_python-0.2.2-py3-none-any.whl
Size 34.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
174ab48499b72f667748f6160481d86ca203d8f0642ca023c524467497ff6333
BLAKE2b-256 checksum
How to use checksums
f6e4d821e2fa4df81049680306b67b50a44860b031f534bf6899ebcfdf9e4fd5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.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 Jul 24, 2026.

Transparency log

Security for rle-python 0.2.2

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

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for rle_python-0.2.2.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 Jul 24, 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.2.2 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