A Magpie authentication handler for python-requests
Project description
requests Magpie authentication library
Requests is an HTTP library, written in Python, for human beings. This library adds optional Magpie authentication support. Basic GET usage:
import requests
from requests_magpie import MagpieAuth
auth = MagpieAuth("https://www.example.com/magpie", "username", "password")
r = requests.get("https://www.example.com/protected", auth=auth)
The entire requests.api should be supported.
History
0.2.0
Add parameter to provide extra request keyword arguments as needed for performing the authentication request.
Add parameter to cache result from authentication request to avoid performing the opeartion each time.
0.1.1
Initial Release
Project details
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
requests-magpie-0.2.0.tar.gz
(3.3 kB
view hashes)
Built Distribution
Close
Hashes for requests_magpie-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9de070a5798dc331afbb68f8ac13949a25e404443b0b246272928fc4c1cb3399 |
|
MD5 | e15e859ce12d14e26feaab547708da8d |
|
BLAKE2b-256 | fc4ea535cf2c64b899a550d5fbded94340340925da5683e90a4a140702832f11 |