Metadata-Version: 2.1
Name: requests-magpie
Version: 0.3.0
Summary: A Magpie authentication handler for python-requests
Author: David Caron
Maintainer-email: Trevor James Smith <smith.trevorj@ouranos.ca>, Francis Charette-Migneault <francis.charette-migneault@crim.ca>
Requires-Python: >=3.8
Description-Content-Type: text/x-rst
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: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Dist: requests >=2.32.2
Requires-Dist: pytest ; extra == "dev"
Project-URL: About Ouranos, https://www.ouranos.ca/en/
Project-URL: Homepage, https://github.com/Ouranosinc/requests-magpie
Project-URL: Issue tracker, https://github.com/Ouranosinc/requests-magpie/issues
Provides-Extra: dev

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.

