A working example of how to work with Apache Thrift and Python.