Skip to content
SPAtial GrapHs: nETworks, Topology, & Inference
Branch: master
Clone or download
jGaboardi Merge pull request #255 from jGaboardi/geopandas_3_0
bumping down geopandas requirement to 0.3.0
Latest commit 174a0dd Mar 23, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Update `bug` template Dec 28, 2018
figs updated snap_plot.png Dec 9, 2018
notebooks correction in notebooks/Network_Usage.ipynb Dec 22, 2018
tools updating changelod__ Feb 27, 2019
.travis.yml all basic reqs not being installed in PYSAL_PLUS Mar 17, 2019 rel: v1.1.1 changes Oct 31, 2018
LICENSE.txt adding Aug 26, 2018
requirements.txt adding pandas as a requirement Feb 3, 2019
requirements_docs.txt adding esda to requirements_docs.txt Sep 19, 2018
requirements_plus.txt bumping down geopandas requirement to 0.3.0 Mar 20, 2019
requirements_tests.txt removing nose-exclude from reqs_tests Mar 12, 2019 correcting typo in Mar 12, 2019


SPAtial GrapHs: nETworks, Topology, & Inference

An example of snapping observation points to a network and plotting:


Build & Versions

PyPI version GitHub version Build Status Documentation Status Coverage Status

Issues & Pull Requests

GitHub issues open GitHub issues closed Github pull requests open Github pull requests closed

Commit Activity

Github commit activity Github commit activity Github commit activity

Community & GitHub Stats

Github contributors Gitter Github forks Github stars Github watchers


Pypi python versions Github languages Github top language

Licensing & Citation

License DOI


Github search hit counter Github code size in bytes Github repo size in bytes

This package is part of a refactoring of PySAL.

Spaghetti is an open-source python library for the analysis of network-based spatial data. Originating from the network module in PySAL (Python Spatial Analysis Library), it is under active development for the inclusion of newly proposed methods for building graph-theoretic networks and the analysis of network events.



(Recommended) Install the latest stable of spaghetti by running:

$ pip install spaghetti

Install the most current development version of spaghetti by running:

$ pip install git+


  • scipy
  • numpy
  • libpysal


PySAL-spaghetti is under active development and contributors are welcome.

If you have any suggestion, feature request, or bug report, please open a new issue on GitHub. To submit patches, please follow the PySAL development guidelines and open a pull request. Once your changes get merged, you’ll automatically be added to the Contributors List.


If you are having issues, please create an issue or talk to us in the gitter room.


The project is licensed under the BSD license.

BibTeX Citation

author = {Gaboardi, James D. and Laura, Jay and Rey, Sergio and Wolf, Levi John and Folch, David C. and Kang, Wei and Stephens, Philip and Schmidt, Charles},
month = {oct},
year = {2018},
title = {pysal/spaghetti},
url = {},
keywords = {graph-theory,network-analysis,python,spatial-networks,topology}
You can’t perform that action at this time.