Skip to main content

earthengine-vscode-map

Python bridge to the interactive map panel of the Earth Engine VS Code extension.

The extension embeds a Leaflet map with a Python bridge server. This package exposes a Map module that mirrors the Earth Engine Code Editor API (Map.addLayer, Map.centerObject, Map.setCenter, Map.clear) and forwards the calls to that bridge. All Earth Engine graphs are serialised locally and evaluated by the extension host — the Python side never resolves tile URLs.

Usage

import ee
from vscee import Map

ee.Initialize(project="my-project")

image = ee.Image("COPERNICUS/S2_SR/20200101T100319_20200101T100321_T32TQM")
Map.addLayer(image, {"bands": ["B4", "B3", "B2"], "min": 0, "max": 3000}, "RGB")
Map.centerObject(image, zoom=10)

For a single-band palette with discrete intervals, pass ordered boundaries in breaks. There must be one more boundary than colors; without breaks, palette remains a continuous gradient.

Map.addLayer(image, {
    "bands": ["B8"],
    "breaks": [0, 1000, 2000, 3000],
    "palette": ["#2b83ba", "#abdda4", "#d7191c"],
}, "Near Infrared")

Requirements

  • Python >=3.9

  • The Earth Engine VS Code extension installed and active

  • A valid ee.Initialize(project=...) call before any Map.* invocation

Install

From the repository root:

pip install -e python/

License

Apache License 2.0 — see LICENSE.

Metadata

Release files for vscee 0.11.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for vscee 0.11.1
File Size Uploaded
vscee-0.11.1.tar.gz 4.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for vscee 0.11.1
File Interpreter ABI Platform
vscee-0.11.1-py3-none-any.whl Python 3 none any Details

Total release size: 8.5 kB

Release files / vscee-0.11.1.tar.gz

Download URL vscee-0.11.1.tar.gz
Size 4.1 kB
Tags Source
SHA-256 checksum
How to use checksums
649e85dcc3093483f7beffe2fea95683e0d18e996b7b480dd900675fe08ce520
BLAKE2b-256 checksum
How to use checksums
667b796d3944c26d156ebd197ecb2291e9acfac66da4539dacfa5a1757416f8f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 13, 2026.

Transparency log

Release files / vscee-0.11.1-py3-none-any.whl

Download URL vscee-0.11.1-py3-none-any.whl
Size 4.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a3f032686fca5c6bb4cd6791f518e41939a43b5a2823bb53cbf987ae7663fb0d
BLAKE2b-256 checksum
How to use checksums
c16c767ac927205bca39575fee3f8f1f7fe6c44c90550115700c990646f636b8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 13, 2026.

Transparency log

Release history Release notifications | RSS feed

0.12.0

2 release files

This release

0.11.1 This release

2 release files

0.11.0

2 release files

0.9.0

2 release files

0.8.0

2 release files

0.7.0

2 release files

0.6.11

2 release files

0.6.10

2 release files

0.6.9

2 release files

0.6.8

2 release files

0.6.7

2 release files

0.6.6

2 release 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