All Projects → AndyCyberSec → pylovepdf

AndyCyberSec / pylovepdf

Licence: GPL-3.0 License
ilovepdf.com python API library

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to pylovepdf

Wavideobox
秒级! 三行代码实现iOS视频压缩、变速、混音、合并、GIF水印、旋转、换音、裁剪 ! 支持不同分辩率,支持你能想到的各种混合操作! 扩展性强...更多功能不断增加中... iOS 8.0 + 有需要的功能或错误欢迎issue,笔者会及时更新
Stars: ✭ 707 (+1259.62%)
Mutual labels:  rotate, watermark
watermarker
A little tool use to add watermark to image.
Stars: ✭ 17 (-67.31%)
Mutual labels:  watermark
minizip-asm.js
Minizip in javascript. Work with password. Demo:
Stars: ✭ 38 (-26.92%)
Mutual labels:  compress
pdf-scripts
📑 Scripts to repair, verify, OCR, compress, wrangle, crop (etc.) PDFs
Stars: ✭ 33 (-36.54%)
Mutual labels:  compress
staruml-watermark
⭐ StarUML watermark remover
Stars: ✭ 48 (-7.69%)
Mutual labels:  watermark
lambda-watermark
AWS Lambda Watermark service for S3 images
Stars: ✭ 20 (-61.54%)
Mutual labels:  watermark
SLBR-Visible-Watermark-Removal
[ACM MM 2021] Visible Watermark Removal via Self-calibrated Localization and Background Refinement
Stars: ✭ 54 (+3.85%)
Mutual labels:  watermark
dpt-shell
Android函数抽取壳实现
Stars: ✭ 159 (+205.77%)
Mutual labels:  protect
craXcel-cli
Command line application to unlock Microsoft Office password protected files.
Stars: ✭ 44 (-15.38%)
Mutual labels:  unlock
pdfcrack
An Advanced tool to Crack Any Password Protected PDF file. A very user friendly script especially for noob hackers.
Stars: ✭ 46 (-11.54%)
Mutual labels:  unlock
react-native-compressor
The lightweight library for compress image, video, and audio with an awesome experience
Stars: ✭ 157 (+201.92%)
Mutual labels:  compress
Watermark-Bot
A Telegram Video Watermark Adder Bot in Pyrogram by @AbirHasan2005
Stars: ✭ 82 (+57.69%)
Mutual labels:  watermark
csso-webpack-plugin
CSSO full restructuring minification files to serve your webpack bundles
Stars: ✭ 104 (+100%)
Mutual labels:  compress
watermark
简单的图片水印功能,支持 GIF
Stars: ✭ 38 (-26.92%)
Mutual labels:  watermark
tiktok-downloader
Tiktok Downloader/Scraper using requests & bs4
Stars: ✭ 47 (-9.62%)
Mutual labels:  watermark
img-master
An image batch processing tool with multifunctional and unlimited
Stars: ✭ 63 (+21.15%)
Mutual labels:  compress
imagor
Fast, Docker-ready image processing server in Go and libvips
Stars: ✭ 2,276 (+4276.92%)
Mutual labels:  watermark
Bluetooth-Unlock
Simple script to unlock your Linux based Computer using a Bluetooth device when nearby
Stars: ✭ 37 (-28.85%)
Mutual labels:  unlock
glsl-rotate
GLSL rotation functions with matrices: 2D and 3D (with X/Y/Z convenience functions).
Stars: ✭ 54 (+3.85%)
Mutual labels:  rotate
PowerShellGUI
PowerShell scripts that generate Graphical User Interface (GUI)
Stars: ✭ 17 (-67.31%)
Mutual labels:  unlock

pylovepdf 1.3.3

ilovepdf.com python API library

What it does

This library allow to manipulate pdf 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.

Built With

Versioning

I use SemVer for versioning.

Authors

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].