niquests-negotiate-sspi
This is a Python package that uses the Windows Security Support Provider Interface (SSPI) to authenticate with Kerberos/NTLM, using Negotiate and NTLM authentication schemes.
This module is a fork of requests-negotiate-sspi, which was originally written by brandond.
It's built on top of the niquests library, which is a Python HTTP library for Python that functions as a drop-in replacement for the requests library, with various features and improvements over the requests library.
This module supports Extended Protection for Authentication (aka Channel Binding Hash), which makes it usable for services that require it, including Active Directory Federation Services.
Usage
import niquests
from niquests_negotiate_sspi import HttpNegotiateAuth
r = niquests.get('https://your.url.here', auth=HttpNegotiateAuth())
Options
-
username: Username. Default: None -
password: Password. Default: None -
domain: NT Domain name. Default: None -
service: Kerberos Service type for remote Service Principal Name. Default: 'HTTP' -
host: Host name for Service Principal Name. Default: Extracted from request URI -
delegate: Indicates that the user's credentials are to be delegated to the server. Default: False
If username and password are not specified, the user's default credentials are used. This allows for single-sign-on to domain resources if the user is currently logged on with a domain account.
Metadata
Release files for niquests-negotiate-sspi 0.6.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| niquests_negotiate_sspi-0.6.1.tar.gz | 53.3 kB | Without provenance | Details for niquests_negotiate_sspi-0.6.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| niquests_negotiate_sspi-0.6.1-py3-none-any.whl | Python 3 | none | any | Details for niquests_negotiate_sspi-0.6.1-py3-none-any.whl |
Total release size: 68.4 kB
Release files / niquests_negotiate_sspi-0.6.1.tar.gz
| Download URL | niquests_negotiate_sspi-0.6.1.tar.gz |
|---|---|
| Size | 53.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8eed35444f85d2b27616c25127b6e7ae0ecfadabe2754994d2feb5b0df218a36
|
|
BLAKE2b-256 checksum How to use checksums |
4e8ef6618f06bcb3c6967b0dd7ffa9a67b8b3a266d528d15d6e3239c5cd1cd44
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.20
|
Release files / niquests_negotiate_sspi-0.6.1-py3-none-any.whl
| Download URL | niquests_negotiate_sspi-0.6.1-py3-none-any.whl |
|---|---|
| Size | 15.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2e6f929ef74534f5e7d1c9551df36ac99e006bc772a33fc399f4e98404b1309c
|
|
BLAKE2b-256 checksum How to use checksums |
939245f2694dd5dceda9b907c6b00fca20ddeb49f9fdad14e3dd9315d4070c15
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.20
|
Security for niquests-negotiate-sspi 0.6.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.