libthumbor is the python extension to generate thumbor URLs


Keywords
imaging, face, detection, feature, thumbor, thumbnail, imagemagick, pil, opencv
License
MIT
Install
pip install libthumbor==2.0.2

Documentation

Build Status Coverage Status

libthumbor allows easy usage of thumbor in Python. Check the docs for django integration.

This version is compliant with the new URL generation schema (thumbor 3.0.0 and up).

Using it

from libthumbor import CryptoURL

crypto = CryptoURL(key='my-security-key')

encrypted_url = crypto.generate(
    width=300,
    height=200,
    smart=True,
    image_url='/path/to/my/image.jpg'
)

Docs

Check the wiki for more information on using libthumbor.

Contributions

Bernardo Heynemann

  • Generic URL encryption

Rafael Caricio

  • Django Generic View and URL

Fábio Costa

  • Django Generic View and URL