Python version of the phpPgAdmin