This package allows for HTTP NTLM authentication using the requests library.
HttpNtlmAuth
extends requests AuthBase
, so usage is simple:
import requests
from requests_ntlm import HttpNtlmAuth
requests.get("http://ntlm_protected_site.com",auth=HttpNtlmAuth('domain\\username','password'))
The package hasn't been uploaded to pip yet, but it can be installed by running:
sudo python ./setup.py install