inequality
inequality: Spatial inequality analysis
Decision gist · record as of 2026-08-14
Yes. The package is actively maintained, has no known vulnerabilities, low install friction, and a permissive license. It fills a specific role in the PySAL ecosystem for spatial inequality measurement. Install it if you are working with geographic or regional data and need to quantify distributional disparities.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.11 or later; libpysal must be installed as a runtime dependency.
- Low install friction with a pure-Python wheel distribution.
- Active maintenance as of July 2026, with recent commits and an open repository.
License · maintenance · safety
BSD 3-Clause (permissive) — BSD 3-Clause permissive license allows use in most commercial and open-source projects with minimal restrictions; attribution required but no copyleft obligations.
last release 2025-07-10 (400 days) · last repo commit 2026-07-07 · 36 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 100,658 downloads/mo, #12,977 on PyPI
Alternatives
Verify before relying
pip install inequality
import inequality
from libpysal import examples
# Load spatial data and apply inequality measures- Specific inequality metrics or methods provided by the package (e.g., Gini, Theil, Atkinson indices).
- Whether the package includes visualization functions beyond matplotlib integration.
- Performance characteristics or scalability limits for large spatial datasets.
What it is and what it does
Inequality is a PySAL module for measuring and analyzing spatial inequality—how unevenly a phenomenon is distributed across geographic regions. It provides statistical methods to quantify inequality patterns in spatial data, typically used alongside numpy, scipy, and pandas for data manipulation and matplotlib for visualization. The package is part of the broader PySAL ecosystem for spatial analysis in Python.
The package is designed for researchers and analysts working with geographic or regional data who need to compute inequality metrics and understand distributional disparities. It integrates with libpysal for spatial data structures and leverages standard scientific Python libraries for computation and display.
Use it for
- Measure income or wealth inequality across geographic regions or administrative boundaries.
- Analyze spatial disparities in economic indicators, health outcomes, or demographic variables.
- Compare inequality metrics over time to track changes in regional distribution patterns.
- Integrate inequality analysis into broader spatial statistical workflows within PySAL.
- Visualize inequality patterns on maps using matplotlib for publication or reporting.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The package is actively maintained, has no known vulnerabilities, low install friction, and a permissive license. It fills a specific role in the PySAL ecosystem for spatial inequality measurement. Install it if you are working with geographic or regional data and need to quantify distributional disparities.
Install
inequality on PyPI
Before you install
Low install friction with a pure-Python wheel distribution. Active maintenance as of July 2026, with recent commits and an open repository. Requires current Python (3.11+) and five common scientific dependencies (numpy, scipy, pandas, matplotlib, libpysal).
Requires Python 3.11 or later; libpysal must be installed as a runtime dependency.
License in practice
BSD 3-Clause permissive license allows use in most commercial and open-source projects with minimal restrictions; attribution required but no copyleft obligations.
Quickstart
pip install inequality
import inequality
from libpysal import examples
# Load spatial data and apply inequality measures
Verify before relying
- Specific inequality metrics or methods provided by the package (e.g., Gini, Theil, Atkinson indices).
- Whether the package includes visualization functions beyond matplotlib integration.
- Performance characteristics or scalability limits for large spatial datasets.
Package facts
| License | BSD 3-Clause permissive |
| Python support | Supports the current Python release >=3.11 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 5 packageslibpysalmatplotlibnumpypandasscipy |
| Maintenance | Actively maintained 400 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 100,658 / month, #12,977 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: inequality-1.1.2-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 › “spatial inequality measurement”
- inequalityInequality provides methods for measuring spatial inequality across…
- accessCalculates spatial accessibility metrics to measure how easily…
- pysalPySAL is a meta-package that bundles 29 spatial analysis libraries…
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 access · esda · libpysal · pointpats · tobler · segregation · pysal · momepy · spaghetti · giddy