libpysal: Python Spatial Analysis Library Core
Introduction
libpysal offers five modules that form the building blocks in many upstream packages in the PySAL family:
libpysal.cg– Computational geometrylibpysal.examples– Built-in example datasetslibpysal.graph– Graph class encoding spatial weights matriceslibpysal.io– Input and outputlibpysal.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).
Metadata
Release files for libpysal 4.15.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| libpysal-4.15.0.tar.gz | 6.8 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| libpysal-4.15.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.3 MB
Release files / libpysal-4.15.0.tar.gz
| Download URL | libpysal-4.15.0.tar.gz |
|---|---|
| Size | 6.8 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
db9eee1579678a2eec6974c831dc93abf612a4df5a3c45e9d7ed35ea5f9e2497
|
|
BLAKE2b-256 checksum How to use checksums |
54947b7d286e65b66db8bcd0eb18accae8d68501b432cb7255fe9d264338cf22
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 3, 2026.
Transparency logRelease files / libpysal-4.15.0-py3-none-any.whl
| Download URL | libpysal-4.15.0-py3-none-any.whl |
|---|---|
| Size | 2.5 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
081b603c385dd237254b5698e524a0f072b1698db0ceca33c6dcecdbdbedeb6e
|
|
BLAKE2b-256 checksum How to use checksums |
da45ede6d644008022592ba97211a562eca7cce527a0adc061028716fa20d34f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 3, 2026.
Transparency log