Connector to Postgresql database from Python script