Skip to content

ilovepdf/ilovepdf-python

Repository files navigation

iLovePDF API - Python Library

PyPI version Python versions License

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

  1. Get your API keys from https://developer.ilovepdf.com
  2. 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

For full API docs, visit developer.ilovepdf.com

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages