urllib-ntlm

NTLM Authenticator for urllib.request


License
MIT
Install
pip install urllib-ntlm==0.1.1

Documentation

urllib-ntlm (also under python-ntlm on github)

Python library that provides NTLM support, including an authentication handler for urllib2.

This library allows you to retrieve content from (usually corporate) servers protected with windows authentication (NTLM) using the python urllib2.

Python 3 Support

Only python3 is supported.

Usage

please see the examples directory.

Limitations

  • A request using the HTTPNtlmAuthHandler has no HTTP status handling, for example: redirects are not handled by the opener, you must check and handle the response yourself.

Resources

Original Fork

Inspired by

The NTLM Authorization Proxy Server can be used to make applications that do not support NTLM proxies use them anyway: "Opens up IIS Proxy Servers using NTLM to non-Microsoft browsers, etc"

In contrast the python-ntlm library is used to make it possible for python code to retrieve content from an NTLM protected server.

References