SPAtial GrapHs: nETworks, Topology, & Inference

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.

Citing spaghetti

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

Bibtex entry:

  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}