Kyng Chaos
“The beast is actively interested only in now, and, as it is always now and always shall be, there is an eternity of time for the accomplishment of objects.”
- the wisdom of Tarzan

This is an old revision of the document!


Python Modules

Various Python modules of GIS interest (those not included elsewhere, like in a framework), and other random modules. These may be available elsewhere, but usually they are built for the python.org Python, and I prefer to stick with the system Python (at least for 10.5/Leopard and above). Also, I link to my frameworks where possible. Downloads are for modules with binary components. Any others can be easily installed from source, no Xcode tools needed.

All are built for the system Python in OS X Lion (Python 2.7), Snow Leopard (Python 2.6), and some for OS X Leopard (Python 2.5). I'm sorry, but I don't support earlier versions of the system or other versions of Python, or other installations of Python (though they may work in other distributions of the same version).

NumPy

Documentation: numpy.scipy.org

Also included on the GDAL Framework disk image, though it may not be up to date.

SciPy

Requires: NumPy
Documentation: scipy.org

PIL

Requires: UnixImageIO, FreeType
Documentation: pythonware.com

Python Imaging Library

Matplotlib

Requires: UnixImageIO, FreeType, NumPy
Documentation: matplotlib.sourceforge.net

psycopg2

Requires: PostgreSQL 9.1
Documentation: initd.org

PostgreSQL interface

RPy2

Requires: R 2.15
Documentation: rpy.sourceforge.net

R interface

PySAL

Spatial Analysis Library

Requires: NumPy, SciPy
Source & Documentation: pysal.org

This one has no binary components, so you can install from source without needing Xcode. Download the source, and unzip it. In a Terminal, cd to the source and:

sudo python setup.py install
software/python.1340466807.txt.gz · Last modified: 2012/06/23 08:53 by kyngchaos
[unknown link type]Back to top
Copyright © 2004-2011 William Kyngesburye Driven by DokuWiki Recent changes RSS feed