NOTE: this is all old and unmaintained.
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. 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 2.7 in OS X Lion and above, 64 bit only, unless otherwise stated. I’m sorry, but I don’t support other installations of Python. See the download archive for old Python 2.6 packages.
For Python 3, most packages have Mac binaries available from pip.
NumPy
Documentation: numpy.scipy.org
- NumPy 1.9.2-1 [3.3 MiB]
- NumPy 1.8.0-1 [6.5 MiB] (32+64bit, Snow Leopard+)
Also included on the GDAL Framework disk image, though it may not be up to date.
SciPy
Requires: NumPy
Documentation: scipy.org
- SciPy 0.16.0-1 [12.4 MiB]
- SciPy 0.13.1-1 [31.4 MiB] (32+64bit, Snow Leopard+)
PIL
Requires: UnixImageIO, FreeType
Documentation: pythonware.com
Python Imaging Library
- PIL 1.1.7-4 [1.1 MiB] (32+64bit, Snow Leopard+)
Matplotlib
Requires: NumPy
Documentation: matplotlib.sourceforge.net
- matplotlib 1.4.3-1 [44.2 MiB]
psycopg2
Documentation: initd.org
PostgreSQL interface
- Psycopg2 2.4.5-2 [435 KiB]
RPy2
Requires: R 3.1
Documentation: rpy.sourceforge.net
R interface
- RPy2 2.5.4-1 for R 3.1 [226 KiB]
PySAL
Spatial Analysis Library
Requires: NumPy, SciPy
Source & Documentation: pysal.org
This one has no binary components, so you can install without needing Xcode. In a Terminal:
sudo easy_install pysal