GitPedia

Libpysal

Core components of Python Spatial Analysis Library

From pysal·Updated June 11, 2026·View on GitHub·

**libpysal** offers five modules that form the building blocks in many upstream packages in the [PySAL family](https://pysal.org): The project is written primarily in Python, distributed under the Other license, first published in 2017. Key topics include: gis, spatial-data, spatial-statistics.

Latest release: v4.14.1
January 9, 2026View Changelog →

libpysal: Python Spatial Analysis Library Core

Continuous Integration
codecov
PyPI version
Conda Version
DOI
Discord
SPEC 0 — Minimum Supported Dependencies

Introduction

libpysal offers five modules that form the building blocks in many upstream packages
in the PySAL family:

  • libpysal.cg – Computational geometry
  • libpysal.examples – Built-in example datasets
  • libpysal.graph – Graph class encoding spatial weights matrices
  • libpysal.io – Input and output
  • libpysal.weights – Spatial weights (legacy)

Documentation

The documentation of libpysal is available at
pysal.org/libpysal.

Development

libpysal development is hosted on GitHub.

Discussions of development occurs on PySAL Discord.

Contributing

PySAL-libpysal is under active development and contributors are welcome. If you have any
suggestions, feature requests, or bug reports, please open new
issues on GitHub. To submit patches, please
review PySAL's documentation for developers, the PySAL
development guidelines, and the
libpysal contributing guidelines
before opening a pull request. Once your
changes get merged, you’ll automatically be added to the
Contributors List.

Citing libpysal

If you use PySAL in a scientific publication, we would appreciate citations to the
following paper:

PySAL: A Python Library of Spatial Analytical Methods,
Rey, S.J. and L. Anselin, Review of Regional Studies 37, 5-27 2007.

Bibtex entry:

bibtex
@Article{pysal2007, author={Rey, Sergio J. and Anselin, Luc}, title={{PySAL: A Python Library of Spatial Analytical Methods}}, journal={The Review of Regional Studies}, year=2007, volume={37}, number={1}, pages={5-27}, keywords={Open Source; Software; Spatial} }

License information

The package is licensed under BSD 3-Clause License (Copyright (c) 2007-, PySAL
Developers).

Contributors

Showing top 12 contributors by commit count.

View all contributors on GitHub →

This article is auto-generated from pysal/libpysal via the GitHub API.Last fetched: 6/14/2026