File: README.md

package info (click to toggle)
libthumbor 2.0.2-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 288 kB
  • sloc: python: 900; makefile: 18
file content (39 lines) | stat: -rw-r--r-- 947 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
[![Build Status](https://secure.travis-ci.org/thumbor/libthumbor.png)](http://travis-ci.org/thumbor/libthumbor) [![Coverage Status](https://coveralls.io/repos/github/thumbor/libthumbor/badge.svg?branch=master)](https://coveralls.io/github/thumbor/libthumbor?branch=master)

libthumbor allows easy usage of
[thumbor](http://github.com/thumbor/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

```python
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