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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
445dea889fd61afe6b157d850603c045f986b6a5aad1897a8e36e3dad9c2f6ed
|
|
| MD5 |
e03465687e1ab170aaf0daf9bbfb2ab6
|
|
| BLAKE2b-256 |
96cca6f8603489df929a97f9a1bc7751a8f3a446133a2621f82711a793745ef9
|
Provenance
The following attestation bundles were made for rle_python-0.2.0.tar.gz:
Publisher:
publish.yml on RLE-Assessment/rle-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
rle_python-0.2.0.tar.gz -
Subject digest:
445dea889fd61afe6b157d850603c045f986b6a5aad1897a8e36e3dad9c2f6ed - Sigstore transparency entry: 2169329365
- Sigstore integration time:
-
Permalink:
RLE-Assessment/rle-python@2d7e7a1f2d5a0da0db73704c10360d745e8fad71 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/RLE-Assessment
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@2d7e7a1f2d5a0da0db73704c10360d745e8fad71 -
Trigger Event:
release
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
26f793af264bc3c4c1feede37cb9f474690de75bd01d9dbf8f6257c5620cb468
|
|
| MD5 |
701bed1339270a9ef83a87c44a3011d8
|
|
| BLAKE2b-256 |
5d0d9d8e3f5fbaf008761120c18011cea10bd254c950e1d51794eec83fd18a68
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
rle_python-0.2.0-py3-none-any.whl -
Subject digest:
26f793af264bc3c4c1feede37cb9f474690de75bd01d9dbf8f6257c5620cb468 - Sigstore transparency entry: 2169329388
- Sigstore integration time:
-
Permalink:
RLE-Assessment/rle-python@2d7e7a1f2d5a0da0db73704c10360d745e8fad71 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/RLE-Assessment
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@2d7e7a1f2d5a0da0db73704c10360d745e8fad71 -
Trigger Event:
release
-
Statement type: