@@ -69,6 +69,7 @@ usage examples.
69
69
Features
70
70
========
71
71
72
+
72
73
Currently ThriftPy have these features (also advantages over the upstream
73
74
python lib):
74
75
@@ -78,7 +79,15 @@ python lib):
78
79
official implemention servers and clients, such as a upstream server with
79
80
a thriftpy client or the opposite.
80
81
81
- (Currently only binary protocol & buffered transport were implemented.)
82
+ Currently implemented protocols and transports:
83
+
84
+ * binary protocol (python and cython implemention)
85
+
86
+ * buffered transport
87
+
88
+ * tornado server and client (with tornado 4.0)
89
+
90
+ * framed transport
82
91
83
92
- Can directly load thrift file as module, the sdk code will be generated on
84
93
the fly.
@@ -90,7 +99,7 @@ python lib):
90
99
import the 'pingpong.thrift' file as module.
91
100
92
101
- Pure python, standalone implemention. No longer need to compile & install
93
- the 'thrift' package. All you need is python and thrift file.
102
+ the 'thrift' package. All you need is thrift file.
94
103
95
104
- Easy RPC server/client setup.
96
105
@@ -115,15 +124,8 @@ You may also install cython first to build cython extension locally.
115
124
Use Cython Binary Protocol
116
125
==========================
117
126
118
- .. note ::
119
-
120
- The cython binary protocol is still very experimental and the code need to
121
- be audited. Use with caution.
122
-
123
127
The TCyBinaryProtocol can be used to accelerate serialize and deserialize.
124
128
125
- Pass TCyBinaryProtocolFactory to make_server to enable it.
126
-
127
129
.. code :: python
128
130
129
131
from thriftpy.protocol import TCyBinaryProtocolFactory
0 commit comments