PostGIS adapter for Psycopg
PPyGIS is an extension the Psycopg, a PostgreSQL database adapter for the Python programming language. PPyGIS adds support for PostGIS geometry objects by transparently translating between their PostGIS EWKB representation and Python objects.
PPyGIS is written in pure Python. It has been tested with Python 2.7 and may work with earlier versions as well. A Python 3 version does not currently exist.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.