PDF utilities
Project description
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
Limitations
❗️ Requires Python >= 3.6
❗️ "watermark" is the only command available as of now.
Get Help
pdf-play -hwatermark -h
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pdf-play-1.2.6.tar.gz
(12.5 kB
view hashes)
Built Distribution
pdf_play-1.2.6-py3-none-any.whl
(14.0 kB
view hashes)