Using Postgres In Python A Namespace