ocpgdb - A simple Python DB-API 2 adapter for PostgreSQL
Note that you will need the Python and PostgreSQL client development libraries installed to build ocpgdb. On Debian and Ubuntu systems, these are provided by the python-dev and libpq-dev packages.
To install ocpgdb, first unpack the tar file, and from the top level directory, run the following command as root:
python setup.py install