Skip to main content

Requests AuthBase for GAPI simple AK/SK HMAC signing

Project description

gapi-requests-auth

Install

pip install gapi-requests-auth

Usage

import requests
from gapi_requests_auth import AKSKAuth

s = requests.Session()
s.auth = AKSKAuth(ak="xxx", sk="yyy")

r = s.get("https://example.com/api?x=1")
print(r.status_code, r.text)

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

gapi_requests_auth-0.1.0.tar.gz (13.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gapi_requests_auth-0.1.0-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

Details for the file gapi_requests_auth-0.1.0.tar.gz.

File metadata

  • Download URL: gapi_requests_auth-0.1.0.tar.gz
  • Upload date:
  • Size: 13.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.16

File hashes

Hashes for gapi_requests_auth-0.1.0.tar.gz
Algorithm Hash digest
SHA256 566b55ae6a15ecfc6aa8e0c09de4a259667a75913d1ef5c0c60c1c0ff7a67a25
MD5 bc3d07530a6c261de25171e7651ee653
BLAKE2b-256 ac8bcdbfd381d49d7efb050ea7df0c7d8d4dd3bb68ccf63f4720e81b35a862b7

See more details on using hashes here.

File details

Details for the file gapi_requests_auth-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for gapi_requests_auth-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6359c6e532851c2842c989309033c75779fbf1cca4ccbc646085f1ac2c85af44
MD5 7936cf5e6a0b29279332996c7046cbda
BLAKE2b-256 8761404f32ceafeed55583c4576060c6a49cc5abfcdebc8b5d03353d91b2086c

See more details on using hashes here.

Supported by

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