python-thriftpy

Pure Python implementation of Apache Thrift - Python 2
  https://thriftpy.readthedocs.org/
  0
  no reviews



ThriftPy is a pure Python implementation of Apache Thrift in a pythonic way.

Documentation: https://thriftpy.readthedocs.org/

Currently ThriftPy have these features (also advantages over the upstream Python lib):

- Pure Python implementation. No longer need to compile & install the
'thrift' package. All you need is thriftpy and thrift file.
- Compatible with Apache Thrift. You can use ThriftPy together with the
official implementation servers and clients, such as a upstream server
with a thriftpy client or the opposite.
- Currently implemented protocols and transports:
* binary protocol (Python and cython)
* compact protocol (Python and cython)
* json protocol
* buffered transport (Python & cython)
* framed transport
* tornado server and client (with tornado 4.0)
- Can directly load thrift file as module, the sdk code will be generated
on the fly.
- Easy RPC server/client setup.