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.0

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.0
File Size Uploaded
vscee-0.11.0.tar.gz 4.1 kB Details

Built distribution (wheel)

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

Total release size: 8.5 kB

Release files / vscee-0.11.0.tar.gz

Download URL vscee-0.11.0.tar.gz
Size 4.1 kB
Tags Source
SHA-256 checksum
How to use checksums
2356dfc41ad53490bf202d3386d8444784ea7521c89475fc5655be9df99bc5c6
BLAKE2b-256 checksum
How to use checksums
09ba87cb78b4e5ffef8c7f92ed047408956fb2eae78247f6af57db17d87f0ebe
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.0-py3-none-any.whl

Download URL vscee-0.11.0-py3-none-any.whl
Size 4.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b007536ffce53a5d77e2032387e2296e17fb76f11cf25d6c1fb84de97f483aba
BLAKE2b-256 checksum
How to use checksums
6ed74a3b05e9e675c67bfa786f3edd210c20717e9d633e2c9dd3917d74e9dd87
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

0.11.1

2 release files

This release

0.11.0 This release

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