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.12.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.12.0
File Size Uploaded
vscee-0.12.0.tar.gz 4.1 kB Details

Built distribution (wheel)

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

Total release size: 8.5 kB

Release files / vscee-0.12.0.tar.gz

Download URL vscee-0.12.0.tar.gz
Size 4.1 kB
Tags Source
SHA-256 checksum
How to use checksums
74a07576dd1825b98e3ad4694b320e55dbe95891e2fedda4e6a29f31d8d703dc
BLAKE2b-256 checksum
How to use checksums
5517039e29368ea438624669932b47a961d9a5badac83fd9c17400a5e4c31850
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 14, 2026.

Transparency log

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

Download URL vscee-0.12.0-py3-none-any.whl
Size 4.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1d956121a08e2876735f71747f8b81dac85c8856fe217903b641816961032e3e
BLAKE2b-256 checksum
How to use checksums
216b72870153d4d1ca2980b5bbbf68a1e0f3f4d533f71d8f8e40559d6637c754
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 14, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.12.0 This release

2 release files

0.11.1

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