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
Links
Bugs
Please report bugs, issues, feature requests, etc. on GitHub.
License
Licensed under the terms of the Apache License, Version 2.0.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file requests-http-signature-0.0.1.tar.gz
.
File metadata
- Download URL: requests-http-signature-0.0.1.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5d466ce29c3a8d2a4d802a74b8393a183ba0c6b072c2daa810b585611d8539be |
|
MD5 | 833740a9f0fbebc4b7287a63e5aeb350 |
|
BLAKE2b-256 | ee77d866393a7dff41421f14fd3e7f7afe6b05d3a52f47e5b7ce15e5d1ee3491 |
File details
Details for the file requests_http_signature-0.0.1-py2.py3-none-any.whl
.
File metadata
- Download URL: requests_http_signature-0.0.1-py2.py3-none-any.whl
- Upload date:
- Size: 5.6 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7700697c415f88b4e7cb8b5430ebc7b4b2f7eedd7b8500434a26d1f706f572d8 |
|
MD5 | 559da201cbe7a1ec0ff2e9d90c62538b |
|
BLAKE2b-256 | c375b98b8e161e5edb1f871ab39088f956ed28269bb51462ca67faf344100a85 |