Skip to main content

A Requests auth module for HTTP Signature

Project description

requests-http-signature is a Requests authentication plugin (requests.auth.AuthBase subclass) implementing the IETF HTTP Signatures draft. It has no dependencies outside the standard library.

import requests
from requests_http_signature import HTTPSignatureAuth
preshared_secret = 'monorail_cat'
url = 'http://httpbin.org/get'
requests.get(url, auth=HTTPSignatureAuth(secret=preshared_secret))

Installation

pip install requests-http-signature

License

Licensed under the terms of the Apache License, Version 2.0.

https://travis-ci.org/kislyuk/requests-http-signature.png https://codecov.io/github/kislyuk/requests-http-signature/coverage.svg?branch=master https://img.shields.io/pypi/v/requests-http-signature.svg https://img.shields.io/pypi/l/requests-http-signature.svg https://readthedocs.org/projects/requests-http-signature/badge/?version=latest

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-http-signature-0.0.1.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

requests_http_signature-0.0.1-py2.py3-none-any.whl (5.6 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file requests-http-signature-0.0.1.tar.gz.

File metadata

File hashes

Hashes for requests-http-signature-0.0.1.tar.gz
Algorithm Hash digest
SHA256 5d466ce29c3a8d2a4d802a74b8393a183ba0c6b072c2daa810b585611d8539be
MD5 833740a9f0fbebc4b7287a63e5aeb350
BLAKE2b-256 ee77d866393a7dff41421f14fd3e7f7afe6b05d3a52f47e5b7ce15e5d1ee3491

See more details on using hashes here.

File details

Details for the file requests_http_signature-0.0.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for requests_http_signature-0.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 7700697c415f88b4e7cb8b5430ebc7b4b2f7eedd7b8500434a26d1f706f572d8
MD5 559da201cbe7a1ec0ff2e9d90c62538b
BLAKE2b-256 c375b98b8e161e5edb1f871ab39088f956ed28269bb51462ca67faf344100a85

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