mapclassify
Classification Schemes for Choropleth Maps.
Decision gist · record as of 2026-08-14
Yes. Mapclassify is actively maintained, has no known vulnerabilities, uses a permissive BSD 3-Clause license, and solves a specific problem in geographic data visualization. Install it if you are building choropleth maps and need to classify continuous spatial data into discrete color classes.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.12 or later.
- Low install friction with a pure Python wheel.
- Active maintenance with a recent release and steady development.
License · maintenance · safety
BSD 3-Clause (permissive) — BSD 3-Clause permissive license allows commercial and private use with minimal restrictions, requiring only license and copyright notice retention.
last release 2026-08-11 (3 days) · last repo commit 2026-08-11 · 151 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 913,662 downloads/mo, #4,737 on PyPI
Alternatives
Verify before relying
pip install mapclassify
import mapclassify
# Pass data and classification scheme to mapclassify for class assignment- Whether the package supports all common choropleth classification methods beyond what the description implies.
- Performance characteristics when classifying large spatial datasets.
- Whether it integrates directly with upstream packages or requires manual data passing.
What it is and what it does
Mapclassify solves the problem of how to divide continuous geographic data into discrete classes for color-coded choropleth maps. It focuses on the algorithmic side—determining how many classes to use and which observations belong in each—leaving the actual map rendering to downstream visualization packages. The package is built on a stack of scientific Python tools: numpy for numerical operations, pandas for data handling, scikit-learn and scipy for statistical methods, and networkx for graph-based algorithms that some classification schemes may require.
Typically used in geographic data science workflows, it sits between raw spatial data and visualization, taking continuous values and producing class assignments that make choropleth maps readable and meaningful. The package is maintained as part of the PySAL ecosystem and is actively developed.
Use it for
- Determine optimal class boundaries for a choropleth map before rendering with downstream visualization tools.
- Assign spatial data to color classes using different classification algorithms to compare visual patterns.
- Classify continuous geographic data into discrete categories for thematic mapping.
- Experiment with multiple classification schemes on the same dataset to find the most effective visualization.
- Automate class assignment in batch geographic data processing pipelines.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
Mapclassify is actively maintained, has no known vulnerabilities, uses a permissive BSD 3-Clause license, and solves a specific problem in geographic data visualization. Install it if you are building choropleth maps and need to classify continuous spatial data into discrete color classes.
Install
mapclassify on PyPI
Before you install
Low install friction with a pure Python wheel. Active maintenance with a recent release and steady development. Requires Python 3.12 or later.
Requires Python 3.12 or later.
License in practice
BSD 3-Clause permissive license allows commercial and private use with minimal restrictions, requiring only license and copyright notice retention.
Quickstart
pip install mapclassify
import mapclassify
# Pass data and classification scheme to mapclassify for class assignment
Verify before relying
- Whether the package supports all common choropleth classification methods beyond what the description implies.
- Performance characteristics when classifying large spatial datasets.
- Whether it integrates directly with upstream packages or requires manual data passing.
Package facts
| License | BSD 3-Clause permissive |
| Python support | Supports the current Python release >=3.12 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 5 packagesnetworkxnumpypandasscikit-learnscipy |
| Maintenance | Actively maintained 3 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 913,662 / month, #4,737 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Intended Audience :: Science/ResearchLicense :: OSI Approved :: BSD LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3Topic :: Scientific/Engineering :: GIS |
Evidence: mapclassify-2.11.0-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 › “choropleth map classification”
- mapclassifyMapclassify implements classification schemes for choropleth maps,…
- highcharts-mapsHighcharts Maps for Python wraps the Highcharts Maps JavaScript…
- jupyter-leafletjupyter-leaflet provides interactive map widgets for Jupyter…
Give your agent the search over MCP, or paste the wish link into any chat.
More GIS packages
Shapely provides Python tools for creating, manipulating, and analyzing 2D geometric objects (points, lines, polygons) using the GEOS library, with both scalar and vectorized NumPy-based operations.
pyproj provides a Python interface to PROJ, enabling cartographic projections and coordinate system transformations for geospatial applications.
GeoPandas extends pandas DataFrames to handle geographic data, combining pandas operations with shapely geometry and spatial analysis capabilities that would otherwise require a spatial database.
Install it if you work with geographic data in Python and want to avoid setting up a spatial database or learning a separate GIS tool.
geopy is a Python client for geocoding and distance calculation that converts addresses to coordinates and vice versa using multiple web-based geocoding services, and computes geodesic and great-circle distances between geographic points.
Install it if you need geocoding or distance calculations in your application.
Pyogrio provides fast, bulk-oriented read and write access to vector spatial data formats (Shapefile, GeoPackage, GeoJSON, etc.) via GDAL/OGR bindings, typically for use with GeoPandas GeoDataFrames.
h3 provides Python bindings to Uber's H3 geospatial indexing library, converting geographic coordinates into hierarchical hexagonal grid cells and performing spatial operations on them.
See also pointpats · plotbin · pystac-ext-classification · segregation · splot · dask-geopandas · tobler · pysal · giddy