requests-ntlm 0.1.0
pip install requests-ntlm==0.1.0
Newer version available (1.3.0)
Released:
This package allows for HTTP NTLM authentication using the requests library.
Navigation
Verified details
These details have been verified by PyPIMaintainers
Unverified details
These details have not been verified by PyPIMeta
- License: ISC License (ISCL) (ISC)
- Author: Ben Toews
Classifiers
- Development Status
- Intended Audience
- License
- Programming Language
Project description
This package allows for HTTP NTLM authentication using the requests library.
Usage
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'))
HttpNtlmAuth can be used in conjunction with a Session 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 requests
from requests_ntlm import HttpNtlmAuth
session = requests.Session()
session.auth = HttpNtlmAuth('domain\\username','password', session)
session.get('http://ntlm_protected_site.com')
Installation
pip install requests_ntlm
Requirements
Authors
Project details
Verified details
These details have been verified by PyPIMaintainers
Unverified details
These details have not been verified by PyPIMeta
- License: ISC License (ISCL) (ISC)
- Author: Ben Toews
Classifiers
- Development Status
- Intended Audience
- License
- Programming Language
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
File details
Details for the file requests_ntlm-0.1.0.tar.gz
.
File metadata
- Download URL: requests_ntlm-0.1.0.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
5282251f5e7859a3877491fd98b4da7e3418c554f07d055d7849c0aaf9dc6210
|
|
MD5 |
9c3e838d05e3fc789ff4d2269e39930f
|
|
BLAKE2b-256 |
a8adb8af60e0ce7af61cf5793e9490d9b4a146c8151e50890fa19eb8575eef05
|