Skip to main content

edenpdf

ilovepdf.com python API library, forked from Andrea Bruschi's pylovepdf

What it does

This library allows pdf manipulation using the API of http://www.ilovepdf.com. See the Tools section to know what you can do.

Prerequisites

Installation (older version)

pip install pylovepdf 

Manual installation (up to date)

Download the latest release.

python setup.py install

Getting started

Example files are located inside samples/. Change file paths and the public_key parameter with the one you found in your developer account (see prerequisites). Run the files and enjoy.

Tools

Currently the following tools are available:

  • compress (Reduce the size of pdf files)
  • imagepdf (Converts an image to pdf)
  • merge (Merge multiple pdf into single file)
  • officepdf (Office document to pdf conversion)
  • pagenumber (Place numbers on pages)
  • pdfa (Converts into PDF/A)
  • pdfjpg (Converts a pdf into jpeg image)
  • protect (Add password to a pdf)
  • rotate (Rotates the pages of a file)
  • split (Split a pdf)
  • unlock (Remove the password security from the pdf, the coolest feature ever!)
  • validatepdfa (Checks the conformity of PDF/A format)
  • watermark (Adds watermark to the file)

Example Usage (compress tool)

from pylovepdf.ilovepdf import ILovePdf

ilovepdf = ILovePdf('public_key', verify_ssl=True)
task = ilovepdf.new_task('compress')
task.add_file('pdf_file')
task.set_output_folder('output_directory')
task.execute()
task.download()
task.delete_current_task()

Alternative Example Usage (compress tool)

A tool can be created directly:

from pylovepdf.tools.compress import Compress

t = Compress('public_key', verify_ssl=True)
t.add_file('pdf_file')
t.set_output_folder('output_directory')
t.execute()
t.download()
t.delete_current_task()

Documentation

Please see https://developer.ilovepdf.com/docs for up-to-date documentation.

Metadata

Release files for edenpdf 1.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for edenpdf 1.0.3
File Size Uploaded Provenance Actions
edenpdf-1.0.3.tar.gz 23.0 kB Without provenance Details for edenpdf-1.0.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for edenpdf 1.0.3
File Interpreter ABI Platform Actions
edenpdf-1.0.3-py3-none-any.whl Python 3 none any Details for edenpdf-1.0.3-py3-none-any.whl

Total release size: 54.0 kB

Release files / edenpdf-1.0.3.tar.gz

Download URL edenpdf-1.0.3.tar.gz
Size 23.0 kB
Tags Source
SHA-256 checksum
How to use checksums
c27f97e029180882bec825269006d40b41a44d97dca9f8b01e398726a5d32c8e
BLAKE2b-256 checksum
How to use checksums
d0f5d177b37dc67f9c087e78a96998edaa57144796f0817c7ac8ad8baf109e6b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/0.12.17 CPython/3.6.9 Linux/4.15.0-74-generic

Release files / edenpdf-1.0.3-py3-none-any.whl

Download URL edenpdf-1.0.3-py3-none-any.whl
Size 31.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b9764df58f6bc6819b90031a067213443dc23b29b3453fb560df6bf8243ee36b
BLAKE2b-256 checksum
How to use checksums
9b5d13e5ed3277deb45cf0598af0449261d4f4a76fcb11797feb24aefd581535
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/0.12.17 CPython/3.6.9 Linux/4.15.0-74-generic

Security for edenpdf 1.0.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page