Skip to main content

Core tools for IUCN Red List of Ecosystems analysis with local and cloud data access

Project description

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.

Project details


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.0.tar.gz (26.8 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.0-py3-none-any.whl (31.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for rle_python-0.2.0.tar.gz
Algorithm Hash digest
SHA256 445dea889fd61afe6b157d850603c045f986b6a5aad1897a8e36e3dad9c2f6ed
MD5 e03465687e1ab170aaf0daf9bbfb2ab6
BLAKE2b-256 96cca6f8603489df929a97f9a1bc7751a8f3a446133a2621f82711a793745ef9

See more details on using hashes here.

Provenance

The following attestation bundles were made for rle_python-0.2.0.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.0-py3-none-any.whl.

File metadata

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

File hashes

Hashes for rle_python-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 26f793af264bc3c4c1feede37cb9f474690de75bd01d9dbf8f6257c5620cb468
MD5 701bed1339270a9ef83a87c44a3011d8
BLAKE2b-256 5d0d9d8e3f5fbaf008761120c18011cea10bd254c950e1d51794eec83fd18a68

See more details on using hashes here.

Provenance

The following attestation bundles were made for rle_python-0.2.0-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.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page