Psycopg2 is a PostgreSQL database adapter for the Python programming language. It was written from scratch with the aim of being small, fast and stable. It supports the full Python DBAPI-2.0 and is thread safe.
http://www.altroot.org/py-turbogears/py-psycopg2-2.0.5.1.tar.gz