Skip to main content

iLovePDF Python API

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ilovepdf-1.0.0.tar.gz (63.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ilovepdf-1.0.0-py3-none-any.whl (173.4 kB view details)

Uploaded Python 3

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

Hashes for ilovepdf-1.0.0.tar.gz
Algorithm Hash digest
SHA256 eeca04825c91833272862daca0b37f99fa3a3c1e16048e68607d8e383337600b
MD5 11f114e3c07a4704524c12d08fe43c27
BLAKE2b-256 7b6ce13126cc2970b9c534adb4908b4dde80c686e433ac483f0cc721a2f3e93e

See more details on using hashes here.

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

Hashes for ilovepdf-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 212a33a2b2cae966a109196aa28fb43a1e299b3c42b6a3a6bcbd713d6b207ee7
MD5 3e652bc11c5a9a25f675b5357df0b53c
BLAKE2b-256 db5f00f9a7ded6414ad9634258f2cd1e047b4482b9835a483aa2b53babb4c30f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page