thumbor-wand-engine
thumbor-wand-engine is an ImageMagick imaging engine for thumbor.
Installation
You can install the package from PyPI with pip:
$ pip install thumbor-wand-engine
Requirements
- Python 3.7 or higher
- MagickWand library
libmagickwand-devfor APT on Debian/UbuntuImageMagick-develfor Yum on CentOSimagemagickfor MacPorts/Homebrew on Mac
Why another engine
Thumbor ships with a builtin engine, however with thumbor-wand-engine you get:
- Smaller images ⏳ 💲
- Better image quality 🤩
- Support to animated WEBP ⏳ 💲
- Support to AVIF and HEIC 🖼
- IPTC/XMP data preservation 📜
- Smoother blur ✨
- Sharper resizing 📐
- Better watermarking 🏷
Usage
To use this engine with thumbor, define thumbor_wand_engine as the imaging
engine in thumbor.conf:
# imaging engine to use to process images
ENGINE = "thumbor_wand_engine"
Development
Requirements
- Python 3.6 or higher
- An activated virtual environment
- pre-commit
Create a development environment
-
Start by creating a new Python virtual environment with the tool of your choice (we recommend pyenv)
-
Install pre-commit (we recommend installing it not as part of the virtual environment — use your system's package manager)
-
Install thumbor-wand-engine in editable mode with all required dependencies:
$ make setup
Run tests
Once you have a working development environment:
-
Code!
🤓 🤔 💡 ⚡️ 🖼 -
Run tests
$ make test -
Check code coverage
$ make coverage-html $ open htmlcov/index.html -
Lint the code:
$ make lint -
Repeat!
Have fun!
License
Code in this repository is distributed under the terms of the MIT License.
See LICENSE for details.
Metadata
Release files for thumbor-wand-engine 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| thumbor_wand_engine-0.1.1.tar.gz | 10.4 kB | Without provenance | Details for thumbor_wand_engine-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| thumbor_wand_engine-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for thumbor_wand_engine-0.1.1-py3-none-any.whl |
Total release size: 16.3 kB
Release files / thumbor_wand_engine-0.1.1.tar.gz
| Download URL | thumbor_wand_engine-0.1.1.tar.gz |
|---|---|
| Size | 10.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
21e49e3171b17e27a666c5d6ddafda110bcc12996c51525dd98c775f0fee3c22
|
|
BLAKE2b-256 checksum How to use checksums |
65f4802579a04f9c028489b39e019f965aa74742d41c95f95e8e9627b0451494
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2
|
Release files / thumbor_wand_engine-0.1.1-py3-none-any.whl
| Download URL | thumbor_wand_engine-0.1.1-py3-none-any.whl |
|---|---|
| Size | 5.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bb96ba573acf6d9308e5ffd6e0753b7bd6db9d1902fa7ac202b8edc84dc48140
|
|
BLAKE2b-256 checksum How to use checksums |
f0c89cb6f98d6b403f7d0054a3e6173b0939c87ae7dbaac0eda8552822e57204
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2
|
Security for thumbor-wand-engine 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.