Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

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

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.

Files for Imgservice, version 0.1
Filename, size File type Python version Upload date Hashes
Filename, size Imgservice-0.1.tar.gz (7.4 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 SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page