iLoveIMG Python API
Project description
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.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file iloveimg-1.0.0.tar.gz.
File metadata
- Download URL: iloveimg-1.0.0.tar.gz
- Upload date:
- Size: 59.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c81f100863a699c706441b0b257ecfae7eea4baa927b0ea2fc20623f50a26355
|
|
| MD5 |
6865d14dffd36f457a6f6a8b974eca48
|
|
| BLAKE2b-256 |
f99820d9001c89936237a470b1e63cb974056a146fd4cebec4986b380b7d4cb0
|
File details
Details for the file iloveimg-1.0.0-py3-none-any.whl.
File metadata
- Download URL: iloveimg-1.0.0-py3-none-any.whl
- Upload date:
- Size: 90.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f9bc43fbff4a1ca16aa3f8e6164f321d0c5cf0339505983397196e096f8cb61d
|
|
| MD5 |
623a5f3947961546910d81dd80bcc676
|
|
| BLAKE2b-256 |
81e3b558a817da7e1bdbb5cfda6af3e10fb498368750eb7c3860bc99c693a815
|