Generate signed URLs for Camo image proxy
Project description
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.
Project details
Release history Release notifications | RSS feed
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 hashes)
Built Distribution
Close
Hashes for camo_sign-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f941095904c684260c6592f9ade51fc388fef5f4607418baa34dc0caf7981e9b |
|
MD5 | 629d114dcfc11f21aa6137968f5972f4 |
|
BLAKE2b-256 | a3c950afbfb9b272d1699827f8a730e1f3e80e7a8ab449b8af2492786b2e9c70 |