Common python utilities and function library.