Registry / gcp / eerepr

eerepr

JSON →
library0.1.2pypypi✓ verified 85d ago

Code Editor-style HTML reprs for Earth Engine data in Jupyter notebooks. Provides a better repr for ee.Image, ee.ImageCollection, ee.FeatureCollection, and ee.Geometry. Current version 0.1.2, requires Python >=3.8 and manual initialization since v0.1.0. Release cadence is irregular.

pip install eerepr
INSTALL
IMPORT
SIG · EEREPR
E
eerepr
gcppythonv0.1.2
Install
6.0s avg
Import
1811ms
Disk
155MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v0.1.2 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 1.846s · 154.6MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 6.0s · import 1.776s · 155MB
155MB installed
● package 155MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

eerepr
import eerepr
No common wrong import path.
initialize
eerepr.initialize()
eerepr.init()
The function is called initialize, not init.
reset
eerepr.reset()

Initialize Earth Engine and eerepr, then display an image to see the enhanced repr.

import ee, eerepr ee.Initialize() eerepr.initialize() ee.Image('LANDSAT/LC08/C02/T1_L2/LC08_044034_20201018')
Debug
Known issues
breakingSince v0.1.0, eerepr no longer initializes on import. You must call eerepr.initialize() manually after import.
fix
Add eerepr.initialize() to your notebook or script after import.
affects: >=0.1.0
deprecatedThe on_error parameter in initialize() defaults to 'warn' in v0.1.0+. In future versions the default may change to 'raise'.
fix
Explicitly set on_error='warn' or 'raise' to future-proof your code.
affects: >=0.1.0
breakingIn v0.0.5, HTML within Earth Engine objects is no longer rendered for security. If you relied on HTML rendering, this will break.
fix
Use the repr for inspection only; do not expect HTML to render.
affects: >=0.0.5
Errors
Common errors & fixes
AttributeError: module 'eerepr' has no attribute 'initialize'
Old version (<0.1.0) installed; initialize did not exist.
fix
Upgrade eerepr: pip install --upgrade eerepr
eerepr repr not showing; same as default repr
eerepr.initialize() was not called (required since v0.1.0).
fix
Call eerepr.initialize() after import.
TypeError: initialize() got an unexpected keyword argument 'max_repr_mbs'
Using max_repr_mbs parameter with eerepr <0.1.0.
fix
Upgrade eerepr to >=0.1.0.
Upgrade
Version history
0.1.2latest on PyPI · released May 2, 2025
Audit
Dependencies

No dependency data recorded yet.

Agent activity
39 hits · last 30 days
node
30
OpenAI (training)
1
Resources
eerepr — pip install eerepr · libregistry