Add TSaslClientTransport?
The upstream version is already pure-python, and can simply be pulled in I think? https://github.com/apache/thrift/blob/master/lib/py/src/transport/TTransport.py#L341-L452
This upstream version depends on the pure-sasl library to work.
Note though that the pure-sasl library can only do GSSAPI (kerberos) connections iff kerberos library is installed. The kerberos library uses Python's Capsule features, so it cannot be used in Python 2.6 or below, and needs at least Python 2.7.0 to work.
Ping? We would really like to be able to connect to kerberos services.
So thrift_sasl works with thriftpy, and is used by impyla to do kerberized auth.
thrift_sasl has linux dependency libsasl2-dev, which makes it a rather cumbersome module to make a dependency in any project.
+1 for implementing TSaslClientTransport in thriftpy