PySAL: Python Spatial Analysis Library
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github enh: make our public image better and add more templates Jul 17, 2018
doc DOC: Installation of legacy Jan 28, 2019
figs Redoing the README to play nice with pypi Sep 10, 2015
pysal DOC: add installation page Jan 27, 2019
tools release 1.14.3 Nov 2, 2017
.coveragerc coverage change Feb 14, 2017
.gitignore gitignore Nov 17, 2018
.travis.yml bug: trying to debug missing libpatialindex on travis Jan 5, 2019
CHANGELOG.txt DOC: Update changelog Jan 30, 2019
INSTALL.txt Update INSTALL.txt Sep 9, 2014
LICENSE.txt Update LICENSE.txt Feb 17, 2019
MANIFEST.in Include requirements files in MANIFEST.in Oct 2, 2016
MIGRATING.md update migration Jan 27, 2019
Makefile enh: clone releases of packages to build source meta relase Nov 17, 2018
README.md doc: bullets not block quote Feb 17, 2019
README.rst enh: make our public image better and add more templates Jul 17, 2018
README.txt fix for missing README.txt in prep for 1.91 Jan 31, 2015
THANKS.txt release 1.14.3 Nov 2, 2017
Vagrantfile ENH: clusterpy dependency for contrib/clusterpy Jun 16, 2014
authors.txt - added authors Feb 19, 2013
build.md DOC: add installation page Jan 27, 2019
build.py remove legendgram for this release Jul 14, 2018
commit_table.html enh: updated mgwr and spvcm. nostests pysal/model passes except for k… Jan 5, 2019
commits_by_person.html enh: updated mgwr and spvcm. nostests pysal/model passes except for k… Jan 5, 2019
contributor_table.html enh: updated mgwr and spvcm. nostests pysal/model passes except for k… Jan 5, 2019
convert.py enh: updated mgwr and spvcm. nostests pysal/model passes except for k… Jan 5, 2019
convert_docs.py enh: updated mgwr and spvcm. nostests pysal/model passes except for k… Jan 5, 2019
distribute_setup.py Adding helper for new distribute setuptools. Dec 3, 2011
download.py renaming Jul 17, 2018
gitcount-tables.ipynb ENH: bump release to 2.0 and refactor change log reporting Jan 27, 2019
gitcount.ipynb doc: update release announcement and statistics Dec 24, 2018
gitdownload.py enh: streamline download and convert scripts Sep 19, 2018
gitreleases.ipynb dealing with case Nov 17, 2018
gitreleases.py ENH: cloning rather than api crawl for builds Dec 1, 2018
packages.yml enh: adding splot and updated pointpats Dec 23, 2018
readthedocs.yml configure readthedocs Jan 30, 2019
requirements.txt refactor: changing to python 3+ only May 12, 2018
requirements_dev.txt enh: updated mgwr and spvcm. nostests pysal/model passes except for k… Jan 5, 2019
requirements_docs.txt DOC: readthedocs files Jan 30, 2019
requirements_plus.txt Raise ImportError on missing palettable Nov 2, 2017
rtd.txt Attempt to require sphinx version 1.4.3 Dec 5, 2016
setup.py configure readthedocs Jan 30, 2019
subtags enh: updated spint package Jan 5, 2019
tags.json enh: updated spint package Jan 5, 2019
tarballs.json dealing with case Nov 17, 2018

README.md

Python Spatial Analysis Library

image

image

image

image

LISA Maps of US County Homicide Rates

Above: Local Indicators of Spatial Association for Homicide Rates in US Counties 1990.

PySAL, the Python spatial analysis library, is an open source cross-platform library for geospatial data science with an emphasis on geospatial vector data written in Python. It supports the development of high level applications for spatial analysis, such as

  • detection of spatial clusters, hot-spots, and outliers
  • construction of graphs from spatial data
  • spatial regression and statistical modeling on geographically embedded networks
  • spatial econometrics
  • exploratory spatio-temporal data analysis

PySAL Components

  • explore - modules to conduct exploratory analysis of spatial and spatio-temporal data, including statistical testing on points, networks, and polygonal lattices. Also includes methods for spatial inequality and distributional dynamics.
  • viz - visualize patterns in spatial data to detect clusters, outliers, and hot-spots.
  • model - model spatial relationships in data with a variety of linear, generalized-linear, generalized-additive, and nonlinear models.
  • lib - solve a wide variety of computational geometry problems:
    • graph construction from polygonal lattices, lines, and points.
    • construction and interactive editing of spatial weights matrices & graphs
    • computation of alpha shapes, spatial indices, and spatial-topological relationships
    • reading and writing of sparse graph data, as well as pure python readers of spatial vector data.

Installation

PySAL is available through Anaconda (in the defaults or conda-forge channel) and Enthought Canopy. We recommend installing PySAL from conda-forge:

conda install pysal

PySAL can be installed using pip:

pip install pysal

As of version 2.0.0 PySAL has shifted to Python 3 only.

Users who need an older stable version of PySAL that is Python 2 compatible can install version 1.14.3 through pip or conda:

conda install pysal==1.14.3

Documentation

For help on using PySAL, check out the following resources:

Development

As of version 2.0.0, PySAL is now a collection of affiliated geographic data science packages. Changes to the code for any of the subpackages should be directed at the respective upstream repositories, and not made here. Infrastructural changes for the meta-package, like those for tooling, building the package, and code standards, will be considered.

Development is hosted on github.

Discussions of development as well as help for users occurs on the developer list as well as gitter.

Getting Involved

If you are interested in contributing to PySAL please see our development guidelines.

Bug reports

To search for or report bugs, please see PySAL's issues.

License information

See the file "LICENSE.txt" for information on the history of this software, terms & conditions for usage, and a DISCLAIMER OF ALL WARRANTIES.