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.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| libpysal-4.15.1.tar.gz | 6.8 MB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| libpysal-4.15.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.3 MB
Release files / libpysal-4.15.1.tar.gz
| Download URL | libpysal-4.15.1.tar.gz |
|---|---|
| Size | 6.8 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
df4d91e93b6cdf3c9d3a47ae9c0ce6efa85502b227496a36178facafd594c4d1
|
|
BLAKE2b-256 checksum How to use checksums |
31ae635085d48ac69a4b723d56a38101688eabea2c72606f78a50cd31eb95922
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Oct 22, 2026.
Transparency logRelease files / libpysal-4.15.1-py3-none-any.whl
| Download URL | libpysal-4.15.1-py3-none-any.whl |
|---|---|
| Size | 2.5 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
50b723d7e14600c9cd6ddb639ee3849c42673ac12ac785100dc7a40b97462238
|
|
BLAKE2b-256 checksum How to use checksums |
864b9456e95f8d30a3bb6022b8bbe5ab9b9c15eb4d355529084da5073ca08cab
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Oct 22, 2026.
Transparency logSecurity for libpysal 4.15.1
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.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for libpysal-4.15.1.tar.gz
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 Oct 22, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.