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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rle_python-0.2.2.tar.gz (30.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rle_python-0.2.2-py3-none-any.whl (34.8 kB view details)

Uploaded Python 3

File details

Details for the file rle_python-0.2.2.tar.gz.

File metadata

  • Download URL: rle_python-0.2.2.tar.gz
  • Upload date:
  • Size: 30.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for rle_python-0.2.2.tar.gz
Algorithm Hash digest
SHA256 afc257b97428e6f57fd6281865f0ed02ca5a07bb41f4b4c498eaca100cf6fd46
MD5 94fc18e781b819bf97af550e79f93ae4
BLAKE2b-256 92c81042fef8cd3eb8e8ab1706f0c7fc7e4d87bce26d7700f242a1264c1d1aaf

See more details on using hashes here.

Provenance

The following attestation bundles were made for rle_python-0.2.2.tar.gz:

Publisher: publish.yml on RLE-Assessment/rle-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file rle_python-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: rle_python-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 34.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for rle_python-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 174ab48499b72f667748f6160481d86ca203d8f0642ca023c524467497ff6333
MD5 829ecf8a6664fb10295be35189ef6712
BLAKE2b-256 f6e4d821e2fa4df81049680306b67b50a44860b031f534bf6899ebcfdf9e4fd5

See more details on using hashes here.

Provenance

The following attestation bundles were made for rle_python-0.2.2-py3-none-any.whl:

Publisher: publish.yml on RLE-Assessment/rle-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.2.2 This release

2 files

0.2.0

2 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