pdf-play 1.2.6

Last updated:

0 purchases

pdf-play 1.2.6 Image
pdf-play 1.2.6 Images
Add to Cart

Description:

pdfplay 1.2.6

PDFPlay
Watermark PDF files!
































PDFPlay is a Python package that aims to provide easy-to-use utilities to manipulate
PDF documents. Currently there's just one utility available, which is to "watermark"
PDF files.
Get Started

Install it
>> pip install pdf-play



Play With It
>> watermark oto -t watermark text -i sample.pdf



Use It In Your Projects
from pdf_play import watermark

# set some variables
wm_text = 'use this text as the watermark!'
target_file = 'MyPC/Downloads/PDFFiles/sample.pdf'
output_file = 'MyPC/Downloads/PDFFiles/sample_watermarked.pdf'
font_name = 'Helvetica'
font_size = 'medium'
text_alignment = 'horizontal'

# call the watermark function
watermark(wm_text, target_file, output_file, font_name=font_name,
font_size=font_size, text_alignment=text_alignment)


Features


🍥 Provides easy-to-use functions to code against and a neat CLI to work directly in
your terminal.


🀄️ Provides a bunch of configurable options with each command to set things just right.


🌈 Designed to be flexible, provides easy intergration for new commands & user-options.


Dependencies


PyPDF4 >= 1.27.0


reportlab >= 3.6.1


Limitations


❗️ Requires Python >= 3.6


❗️ "watermark" is the only command available as of now.


Get Help


pdf-play -h



watermark -h



License

MIT

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.