How ThriftPy2 works and its features
masterThriftPy2 is a Pythonic implementation of Apache Thrift that is compatible with official Apache Thrift servers and clients.
Key Features:
- No Code Generation Required: Load
.thriftfiles on the fly usingthriftpy2.load()or an import hook. - Pure Python: No need to compile the official
thriftpackage. - Compatibility: Works with official Apache Thrift implementations.
- Supported Protocols & Transports:
- Binary protocol (Python and Cython versions)
- Compact protocol (Python and Cython versions)
- JSON protocol
- Buffered transport (Python and Cython versions)
- Framed transport
- Runtime Support: Python 3.6+ and PyPy3.