Skip to main content

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.

Metadata

Release files for camo-sign 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for camo-sign 0.1.1
File Size Uploaded
camo-sign-0.1.1.tar.gz 2.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for camo-sign 0.1.1
File Interpreter ABI Platform
camo_sign-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 5.2 kB

Release files / camo-sign-0.1.1.tar.gz

Download URL camo-sign-0.1.1.tar.gz
Size 2.0 kB
Tags Source
SHA-256 checksum
How to use checksums
561fcfd86e3b518feead824fe6ed181f16aba542bace5d82276156c05456820c
BLAKE2b-256 checksum
How to use checksums
b37d3b74e6d7542fbce25866741287d19743cde982176d4197f4b4b2484e8d25
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / camo_sign-0.1.1-py3-none-any.whl

Download URL camo_sign-0.1.1-py3-none-any.whl
Size 3.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f941095904c684260c6592f9ade51fc388fef5f4607418baa34dc0caf7981e9b
BLAKE2b-256 checksum
How to use checksums
a3c950afbfb9b272d1699827f8a730e1f3e80e7a8ab449b8af2492786b2e9c70
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page