Skip to main content

Analysis of Network-constrained Spatial Data

Project description

pysal/spaghetti

SPAtial GrapHs: nETworks, Topology, & Inference

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

snap_plot

Build & Versions

PyPI version GitHub version Build Status Documentation Status Coverage Status

Anaconda

Anaconda-Server Badge Anaconda-Server Badge Anaconda-Server Badge Anaconda-Server Badge

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

Languages

Pypi python versions Github languages Github top language

Licensing & Citation

License DOI

Misc.

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.


Examples

Installation

As of version 1.3, spaghetti officially supports Python 3.6 and 3.7 only. Please make sure that you are operating in a Python 3 environment.

Installing with conda via conda-forge (highly recommended)

To install spaghetti and all its dependencies, we recommend using the conda manager, specifically with the conda-forge channel. This can be obtained by installing the Anaconda Distribution (a free Python distribution for data science), or through miniconda (minimal distribution only containing Python and the conda package manager).

Using conda, spaghetti can be installed as follows:

$ conda config --set channel_priority strict
$ conda install --channel conda-forge spaghetti

Installing with PyPI

$ pip install spaghetti

or download the source distribution (.tar.gz) and decompress it to your selected destination. Open a command shell and navigate to the decompressed folder.

$ pip install .

Warning

When installing via pip, you have to ensure that the required dependencies for spaghetti are installed on your operating system. Details on how to install these packages are linked below. Using conda (above) avoids having to install the dependencies separately.

Install the most current development version of spaghetti by running:

$ pip install git+https://github.com/pysal/spaghetti

Requirements

Soft Dependencies

Contribute

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.

Support

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

License

The project is licensed under the BSD license.

BibTeX Citation

@misc{Gaboardi2018,
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 = {https://github.com/pysal/spaghetti},
keywords = {graph-theory,network-analysis,python,spatial-networks,topology}
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for spaghetti, version 1.3.1
Filename, size & hash File type Python version Upload date
spaghetti-1.3.1-py3-none-any.whl (32.7 kB) View hashes Wheel py3
spaghetti-1.3.1.tar.gz (31.6 kB) View hashes Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page