PyGMT
Python interface to the Generic Mapping Tools (GMT) for maps and figures in the geosciences.
- Active
- BSD-3-Clause
- Python
- Python map & geospatial visualization libraries
- GitHub stars
- 881
- PyPI downloads / week
- 11.2K
- Commits, last 12 months
- 594
- Contributors
- 62
- Last commit
- Latest release
- v0.19.0Jul 7, 2026
Overview
PyGMT is an open-source Python mapping library released under the BSD-3-Clause license. Its GitHub repository has 881 stars, 260 forks, and 62 contributors. It is actively developed with 594 commits in the last 12 months. The latest release, v0.19.0, was published on Jul 7, 2026. On PyPI it is downloaded about 11.2K times per week.
Its GitHub description: A Python interface for the Generic Mapping Tools.
GitHub topics: pythongeoscienceearth-sciencegeophysicsmapsseismologyhacktoberfest
Install
Development activity
Commits per month to the default branch over the last 12 complete months.
Show data as a table
| Month | Commits |
|---|---|
| Nov 2025 | 46 |
| Dec 2025 | 69 |
| Jan 2026 | 49 |
| Feb 2026 | 44 |
| Mar 2026 | 37 |
| Apr 2026 | 81 |
| May 2026 | 23 |
| Jun 2026 | 40 |
| Jul 2026 | 56 |
| Aug 2026 | 66 |
| Sep 2026 | 42 |
| Oct 2026 | 41 |
Popularity among Python map & geospatial visualization libraries
Show data as a table
| Tool | Stars |
|---|---|
| prettymaps | 14,364 |
| folium | 7,424 |
| leafmap | 3,801 |
| Cartopy | 1,629 |
| ipyleaflet | 1,546 |
| Lonboard | 980 |
| PyGMT | 881 |
Alternatives to PyGMT
-
prettymaps
Draws stylized maps from OpenStreetMap data, using osmnx and matplotlib.
-
folium
Builds interactive Leaflet.js maps from Python data.
-
leafmap
Interactive mapping and geospatial analysis in Jupyter with multiple mapping backends.
-
Cartopy
Cartographic projections and geospatial data plotting with matplotlib.
-
ipyleaflet
Interactive Leaflet maps in Jupyter notebooks, built on ipywidgets.
-
Lonboard
Fast, interactive geospatial data visualization in Jupyter, built on deck.gl and GeoArrow.
PyGMT FAQ
Is PyGMT open source?
Is PyGMT still maintained?
How do I install PyGMT?
pip install pygmt.What are the best alternatives to PyGMT?
What language is PyGMT written in?
Data: GitHub API, PyPI. Updated Nov 21, 2026.