iLovePDF API - Python Library
A Python library for iLovePDF API to automate PDF processing tasks such as compressing, merging, splitting, converting, protecting, and more.
You can sign up for an iLovePDF account at https://developer.ilovepdf.com
Develop and automate PDF processing tasks like Compress PDF, Merge PDF, Split PDF, convert Office to PDF, PDF to JPG, Images to PDF, add Page Numbers, Rotate PDF, Unlock PDF, stamp a Watermark and Repair PDF. Each one with several settings to get your desired results.
Requirements
- Python 3.10 to 3.14
Installation
You can install the library via PIP. Run the following command:
pip install ilovepdf
For other install options (source, pre-release), see INSTALL.md.
Quick Start
- Get your API keys from https://developer.ilovepdf.com
- Run a task:
from ilovepdf import CompressTask
task = CompressTask(public_key="your_public_key", secret_key="your_secret_key")
task.add_file("document.pdf")
task.execute()
task.download("output_folder")
Project Structure & Documentation
- Core library:
ilovepdf/ - Example scripts:
samples/ - Unit & integration tests:
tests/ - Installation:
INSTALL.md- All install options - Development:
DEVELOPMENT.md- Contributing & setup - Docker & environment setup:
.docker/
For full API docs, visit developer.ilovepdf.com
Metadata
Release files for ilovepdf 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 | |
|---|---|---|---|
| ilovepdf-1.0.0.tar.gz | 63.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ilovepdf-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 236.7 kB
Release files / ilovepdf-1.0.0.tar.gz
| Download URL | ilovepdf-1.0.0.tar.gz |
|---|---|
| Size | 63.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
eeca04825c91833272862daca0b37f99fa3a3c1e16048e68607d8e383337600b
|
|
BLAKE2b-256 checksum How to use checksums |
7b6ce13126cc2970b9c534adb4908b4dde80c686e433ac483f0cc721a2f3e93e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.2
|
Release files / ilovepdf-1.0.0-py3-none-any.whl
| Download URL | ilovepdf-1.0.0-py3-none-any.whl |
|---|---|
| Size | 173.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
212a33a2b2cae966a109196aa28fb43a1e299b3c42b6a3a6bcbd713d6b207ee7
|
|
BLAKE2b-256 checksum How to use checksums |
db5f00f9a7ded6414ad9634258f2cd1e047b4482b9835a483aa2b53babb4c30f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.2
|