Skip to main content

A Magpie authentication handler for python-requests

Project description

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.

Project details


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.3.0.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

requests_magpie-0.3.0-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file requests_magpie-0.3.0.tar.gz.

File metadata

  • Download URL: requests_magpie-0.3.0.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for requests_magpie-0.3.0.tar.gz
Algorithm Hash digest
SHA256 739e2a29af6d537f70fc30facf319f9cccb0c6501bcfe2bb588f3c63a1ab69b9
MD5 78311434528970c1025dadd486fdd4c8
BLAKE2b-256 05bb5f8aaf7d690ce613756ae457d0cef0d0a3ce461129667eb6113e539fa43e

See more details on using hashes here.

File details

Details for the file requests_magpie-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for requests_magpie-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0466a24a63cc64c9f53ae5c62ff600a7b08a9dc01be3a69cb5f48ec93b17c4cc
MD5 e9587b872178205e9e1ae8136cdc46af
BLAKE2b-256 9fa2f7ab3625ac1a878b401419e5a90efd635a5ee8e2ff4e357626dcbda0c963

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page