--- id: pure-transport version: "0.2.0" license: GPLv3+ license_treatment: permissive maintenance: abandoned --- # pure-transport — Pure Sasl Based Thrift Transport for PyHive License: permissive · Maintenance: abandoned · Downloads: 220.2K/mo ## What it is and what it does pure-transport wraps the Thrift protocol layer to enable PyHive connections using Pure-SASL authentication instead of the system sasl library. It was designed primarily to work around compilation difficulties on Windows, where the sasl library is hard to build from source, and secondarily to support custom socket types like SSL. The package depends on thrift, pure-sasl, and thrift-sasl to function. The transport accepts basic SSL configuration through use_ssl and socket_kwargs parameters. However, the package has been abandoned since early 2020 and is classified as Alpha. It also has a known incompatibility with SQLAlchemy engines due to PyHive's internal assertions about connection parameters, which the author documents but does not resolve within pure-transport itself. Use it for: - Connecting to Hive from Windows systems where compiling the sasl library is impractical or blocked. - Establishing encrypted Hive connections via SSL sockets when the default PyHive transport is insufficient. - Providing a custom Thrift transport layer to PyHive when standard authentication mechanisms are unavailable. - Avoiding system-level sasl library dependencies in containerized or restricted deployment environments. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Provides a Thrift transport for PyHive connections using Pure-SASL authentication, with optional SSL socket support as an alternative to the standard sasl library. No, not recommended for new projects. The package is abandoned (last release 2020-01-29, no commits since), classified as Alpha, and relies on outdated Python version support (up to 3.4). While install friction is low and there are no known vulnerabilities, the lack of maintenance means compatibility with modern Python, Thrift, and Hive versions is uncertain. For Windows users needing pure-SASL, evaluate whether PyHive itself or alternative Hive clients now have better native support. ## Install pip install pure-transport uv add pure-transport poetry add pure-transport ## Installing pure-transport Before you install: Low install friction with a pure Python wheel, but the package is abandoned as of 2020-01-29 with no recent maintenance. The three runtime dependencies (thrift, pure-sasl, thrift-sasl) are stable libraries, but relying on unmaintained code for production Hive connections carries risk. License in practice: Licensed under GPLv3+, a copyleft license requiring derivative works to be distributed under the same terms. This may restrict use in proprietary or closed-source projects. Quickstart: pip install pure-transport from pure_transport import PureTransport transport = PureTransport(host='localhost', port=10000, use_ssl=False) Requires PyHive to be installed separately; PyHive itself has its own dependencies and setup requirements. SQLAlchemy integration requires manual edits to PyHive's hive.py file due to assertion conflicts. Verify before relying: - Whether pure-sasl and thrift-sasl remain actively maintained and compatible with modern Python versions beyond 3.4. - Current compatibility with modern Hive server versions and whether SSL socket support covers all required cipher suites. - Whether the package works with Python versions beyond those listed in classifiers (3.3, 3.4). ## Package facts - License: GPLv3+ (permissive) - Python support: unspecified - Install friction: low - Maintenance: abandoned - Downloads: 220.2K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags pyhive thrift transport, pure-sasl hive connection, hive ssl socket, thrift transport sasl, windows hive client, pyhive custom transport, hive-client, abandoned [View on SkillFed](https://skillfed.io/packages/pure-transport) · [View on PyPI](https://pypi.org/project/pure-transport/)