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
Built Distribution
File details
Details for the file pdf-play-1.2.6.tar.gz
.
File metadata
- Download URL: pdf-play-1.2.6.tar.gz
- Upload date:
- Size: 12.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a006aeb70b968688914da588cde807d86e9a85e4d0aafbeebce2315b2a2898d3 |
|
MD5 | a5c365f6f6de3c6928b4b39bc5d5a9ca |
|
BLAKE2b-256 | 499e57a3364e244cde0b8cff14e65e5acf279e428df0d1edf63f06386123132b |
File details
Details for the file pdf_play-1.2.6-py3-none-any.whl
.
File metadata
- Download URL: pdf_play-1.2.6-py3-none-any.whl
- Upload date:
- Size: 14.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 929862826188191b8f2f16af04f1938979e6f18f5a6475b6ff18ba8c3926f869 |
|
MD5 | fba7827ffc9a2db2887223443eaf930c |
|
BLAKE2b-256 | e6e980ecd8da6b7223be29038e6ae799b6d0f57d357c44f69f46f41c25bc2602 |