# pysal/pysal

PySAL: Python Spatial Analysis Library Meta-Package

Repository: https://github.com/pysal/pysal
Canonical: https://ross.abutalabs.com/products/pysal
Homepage: http://pysal.org/pysal
Language: Python
License: BSD-3-Clause
License Family: permissive
Last push: 2026-08-03T13:14:40+00:00

## Health v2 (maintenance only)
Score: 88/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 95, release rhythm 71, longevity 100
- inputs: {"age_days": 4943, "days_push": 30, "days_rel": 33, "gap_med": 180.0, "n_releases_24m": 5}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1521, forks 351 (observed 2026-08-28T04:04:57.807150+00:00)

## What it is
PySAL is an open-source Python library for geospatial data science with an emphasis on geospatial vector data, distributed as a meta-package bundling a family of spatial analysis packages. It supports exploratory spatial data analysis, spatial regression and econometrics, spatial graph construction, and visualization of spatial patterns.

## Use cases
- detect spatial clusters, hot-spots, and outliers in geospatial data
- build spatial weights matrices and graphs from points, lines, and polygons
- run spatial regression and spatial econometric models
- perform exploratory spatio-temporal data analysis
- measure spatial inequality, segregation, and distributional dynamics
- read and write geospatial vector file formats in Python

## When to choose
- you need spatial statistics or spatial econometrics in Python
- you want an integrated ecosystem of geospatial analysis packages
- you are doing exploratory analysis of vector geodata such as clusters and hot-spots

## When to avoid
- you only need raster data processing rather than vector spatial analysis
- you need a GIS desktop application rather than a Python library
- you require Python 2 support beyond the legacy 1.14 bug-fix-only release

## Facets
- artifact type: library
- maturity: active
- function: data-science, geospatial, math, data-visualization
- domain: data-science, analytics
- platform: python, cross-platform
- tags: spatial-analysis, spatial-statistics, spatial-econometrics, spatial-weights, exploratory-data-analysis, meta-package, geospatial

## Member repositories
- pysal/pysal (main) score 88

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:57.807150+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:31:53.120568+00:00, confidence not recorded.
  - readme: https://github.com/pysal/pysal (fetched 2026-08-28T04:04:57.807150+00:00, sha e40c39e57e87)
  - homepage: http://pysal.org/pysal (fetched 2026-08-29T11:34:56.641938+00:00, sha 5be736560520)
  - site_page: http://pysal.org/pysal/installation.html (fetched 2026-08-29T11:34:56.651249+00:00, sha 83d78a1789b1)
  - registry_pypi: https://pypi.org/pypi/pysal/json (fetched 2026-08-29T11:34:56.653166+00:00, sha cd3b2eff4bbd)
- Data as of 2026-08-30T08:39:29.467469+00:00.
