The PySAL Spatial graphs: networks, topology and inference (spaghetti) package is an open-source Python library for the analysis of network-based spatial data.

WWW: https://pysal.org/spaghetti/
