--- id: pyspnego version: "0.12.1" license: MIT license_treatment: permissive maintenance: active --- # pyspnego — Windows Negotiate Authentication Client and Server License: permissive · Maintenance: active · Popularity: top 1,000 on PyPI ## Install pip install pyspnego uv add pyspnego poetry add pyspnego ## Description # Python SPNEGO Library [![Test workflow](https://github.com/jborean93/pyspnego/actions/workflows/ci.yml/badge.svg)](https://github.com/jborean93/pyspnego/actions/workflows/ci.yml) [![codecov](https://codecov.io/gh/jborean93/pyspnego/branch/main/graph/badge.svg)](https://codecov.io/gh/jborean93/pyspnego) [![PyPI version](https://badge.fury.io/py/pyspnego.svg)](https://badge.fury.io/py/pyspnego) [![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/jborean93/pyspnego/blob/master/LICENSE) Library to handle SPNEGO (Negotiate, NTLM, Kerberos) and CredSSP authentication. Also includes a packet parser that can be used to decode raw NTLM/SPNEGO/Kerberos tokens into a human readable format. ## Requirements See [How to Install](#how-to-install) for more details * CPython 3.9+ * [cryptography](https://github.com/pyca/cryptography) * [sspilib](https://github.com/jborean93/sspilib) - Windows only ### Optional Requirements The following Python libraries can be installed to add extra features that do not come with the base package: * [python-gssapi](https://github.com/pythongssapi/python-gssapi) and [pykrb5](https://github.com/jborean93/pykrb5) for... ## AI interpretation — verify before relying Implements SPNEGO/Negotiate, NTLM, Kerberos, and CredSSP authentication protocols for Python, with packet parsing for raw tokens and support for both client and server authentication modes. Verdict: Actively maintained authentication library with low install friction and no known vulnerabilities. Covers enterprise auth protocols (SPNEGO, NTLM, Kerberos, CredSSP) with both client and server support. MIT license is permissive. Primary consideration: platform-specific dependencies (Windows for SSPI, optional system packages for Kerberos on Linux) and Beta maturity status. [View on SkillFed](https://skillfed.io/packages/pyspnego) · [View on PyPI](https://pypi.org/project/pyspnego/)