A lightweight wrapper around psycopg2 DB-API connections.