Skip to main content

Image proxy service

Project description

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

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

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

Source Distribution

Imgservice-0.1.tar.gz (7.4 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page