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
>>pipinstallpdf-play
Play With It
>>watermarkoto-twatermarktext-isample.pdf
Use It In Your Projects
frompdf_playimportwatermark# set some variableswm_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 functionwatermark(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.