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:

PyPI version Conda Version Conda Downloads Gitter
Build Status Documentation Coverage Status Conda Recipe
GitHub issues open Github pull requests open Pypi python versions License
GitHub issues closed Github pull requests closed Code style: black DOI

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},
    doi       = {10.5281/zenodo.1343650},
    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.

Source Distribution

spaghetti-1.4.0.tar.gz (35.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

spaghetti-1.4.0-py3-none-any.whl (34.4 kB view details)

Uploaded Python 3

File details

Details for the file spaghetti-1.4.0.tar.gz.

File metadata

  • Download URL: spaghetti-1.4.0.tar.gz
  • Upload date:
  • Size: 35.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/43.0.0 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.7.3

File hashes

Hashes for spaghetti-1.4.0.tar.gz
Algorithm Hash digest
SHA256 b1c2a25d542e9b181096206b249e65006a080c11ba342edb7686bc10d0486ec8
MD5 bd9aaccc527bc64af6057b7810ac9de5
BLAKE2b-256 b1871026a192b2493694d1ce6c740fb124b2a91028b255954df5291ed242c476

See more details on using hashes here.

File details

Details for the file spaghetti-1.4.0-py3-none-any.whl.

File metadata

  • Download URL: spaghetti-1.4.0-py3-none-any.whl
  • Upload date:
  • Size: 34.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/43.0.0 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.7.3

File hashes

Hashes for spaghetti-1.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b388b9722864a6c6852a8d82d19cfaa9dfffdbd6de9963f8e5363c7d0695d93f
MD5 8ef72f46420b82bf9e510df5bf9af402
BLAKE2b-256 78e11aa5842ae944ea845bcc7d83324b7b8d9123c44a6af55f711d530ab6219c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page