Skip to main content

A library of spatial analysis functions.

Project description

Python Spatial Analysis Library

https://travis-ci.org/pysal/pysal.svg https://coveralls.io/repos/pysal/pysal/badge.svg?branch=master https://badges.gitter.im/pysal/pysal.svg https://readthedocs.org/projects/pip/badge/?version=latest 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 data, including statistical testing on points, networks, and polygonal lattices.

  • 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.

  • dynamics - characterize distributional change, both internally and externally, for spatial and nonspatial distributions.

  • 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 repository, 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 <https://github.com/pysal/pysal/wiki/GitHub-Standard-Operating-Procedures>

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.

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

pysal-2.0.0.tar.gz (24.9 MB view details)

Uploaded Source

File details

Details for the file pysal-2.0.0.tar.gz.

File metadata

  • Download URL: pysal-2.0.0.tar.gz
  • Upload date:
  • Size: 24.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.14.2 setuptools/39.2.0 requests-toolbelt/0.9.1 tqdm/4.23.4 CPython/3.6.1

File hashes

Hashes for pysal-2.0.0.tar.gz
Algorithm Hash digest
SHA256 e8dc75e48a6a16e89f295f7a25868671837862cb7d4862a3a171ddc80d07a23f
MD5 5795e9c09d3e10d646a122e6481280f4
BLAKE2b-256 837e73a34dbe08c6a03e7e776f518cc2a681bdfa96b012adfb3b70375fc9966c

See more details on using hashes here.

Provenance

Supported by

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