Thriftpy-Cli Install pip install thriftpy-cli Usage $ thriftpy-cli -f thrift_file.thrift -h localhost -p 8010 -s ServiceName $ # Launching into ipython >>> client.api(*args)