aws-sig
A Python Library to Authenticate Request to the AWS API using the AWS Signatures.
Features
- 🔒 AWS Signature Version 4 signing for
requestslibrary. - ⚡ Lightweight and fast.
- 📦 Simple integration with the requests
Installation
Install the package using pip:
pip install aws-signature
Usage
import requests
from aws_sig import SigV4
# Configure AWS credentials and region
aws_access_key = "your-access-key"
aws_secret_key = "your_secret_key"
aws_region = "your_region"
# Create an authenticated session
auth = SigV4(aws_access_key, aws_secret_key, aws_region, "execute-api")
# make signed request
response = requests.get("https://service-name.region.amazonaws.com", auth=auth)
print(response.json())
Metadata
Release files for aws-signature 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| aws_signature-1.0.0.tar.gz | 8.0 kB | With provenance | Details for aws_signature-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| aws_signature-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for aws_signature-1.0.0-py3-none-any.whl |
Total release size: 16.5 kB
Release files / aws_signature-1.0.0.tar.gz
| Download URL | aws_signature-1.0.0.tar.gz |
|---|---|
| Size | 8.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b70fa5d33dcd28b39af78c6d8c80d8a061729bab1664e8c1aae0f4c3ea3bf635
|
|
BLAKE2b-256 checksum How to use checksums |
784bf45c87786e6d6081bbc1d983c49cbb5ba26558c8392fccccf2cc118af276
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 22, 2025.
Transparency logRelease files / aws_signature-1.0.0-py3-none-any.whl
| Download URL | aws_signature-1.0.0-py3-none-any.whl |
|---|---|
| Size | 8.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ffc33e47253f410af6cf75d0a33f19d19a51ec781c692d91ecf5b6e2599475cb
|
|
BLAKE2b-256 checksum How to use checksums |
4c45de51c116cfcbb06259a97dc6e1e37cfa62552d55e327d3208dd334cb14be
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 22, 2025.
Transparency logSecurity for aws-signature 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for aws_signature-1.0.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 22, 2025.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.