Skip to content

Files

Latest commit

 

History

History
17 lines (10 loc) · 510 Bytes

README.rst

File metadata and controls

17 lines (10 loc) · 510 Bytes

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.