pysal/libpysal

Core components of Python Spatial Analysis Library

Python

293

5,431 commits

updated Oct 6, 2026

See the code

README

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:

@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).

gis
spatial-data
spatial-statistics

pysal/libpysal

Core components of Python Spatial Analysis Library

Python

293

5,431 commits

updated Oct 6, 2026

See the code

README

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:

@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).

gis
spatial-data
spatial-statistics

Project health

Overall

5.1/10

Maintained

5/10

Code review

10/10
OpenSSF Scorecard

Latest release

4.15.0 · Jul 3, 2026

Releases this year

3

Significant stargazers

Adam J. Stewart

383 followers · starred Sep 2025

Hendursaga

7 followers · starred Jul 2023