This package allows for HTTP NTLM authentication using the HTTPX library. Fork of httpx_ntlm with fixes.
Project description
This package allows for HTTP NTLM authentication using the HTTPX library. It is an adaptation of https://github.com/requests/requests-ntlm.
Usage
HttpNtlmAuth extends HTTPX Auth base class, so usage is simple:
import httpx
from httpx_ntlm import HttpNtlmAuth
httpx.get("http://ntlm_protected_site.com",auth=HttpNtlmAuth('domain\\username','password'))
HttpNtlmAuth can be used in conjunction with a Client in order to make use of connection pooling. Since NTLM authenticates connections, this is more efficient. Otherwise, each request will go through a new NTLM challenge-response.
import httpx
from httpx_ntlm import HttpNtlmAuth
client = httpx.Client(auth=HttpNtlmAuth('domain\\username','password'))
client.get('http://ntlm_protected_site.com')
Installation
pip install httpx-ntlm-fixed
Requirements
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file httpx_ntlm_fixed-1.4.1.tar.gz.
File metadata
- Download URL: httpx_ntlm_fixed-1.4.1.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bbfdb1ce614fb2424a4b1864fdcf66631466ba66ba80d96b8b75b88d061be945
|
|
| MD5 |
b2eea5979382580e3fbabb2ff1de15f6
|
|
| BLAKE2b-256 |
68f78a2b539801d29f30d0bfa8dad888e3a16ca5d183aa33b8ce5b83f9274f4f
|
Provenance
The following attestation bundles were made for httpx_ntlm_fixed-1.4.1.tar.gz:
Publisher:
pypi.yml on LogicDaemon/httpx-ntlm
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
httpx_ntlm_fixed-1.4.1.tar.gz -
Subject digest:
bbfdb1ce614fb2424a4b1864fdcf66631466ba66ba80d96b8b75b88d061be945 - Sigstore transparency entry: 743430902
- Sigstore integration time:
-
Permalink:
LogicDaemon/httpx-ntlm@d0ab7c1c6cb571a924cee5b629cf1a1f5e1cd60a -
Branch / Tag:
refs/heads/fork - Owner: https://github.com/LogicDaemon
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@d0ab7c1c6cb571a924cee5b629cf1a1f5e1cd60a -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file httpx_ntlm_fixed-1.4.1-py3-none-any.whl.
File metadata
- Download URL: httpx_ntlm_fixed-1.4.1-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
04b400987909e31ce26f44150462aa108067a638b2ada4ff4138de0b5d8becdc
|
|
| MD5 |
f9523c245ad60b3e259befd563609878
|
|
| BLAKE2b-256 |
e933f7b915d4bbfc50b4b7dabe54cb7839947639256d8774dc2304913d0d6b47
|
Provenance
The following attestation bundles were made for httpx_ntlm_fixed-1.4.1-py3-none-any.whl:
Publisher:
pypi.yml on LogicDaemon/httpx-ntlm
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
httpx_ntlm_fixed-1.4.1-py3-none-any.whl -
Subject digest:
04b400987909e31ce26f44150462aa108067a638b2ada4ff4138de0b5d8becdc - Sigstore transparency entry: 743430914
- Sigstore integration time:
-
Permalink:
LogicDaemon/httpx-ntlm@d0ab7c1c6cb571a924cee5b629cf1a1f5e1cd60a -
Branch / Tag:
refs/heads/fork - Owner: https://github.com/LogicDaemon
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@d0ab7c1c6cb571a924cee5b629cf1a1f5e1cd60a -
Trigger Event:
workflow_dispatch
-
Statement type: