Skip to main content python API library

Project description

# pylovepdf 1.3.1 python API library

## What it does

This library allow to manipulate pdf using the API of See the Tools section to know what you can do.

### Prerequisites

* [developer account] ( to get a public key to use the API.
* [Python 3.x.x]
* [Requests] (

## Installation

pip install pylovepdf

## Manual installation

Download the latest release.
python 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')

## Alternative Example Usage (compress tool)
A tool can be created directly:
from import Compress

t = Compress('public_key', verify_ssl=True)
## Documentation

Please see for up-to-date documentation.

## Built With

* [pyCharm]( - python IDE

## Versioning

I use [SemVer]( for versioning.

## Authors

* **Andrea Bruschi** - *Initial work* - [AndyBTuttofare](

## Acknowledgments

* mumble mumble..

Project details

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
pylovepdf-1.3.1.tar.gz (22.8 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page