Python interface to Thrift.
