thrift-sasl
Thrift SASL Python module that implements SASL transports for Thrift (`TSaslClientTransport`).
Decision gist · record as of 2026-08-14
No, unless you are maintaining legacy code already using thrift-sasl. The package is abandoned (last release 2021-05-26, no commits since), and modern alternatives or direct Thrift security mechanisms are preferable. If you must use it, treat it as a maintenance burden and plan for eventual replacement.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires a working Thrift installation and a SASL mechanism available on the system; pure-sasl provides fallback SASL support.
- Low install friction with pure-Python dependencies.
- However, the package is abandoned—last release was 2021-05-26 with no recent maintenance.
License · maintenance · safety
Apache License, Version 2.0 (permissive) — Licensed under Apache License, Version 2.0 (permissive), allowing commercial and private use with minimal restrictions. No notable licensing barriers to adoption.
last release 2021-05-26 (1906 days) · last repo commit 2021-05-26 · 18 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 11,626,242 downloads/mo, #1,376 on PyPI
Alternatives
Verify before relying
pip install thrift-sasl
from thrift_sasl import TSaslClientTransport
from thrift.transport import TSocket
socket = TSocket.TSocket('localhost', 'port')
transport = TSaslClientTransport(socket, 'host', 'mechanism')- Whether pure-sasl provides sufficient SASL mechanism coverage for your target authentication backend
- Compatibility with modern Thrift versions and current Python 3.x releases beyond 3.9
- Whether the package's dependencies (six, thrift) are actively maintained
What it is and what it does
thrift-sasl wraps Thrift's transport layer to add SASL (Simple Authentication and Security Layer) authentication. It provides TSaslClientTransport, which sits between a raw socket and Thrift's protocol layer, negotiating SASL authentication before RPC traffic flows. The package depends on pure-sasl for SASL mechanism implementation, six for Python 2/3 compatibility, and thrift itself.
The package is designed for applications that need to authenticate Thrift clients against SASL-enabled servers—typically in enterprise or Hadoop-adjacent environments. However, it has been abandoned since 2021-05-26 and receives no maintenance, so it carries risk if you encounter bugs or need support for newer Thrift or Python versions.
Use it for
- Authenticate Thrift clients against Kerberos-enabled servers in distributed systems
- Secure RPC communication in legacy systems that rely on Thrift and SASL authentication
- Add authentication to Thrift services without implementing custom security layers
- Integrate Thrift clients with enterprise SASL-based authentication backends
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No, unless you are maintaining legacy code already using thrift-sasl.
The package is abandoned (last release 2021-05-26, no commits since), and modern alternatives or direct Thrift security mechanisms are preferable. If you must use it, treat it as a maintenance burden and plan for eventual replacement.
Install
thrift-sasl on PyPI
Before you install
Low install friction with pure-Python dependencies. However, the package is abandoned—last release was 2021-05-26 with no recent maintenance. Use only if you are locked into an existing Thrift SASL integration and cannot migrate.
Requires a working Thrift installation and a SASL mechanism available on the system; pure-sasl provides fallback SASL support.
License in practice
Licensed under Apache License, Version 2.0 (permissive), allowing commercial and private use with minimal restrictions. No notable licensing barriers to adoption.
Quickstart
pip install thrift-sasl
from thrift_sasl import TSaslClientTransport
from thrift.transport import TSocket
socket = TSocket.TSocket('localhost', 'port')
transport = TSaslClientTransport(socket, 'host', 'mechanism')
Verify before relying
- Whether pure-sasl provides sufficient SASL mechanism coverage for your target authentication backend
- Compatibility with modern Thrift versions and current Python 3.x releases beyond 3.9
- Whether the package's dependencies (six, thrift) are actively maintained
Package facts
| License | Apache License, Version 2.0 permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 3 packagespure-saslsixthrift |
| Maintenance | Abandoned 1,906 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 11,626,242 / month, #1,376 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Programming Language :: Python :: 2Programming Language :: Python :: 2.6Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.3Programming Language :: Python :: 3.4Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9 |
Evidence: thrift_sasl-0.4.3-py2.py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “thrift sasl authentication”
- thrift-saslImplements SASL authentication transports for Thrift RPC clients,…
- pure-transportProvides a Thrift transport for PyHive connections using Pure-SASL…
- pure-saslpure-sasl is a pure Python client-side SASL implementation supporting…
Give your agent the search over MCP, or paste the wish link into any chat.
More Networking packages
h11 is a pure-Python HTTP/1.1 protocol implementation that handles parsing and serializing HTTP messages without any built-in I/O, letting you integrate it with any network layer you choose.
psutil retrieves real-time information about running processes and system resources (CPU, memory, disks, network, sensors) across multiple operating systems, enabling system monitoring, process profiling, and resource management.
pyOpenSSL wraps OpenSSL's SSL/TLS functionality for Python, providing high-level connection objects and certificate handling through a Python-friendly interface around OpenSSL's cryptographic operations.
uvloop is a drop-in replacement for Python's built-in asyncio event loop, implemented in Cython and using libuv, that accelerates async I/O operations.
execnet lets you spawn and communicate with Python interpreters across local processes, remote hosts, and different platforms, using a simple API for task distribution and inter-process messaging.
However, the aging maintenance status (275 days since last release) means you should verify it meets your concurrency and performance needs before committing to a…
PyZMQ provides Python bindings for ZeroMQ (ØMQ), a lightweight messaging library that enables fast, asynchronous communication between distributed processes and applications.
See also pure-transport · thrift · thriftpy2 · pure-sasl · hmsclient · hive-metastore-client · opentelemetry-exporter-jaeger-thrift · pylibsrtp · httpx-aiohttp · paypalhttp