A wrapper around psycopg2. Written for use with the Tornado web framework.