python framework for running commands