A PostgreSQL database adapter for Python