Metadata-Version: 2.1
Name: requests-magpie
Version: 0.2.0
Summary: A Magpie authentication handler for python-requests
Home-page: https://github.com/ouranosinc/requests-magpie
Author: David Caron
Author-email: david.caron@crim.ca
License: ISC
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: ISC License (ISCL)
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Dist: requests (>=1.1.0)

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:


.. code-block:: python

    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


