Skip to content
PySAL: Python Spatial Analysis Library
Branch: master
Clone or download
sjsrey Merge pull request #1084 from bakerwho/master
fixed links under Documentation in README.md
Latest commit d8c4166 Mar 9, 2019
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
pysal DOC: add installation page Jan 27, 2019
tools
.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
INSTALL.txt Update INSTALL.txt Sep 9, 2014
LICENSE.txt
MANIFEST.in Include requirements files in MANIFEST.in Oct 2, 2016
MIGRATING.md update migration Jan 27, 2019
Makefile
README.md fixed links under Documentation in README.md Mar 9, 2019
README.rst
README.txt fix for missing README.txt in prep for 1.91 Jan 31, 2015
THANKS.txt
Vagrantfile ENH: clusterpy dependency for contrib/clusterpy Jun 16, 2014
authors.txt
build.md
build.py
commit_table.html
commits_by_person.html
contributor_table.html enh: updated mgwr and spvcm. nostests pysal/model passes except for k… Jan 5, 2019
convert.py
convert_docs.py
distribute_setup.py
download.py
gitcount-tables.ipynb
gitcount.ipynb doc: update release announcement and statistics Dec 24, 2018
gitdownload.py enh: streamline download and convert scripts Sep 19, 2018
gitreleases.ipynb
gitreleases.py ENH: cloning rather than api crawl for builds Dec 1, 2018
packages.yml
readthedocs.yml
requirements.txt
requirements_dev.txt
requirements_docs.txt
requirements_plus.txt
rtd.txt
setup.py
subtags
tags.json
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.

You can’t perform that action at this time.