--- id: httpx-ntlm version: "1.4.0" license: ISC license_treatment: permissive maintenance: dormant --- # httpx-ntlm — This package allows for HTTP NTLM authentication using the HTTPX library. License: permissive · Maintenance: dormant · Downloads: 288.6K/mo ## What it is and what it does httpx-ntlm is a thin authentication adapter that plugs NTLM support into the HTTPX HTTP client library. It wraps the NTLM negotiation logic from pyspnego and exposes it as an HTTPX Auth handler, so you can pass credentials to httpx.Client() or individual requests and have NTLM challenge-response handled automatically. The package is most useful when you need to access corporate or legacy HTTP services that require Windows domain authentication. It supports connection pooling through HTTPX's Client, which is more efficient than per-request authentication since NTLM authenticates connections. The implementation is an adaptation of requests-ntlm for HTTPX. Use it for: - Authenticate to corporate intranet services or SharePoint sites that require NTLM without leaving Python. - Build automated tools that need to fetch data from legacy Windows-authenticated HTTP APIs. - Reuse HTTPX's connection pooling while maintaining NTLM auth for enterprise environments. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Adds NTLM authentication support to HTTPX, enabling HTTP requests to servers that require Windows NTLM credentials. Yes, if you need NTLM authentication with HTTPX and your environment is stable. The package has no known vulnerabilities and low install friction. However, dormant maintenance means you should verify that pyspnego remains compatible with your target authentication systems before committing to production use. ## Install pip install httpx-ntlm uv add httpx-ntlm poetry add httpx-ntlm ## Installing httpx-ntlm Before you install: Low install friction with only 2 runtime dependencies (httpx and pyspnego). Maintenance is dormant—last release was 2023-11-03, though the repository remains active. License in practice: ISC license is permissive and places minimal restrictions on use, modification, or redistribution in commercial or private projects. Quickstart: pip install httpx-ntlm import httpx from httpx_ntlm import HttpNtlmAuth client = httpx.Client(auth=HttpNtlmAuth('domain\\username', 'password')) response = client.get('http://ntlm_protected_site.com') Verify before relying: - Whether pyspnego's NTLM implementation remains compatible with current Windows/Active Directory authentication schemes. - Whether dormant maintenance status means the package will receive security updates if NTLM or httpx evolve. - Production readiness given the extended time since the last release. ## Package facts - License: ISC (permissive) - Python support: unspecified - Install friction: low - Maintenance: dormant - Downloads: 288.6K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags ntlm authentication httpx, http ntlm auth python, windows ntlm http client, httpx auth ntlm, ntlm http requests, domain authentication httpx, ntlm, authentication, enterprise [View on SkillFed](https://skillfed.io/packages/httpx-ntlm) · [View on PyPI](https://pypi.org/project/httpx-ntlm/)