Sergio J. Rey Luc Anselin


PySAL is an open source library for spatial analysis written in the object-oriented language Python. It is built upon shared functionality in two exploratory spatial data analysis packages––GeoDA and STARS––and is intended to leverage the shared development of these components. This paper presents an overview of the motivation behind and the design of PySAL, as well as suggestions for how the library can be used with other software projects. Empirical illustrations of several key components in a variety of spatial analytical problems are given, and plans for future development of PySAL are discussed.