Library to create image proxying services.
The most basic usecase is serving images through HTTPS and stripping information from the original request, similar to what [camo](https://github.com/atmos/camo) does.
Imgservice brings it a step forward by allowing:
Non-http(s) sources (eg. private S3 buckets, …)
Image processing (resizing, cropping, …)
URL format and security
URLs are in the format: https://example.com/<token>, where token is a (signed, b64 encoded) object describing the image source and any required transformations.
Configuration
All the configuration is done by writing a simple Python script that imports and makes use of the imgservice library.
Testing
To run the test suite:
docker-compose run –rm -e PYTHONHASHSEED=0 web py.test -vvv –cov=imgservice –cov-report=term-missing ./tests
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file Imgservice-0.1.tar.gz.
File metadata
- Download URL: Imgservice-0.1.tar.gz
- Upload date:
- Size: 7.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cd73db99129ae9e00f56b28957c52e5622a33cf4e8bd1adc91268f7b4ad26479
|
|
| MD5 |
da95ca373793a1faa8c00446ca9e134a
|
|
| BLAKE2b-256 |
dcae877b1d0cc46c0d508ebd0c8d17f1a191bd30b67f10c912542f2bb02e2f96
|