iLoveIMG API - Python Library
A Python library for iLoveIMG API to automate image processing tasks such as compressing, resizing, converting, cropping, watermarking, removing backgrounds, and more.
You can sign up for an iLoveIMG account at https://developer.iloveimg.com
Develop and automate image processing tasks like Compress, Convert, Crop, Resize, Rotate, Watermark, Remove Background, and Upscale. Each task supports several settings to get your desired results.
Requirements
- Python 3.9 to 3.12
Installation
Install from PyPI:
pip install iloveimg
Or install the latest version from source:
pip install -U git+https://github.com/iloveimg/iloveimg-python.git@main#egg=iloveimg
Getting Started
Simple usage looks like:
from iloveimg import CompressTask
task = CompressTask(public_key="your_public_key", secret_key="your_secret_key")
task.add_file("input.jpg")
task.execute()
task.download("output_folder")
Project Structure & Documentation
- Core library:
iloveimg/ - Example scripts:
samples/ - Unit & integration tests:
tests/ - Docker & environment setup:
.docker/
For detailed API documentation, visit the official iLoveIMG API docs.
Metadata
Release files for iloveimg 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| iloveimg-1.0.0.tar.gz | 59.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| iloveimg-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 149.4 kB
Release files / iloveimg-1.0.0.tar.gz
| Download URL | iloveimg-1.0.0.tar.gz |
|---|---|
| Size | 59.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c81f100863a699c706441b0b257ecfae7eea4baa927b0ea2fc20623f50a26355
|
|
BLAKE2b-256 checksum How to use checksums |
f99820d9001c89936237a470b1e63cb974056a146fd4cebec4986b380b7d4cb0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.2
|
Release files / iloveimg-1.0.0-py3-none-any.whl
| Download URL | iloveimg-1.0.0-py3-none-any.whl |
|---|---|
| Size | 90.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f9bc43fbff4a1ca16aa3f8e6164f321d0c5cf0339505983397196e096f8cb61d
|
|
BLAKE2b-256 checksum How to use checksums |
81e3b558a817da7e1bdbb5cfda6af3e10fb498368750eb7c3860bc99c693a815
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.2
|