skip to navigation
skip to content

thumpy 0.0.1

A Python web server that uses PIL to dynamically scale, crop, transform and serve images from S3 or the local filesystem

Downloads ↓

Latest Version: 0.0.4

Meet Thumpy

Thumpy is a Python web service that crops and scales images. It doesn't store anything. It's meant to be used as an origin server sitting behind a CDN such as Amazon CloudFront.

CONFIGURATION

Settings are stored in the settings.yaml file. They should include the name and access keys to your S3 bucket.

INTERFACE

Thumpy serves images using the same paths as their storage location on S3. Conversion parameters are specified in the query string, using an interface inspired by TimThumb. examples:

Scale the width to 200px, and the height proportionally:

http://mythumpyserver.somewhere/castle.jpg?w=200

Scale the height to 150px, and the width propotionally:

http://mythumpyserver.somewhere/castle.jpg?w=200

Specify both height and width:

http://mythumpyserver.somewhere/castle.jpg?w=200&h=150
 
File Type Py Version Uploaded on Size # downloads
thumpy-0.0.1.tar.gz (md5) Source 2012-02-07 4KB 163