Python based command line rest client