Python Bash Prompt framework