iLovePDF Python API
Project description
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
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 ilovepdf-1.0.0.tar.gz.
File metadata
- Download URL: ilovepdf-1.0.0.tar.gz
- Upload date:
- Size: 63.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eeca04825c91833272862daca0b37f99fa3a3c1e16048e68607d8e383337600b
|
|
| MD5 |
11f114e3c07a4704524c12d08fe43c27
|
|
| BLAKE2b-256 |
7b6ce13126cc2970b9c534adb4908b4dde80c686e433ac483f0cc721a2f3e93e
|
File details
Details for the file ilovepdf-1.0.0-py3-none-any.whl.
File metadata
- Download URL: ilovepdf-1.0.0-py3-none-any.whl
- Upload date:
- Size: 173.4 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 |
212a33a2b2cae966a109196aa28fb43a1e299b3c42b6a3a6bcbd713d6b207ee7
|
|
| MD5 |
3e652bc11c5a9a25f675b5357df0b53c
|
|
| BLAKE2b-256 |
db5f00f9a7ded6414ad9634258f2cd1e047b4482b9835a483aa2b53babb4c30f
|