LabelEarth Engine Python API
Python client for the LE computing engine. Construct and serialize Earth
Engine-style expressions with import le, then submit them to an LE deployment.
The engine determines which operators and output destinations are supported.
Requires Python 3.10 or newer. Install with:
python -m pip install --upgrade labelearthengine-api
The matching labelearth-api-python-client dependency is installed automatically.
Initialize
import le
# Use your own engine; this overrides all service roots, including tiles.
le.Initialize(url="http://127.0.0.1:8001")
print(le.Number(7).getInfo())
le.Initialize() without a URL uses the service addresses in le/endpoints.py.
This release ships the current public AWS test deployment's gateway, map, tile,
value and thumbnail addresses. It is a test service, with no availability promise;
requests are sent to that remote deployment. Use an explicit URL for your server.
No Google login is required for the default LE initialization.
For long synchronous requests, le.data.setDeadline(960_000) sets the client
deadline in milliseconds; it does not extend the server's execution limit.
Artifact exports
region = le.Geometry.Rectangle([0, 0, 0.01, 0.01])
task = le.batch.Export.image.toArtifact(
le.Image.constant(1), region=region, crs="EPSG:4326", dimensions="2x2"
)
task.start()
print(task.status())
Poll task.status() until it reaches a terminal state. Completed LE exports
provide response.artifact; Google Drive/Asset destinations require their own
server implementations. The imported GEE API surface is not a claim that the
LE engine implements every GEE operation or CLI command.
Source and attribution
This is an independently maintained adaptation of the
Google Earth Engine Python API,
with LE endpoint routing, bundled discovery/algorithm metadata and artifact
export handling. It is not an official Google distribution. Original copyright
notices are retained; see LICENSE and NOTICE for attribution.
Distribution name: labelearthengine-api. Import name: le.
Metadata
Release files for labelearthengine-api 0.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| labelearthengine_api-0.0.6.tar.gz | 423.4 kB | Without provenance | Details for labelearthengine_api-0.0.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| labelearthengine_api-0.0.6-py3-none-any.whl | Python 3 | none | any | Details for labelearthengine_api-0.0.6-py3-none-any.whl |
Total release size: 876.7 kB
Release files / labelearthengine_api-0.0.6.tar.gz
| Download URL | labelearthengine_api-0.0.6.tar.gz |
|---|---|
| Size | 423.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
23d35955137853e201b30cc22bf77a9b9d0371236e44646d9021c587bdf80993
|
|
BLAKE2b-256 checksum How to use checksums |
9cc58c88581d3204f8189e4606aa64a6286b7ac9c705db875ab6d5cf98560d9e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.14
|
Release files / labelearthengine_api-0.0.6-py3-none-any.whl
| Download URL | labelearthengine_api-0.0.6-py3-none-any.whl |
|---|---|
| Size | 453.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2a0ecc5c25bf43cc6a26ace9382e0c40dff1a3d5271392c69c78ea77ae105583
|
|
BLAKE2b-256 checksum How to use checksums |
a349cea6930e09b2b10db10b5060b31ba729868624153baba1bec712816f932e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.14
|
Security for labelearthengine-api 0.0.6
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.