leafmap
A Python package for geospatial analysis and interactive mapping in a Jupyter environment.
Decision gist · record as of 2026-08-14
Yes. Leafmap is actively maintained, has no known vulnerabilities, installs with low friction, and offers a well-integrated solution for interactive geospatial work in Jupyter. It is particularly valuable if you need to combine mapping, vector/raster analysis, and interactive exploration without switching between tools. The large dependency tree (23 runtime packages) is manageable given the wheel distribution and active support for modern Python versions.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires a Jupyter environment (Notebook, Lab, Google Colab, or marimo) to display interactive maps.
- Low install friction with a pure-Python wheel distribution.
- Active maintenance with a release 12 days ago and 3757 GitHub stars.
License · maintenance · safety
MIT license (permissive) — MIT license is permissive, allowing commercial and private use with minimal restrictions—suitable for most projects.
last release 2026-08-02 (12 days) · last repo commit 2026-08-10 · 3,757 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 84,024 downloads/mo, #14,035 on PyPI
Alternatives
Verify before relying
pip install leafmap
import leafmap
m = leafmap.Map()
m.show()- Whether all 23 runtime dependencies install smoothly together in typical environments.
- Performance characteristics when working with large raster or vector datasets.
- Extent of WhiteboxTools integration and whether the 500+ tools are all accessible through the GUI.
What it is and what it does
Leafmap is a Python package for interactive geospatial mapping and analysis designed to work in Jupyter environments. It wraps several established libraries—folium and ipyleaflet for mapping, geopandas for vector data, WhiteboxTools for geospatial analysis, and ipywidgets for interactive interfaces—into a unified API that lets you load and visualize geospatial data with one line of code. The package supports multiple mapping backends, interactive basemap switching, vector and raster data display, and includes a GUI for users who prefer not to code.
Leafmap addresses the gap between simple visualization libraries and full GIS platforms by providing bidirectional communication between the browser and Python backend, enabling interactive exploration and editing of spatial data. It is aimed at both novice users with limited programming skills and advanced developers building interactive web applications. The package includes tools for drawing and editing vector features, searching STAC catalogs and other geospatial data sources, inspecting raster pixel values, and creating choropleth and heat maps.
Use it for
- Explore and visualize satellite imagery, digital elevation models, and other gridded geospatial datasets interactively in a notebook.
- Load and analyze vector data (shapefiles, GeoJSON, GeoPackage) alongside raster layers for spatial analysis.
- Create split-panel or linked maps to compare different datasets or time series side by side.
- Perform geospatial analysis using WhiteboxTools for tasks like hydrology, LiDAR processing, or terrain analysis without leaving the notebook.
- Build interactive web applications for geospatial data exploration with minimal coding overhead.
- Search and download geospatial data from STAC catalogs, OpenStreetMap, and other public sources directly in your workflow.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
Leafmap is actively maintained, has no known vulnerabilities, installs with low friction, and offers a well-integrated solution for interactive geospatial work in Jupyter. It is particularly valuable if you need to combine mapping, vector/raster analysis, and interactive exploration without switching between tools. The large dependency tree (23 runtime packages) is manageable given the wheel distribution and active support for modern Python versions.
Install
leafmap on PyPI
Before you install
Low install friction with a pure-Python wheel distribution. Active maintenance with a release 12 days ago and 3757 GitHub stars. Supports Python 3.9 through 3.13.
Requires a Jupyter environment (Notebook, Lab, Google Colab, or marimo) to display interactive maps.
License in practice
MIT license is permissive, allowing commercial and private use with minimal restrictions—suitable for most projects.
Quickstart
pip install leafmap
import leafmap
m = leafmap.Map()
m.show()
Verify before relying
- Whether all 23 runtime dependencies install smoothly together in typical environments.
- Performance characteristics when working with large raster or vector datasets.
- Extent of WhiteboxTools integration and whether the 500+ tools are all accessible through the GUI.
Package facts
| License | MIT license permissive |
| Python support | Supports the current Python release >=3.9 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 23 packagesanywidgetbqplotduckdbfoliumgdowngeojsongeopandasipyeventsipyfilechooseripyleafletipyvueipyvuetifyipywidgetsmaplibrematplotlibnumpypandasplotlypystac-clientpython-boxscoobywhiteboxguixyzservices |
| Maintenance | Actively maintained 12 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 84,024 / month, #14,035 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseNatural Language :: EnglishProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.9 |
Evidence: leafmap-0.63.1-py2.py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “interactive geospatial mapping jupyter”
- leafmapLeafmap enables interactive geospatial mapping and analysis in…
- keplerglA Jupyter widget that embeds kepler.gl's interactive geospatial…
- ipyleafletipyleaflet embeds interactive Leaflet maps directly into Jupyter…
Give your agent the search over MCP, or paste the wish link into any chat.
More Information Analysis packages
A drop-in replacement for Python's standard `re` module that adds advanced regex features like nested sets, fuzzy matching, lookaround in conditionals, and full Unicode case-folding while maintaining backward compatibility.
pyarrow provides Python bindings to Apache Arrow's C++ libraries for efficient columnar data processing, serialization, and interoperability with pandas, NumPy, and other Python ecosystem tools.
NetworkX provides data structures and algorithms for creating, analyzing, and manipulating graphs and networks, supporting everything from simple undirected graphs to complex directed and weighted networks.
Connects Python applications to Snowflake data warehouses using the DB API 2.0 specification, enabling SQL queries, data transfers, and warehouse operations.
ContourPy calculates contours of 2D quadrilateral grids using C++11 algorithms wrapped in Python, offering serial and multithreaded implementations without requiring Matplotlib as a dependency.
Snowpark Python provides APIs to query and process data directly in Snowflake without moving data to your local system, with support for both native Snowpark and pandas-compatible interfaces.
Install it if you use Snowflake and want to process data without moving it to your application layer.
See also folium · geemap · whiteboxgui · ipyleaflet · whitebox · keplergl · jupyter-leaflet · pydeck · streamlit-folium · highcharts-maps