Skip to main content

Generate signed URLs for Camo image proxy

Project description

Camo sign

https://travis-ci.org/BKNO3/camo-sign.svg?branch=master

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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for camo-sign, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size camo_sign-0.1.1-py3-none-any.whl (3.2 kB) File type Wheel Python version 3.5 Upload date Hashes View hashes
Filename, size camo-sign-0.1.1.tar.gz (2.0 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page