Skip to main content

httpx-ntlm

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

Requirements

Metadata

Release files for httpx-ntlm 1.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for httpx-ntlm 1.4.0
File Size Uploaded Provenance Actions
httpx_ntlm-1.4.0.tar.gz 3.9 kB Without provenance Details for httpx_ntlm-1.4.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for httpx-ntlm 1.4.0
File Interpreter ABI Platform Actions
httpx_ntlm-1.4.0-py3-none-any.whl Python 3 none any Details for httpx_ntlm-1.4.0-py3-none-any.whl

Total release size: 8.1 kB

Release files / httpx_ntlm-1.4.0.tar.gz

Download URL httpx_ntlm-1.4.0.tar.gz
Size 3.9 kB
Tags Source
SHA-256 checksum
How to use checksums
41be8a2ba85143484e617dcb917d4b19e3ae12afdc688622a4901034993b53e4
BLAKE2b-256 checksum
How to use checksums
ba9cfee5d1a348ac85fe7c4c38a431edb007c0469c1f0170a2643eeba41a463d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.18

Release files / httpx_ntlm-1.4.0-py3-none-any.whl

Download URL httpx_ntlm-1.4.0-py3-none-any.whl
Size 4.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8adc6715c787b1621121165baff450441be050fabfc1cb0c7095d0eb074f976d
BLAKE2b-256 checksum
How to use checksums
46ce4032cfef13e7728fe978a01d3417619ab19e5a679e8d60a543d1ad1e9a10
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.18

Security for httpx-ntlm 1.4.0

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page