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
Metadata
Release files for libthumbor 2.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| libthumbor-2.0.2.tar.gz | 7.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| libthumbor-2.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.8 kB
Release files / libthumbor-2.0.2.tar.gz
| Download URL | libthumbor-2.0.2.tar.gz |
|---|---|
| Size | 7.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d4fb22159ad30d542acbc0379e468ce4b74f881a2b8918079249533a273337e8
|
|
BLAKE2b-256 checksum How to use checksums |
b40f7f80779f31c1c10d80facfe8f2161d67fef31c50c78c615ec89f74633759
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.12
|
Release files / libthumbor-2.0.2-py3-none-any.whl
| Download URL | libthumbor-2.0.2-py3-none-any.whl |
|---|---|
| Size | 8.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4d4dc0cef2c4d5b24dd7b8b25f62097508f10820aaf31eada7d924d6ac0d5378
|
|
BLAKE2b-256 checksum How to use checksums |
dc0eedfa0b47dfa810f55e9fc5dcf8961d4deea702c26cb2e14dd6db14765747
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.12
|