libthumbor is the python extension to generate thumbor URLs
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
libthumbor-2.0.2.tar.gz
(7.0 kB
view details)
Built Distribution
File details
Details for the file libthumbor-2.0.2.tar.gz
.
File metadata
- Download URL: libthumbor-2.0.2.tar.gz
- Upload date:
- Size: 7.0 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d4fb22159ad30d542acbc0379e468ce4b74f881a2b8918079249533a273337e8 |
|
MD5 | 16f06114487f2f2170ffc646a1cb861e |
|
BLAKE2b-256 | b40f7f80779f31c1c10d80facfe8f2161d67fef31c50c78c615ec89f74633759 |
Provenance
File details
Details for the file libthumbor-2.0.2-py3-none-any.whl
.
File metadata
- Download URL: libthumbor-2.0.2-py3-none-any.whl
- Upload date:
- Size: 8.7 kB
- Tags: Python 3
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4d4dc0cef2c4d5b24dd7b8b25f62097508f10820aaf31eada7d924d6ac0d5378 |
|
MD5 | 714c3ac4b917d5edd621ec8e883e75a8 |
|
BLAKE2b-256 | dc0eedfa0b47dfa810f55e9fc5dcf8961d4deea702c26cb2e14dd6db14765747 |