Camo sign
Create signed URLs for use with camo.
Installation
pip install camo-sign
Example usage
>>> base_url = 'https://camo.example.com/'
>>> secret_key = b'OMGWTFBBQ'
>>> image_url = 'http://example.com/img.jpg'
>>> create_signed_url(base_url, secret_key, image_url)
https://camo.example.com/22fd0910eeefa6db9d4b105aa92c56d09bccf05f/687474703a2f2f6578616d706c652e636f6d2f696d672e6a7067'
Changes
v0.1
Support generating signed URLs for camo.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
camo-sign-0.1.1.tar.gz
(2.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file camo-sign-0.1.1.tar.gz.
File metadata
- Download URL: camo-sign-0.1.1.tar.gz
- Upload date:
- Size: 2.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
561fcfd86e3b518feead824fe6ed181f16aba542bace5d82276156c05456820c
|
|
| MD5 |
37ce8270a614d5822e2a8e7d87373303
|
|
| BLAKE2b-256 |
b37d3b74e6d7542fbce25866741287d19743cde982176d4197f4b4b2484e8d25
|
File details
Details for the file camo_sign-0.1.1-py3-none-any.whl.
File metadata
- Download URL: camo_sign-0.1.1-py3-none-any.whl
- Upload date:
- Size: 3.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f941095904c684260c6592f9ade51fc388fef5f4607418baa34dc0caf7981e9b
|
|
| MD5 |
629d114dcfc11f21aa6137968f5972f4
|
|
| BLAKE2b-256 |
a3c950afbfb9b272d1699827f8a730e1f3e80e7a8ab449b8af2492786b2e9c70
|