Python implementation of Thrift
