Registry / http-networking / requests-negotiate-sspi

requests-negotiate-sspi

JSON →
library0.5.3pypypiunverified

This package enables Single-Sign On HTTP Negotiate authentication (Kerberos/NTLM) using the requests library on Windows. Current version 0.5.3, low release cadence.

pip install requests-negotiate-sspi
INSTALL
IMPORT
SIG · REQUESTS-NEGOTIATE
R
requests-negotiate-sspi
http-networkingpythonv0.5.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

HttpNegotiateAuth
from requests_negotiate_sspi import HttpNegotiateAuth
The underscore 'requests_negotiate_sspi' is the correct import module name.

Perform GET request with Negotiate authentication using SSPI on Windows.

import requests from requests_negotiate_sspi import HttpNegotiateAuth auth = HttpNegotiateAuth() response = requests.get('http://example.com', auth=auth) print(response.status_code) print(response.text)
Debug
Known issues
gotchaThis package only works on Windows because it uses Windows SSPI. It will fail with ImportError on Linux/macOS.
fix
Use on Windows only, or wrap imports with platform detection.
affects: all
deprecatedThe library is unmaintained; check for newer alternatives like requests-kerberos or requests-gssapi for cross-platform support.
fix
Consider using requests-kerberos for non-Windows environments.
affects: all
gotchaThe imported package name uses underscores, not hyphens. Use 'import requests_negotiate_sspi' not 'requests-negotiate-sspi'.
fix
Correct import: 'from requests_negotiate_sspi import HttpNegotiateAuth'.
affects: all
Upgrade
Version history
0.5.3latest on PyPI
Audit
Dependencies
requestsrequiredRequired for HTTP client functionality.
pywin32requiredRequired for Windows SSPI (Security Support Provider Interface) authentication.
Agent activity
15 hits · last 30 days
node
12
OpenAI (training)
1
Resources
requests-negotiate-sspi — pip install requests-negotiate-sspi · libregistry