# Python map & geospatial visualization libraries

> Interactive web maps and cartographic plots from Python. 7 tools, ranked by GitHub stars.

Libraries for maps in Python. folium, ipyleaflet and leafmap build interactive Leaflet maps, Lonboard renders large geospatial datasets with deck.gl, and Cartopy, PyGMT and prettymaps draw static, publication-ready maps.

| # | Tool | GitHub stars | Commits (12 mo) | License | Description |
|---:|---|---:|---:|---|---|
| 1 | [prettymaps](https://awesomedataviz.com/tools/prettymaps/) | 14,321 | 9 | AGPL-3.0 | Draws stylized maps from OpenStreetMap data, using osmnx and matplotlib. |
| 2 | [folium](https://awesomedataviz.com/tools/folium/) | 7,414 | 198 | MIT | Builds interactive Leaflet.js maps from Python data. |
| 3 | [leafmap](https://awesomedataviz.com/tools/leafmap/) | 3,794 | 130 | MIT | Interactive mapping and geospatial analysis in Jupyter with multiple mapping backends. |
| 4 | [Cartopy](https://awesomedataviz.com/tools/cartopy/) | 1,625 | 226 | BSD-3-Clause | Cartographic projections and geospatial data plotting with matplotlib. |
| 5 | [ipyleaflet](https://awesomedataviz.com/tools/ipyleaflet/) | 1,543 | 4 | MIT | Interactive Leaflet maps in Jupyter notebooks, built on ipywidgets. |
| 6 | [Lonboard](https://awesomedataviz.com/tools/lonboard/) | 975 | 157 | MIT | Fast, interactive geospatial data visualization in Jupyter, built on deck.gl and GeoArrow. |
| 7 | [PyGMT](https://awesomedataviz.com/tools/pygmt/) | 880 | 594 | BSD-3-Clause | Python interface to the Generic Mapping Tools (GMT) for maps and figures in the geosciences. |

Source: https://awesomedataviz.com/categories/python-maps/ · Data updated 2026-11-01 · Content: CC BY 4.0, Awesome Dataviz (https://awesomedataviz.com).
