skip to navigation
skip to content

apysigner 0.0.1

Basic API request signing

Latest Version: 3.0.1

A very simple library to help generate signed requests.


pip install apysigner


For a GET request

>>> import apysigner
>>> private_key = 'UHJpdmF0ZSBLZXk='
>>> url = ''
>>> apysigner.get_signature(private_key, url)

For a POST request

>>> import apysigner
>>> private_key = 'UHJpdmF0ZSBLZXk='
>>> payload = {'do': 'something', 'name': 'Johnny'}
>>> url = ''
>>> apysigner.get_signature(private_key, url, payload)

Just the basics to create the HMAC signature. You’ll need combine this with other things like actually adding the signature on the URL and making the request, but those responsibilities intentionally live elsewhere.

See the django-request-signer project for examples if you need the rest.

File Type Py Version Uploaded on Size
apysigner-0.0.1.tar.gz (md5) Source 2012-05-03 4KB
  • Downloads (All Versions):
  • 14 downloads in the last day
  • 90 downloads in the last week
  • 658 downloads in the last month