Python library for simple PostgreSQL connection and transaction management