pgcli is a command line interface for Postgres with auto-completion and syntax highlighting. WWW: https://pypi.python.org/pypi/pgcli WWW: http://pgcli.com/