AWS v2 signing support for Python-Requests.
Installation:
pip install requests-awsv2-auth
Usage:
import requests
from awsv2_auth import AwsV2Auth
auth = AwsV2Auth('my-key', 'my-secret')
response = requests.get('https://sos.exo.io/my-bucket',
auth=auth)
This can be used to generate pre-signed URLs as well:
auth = AwsV2Auth('my-key', 'my-secret')
url = auth.pre_sign('https://sos.exo.io/my-bucket/path/to/file.txt',
method='GET',
expires=int(time.time()) + 3600,
headers=None)
Release files for requests-awsv2-auth 1.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| requests-awsv2-auth-1.1.3.tar.gz | 2.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| requests_awsv2_auth-1.1.3-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 6.3 kB
Release files / requests-awsv2-auth-1.1.3.tar.gz
| Download URL | requests-awsv2-auth-1.1.3.tar.gz |
|---|---|
| Size | 2.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
44416611c417323ef1bd05641d83724df7363cabc5d8102d08e110fd32b64e89
|
|
BLAKE2b-256 checksum How to use checksums |
6b2124a9aca3bdeee04f7b8a96a170bf47d3cba78a9f0e2423d07cf1d299ab06
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.22.0 CPython/3.5.5
|
Release files / requests_awsv2_auth-1.1.3-py2.py3-none-any.whl
| Download URL | requests_awsv2_auth-1.1.3-py2.py3-none-any.whl |
|---|---|
| Size | 3.8 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
b082ee657822bb79e87733c2af33f698c9bdc40c359917114b18bb4399bc7ca1
|
|
BLAKE2b-256 checksum How to use checksums |
0252df7abdc6b171466aef2ae47b0dd8db381420626fd83bca327653340b75a2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.22.0 CPython/3.5.5
|