CLI utility to remove PII watermarks from pdfs downloaded from Move USP/ESALQ
Project description
Move Unmarker
Very small CLI utility to remove PII watermarks from pdfs downloaded from Move USP/ESALQ, using PyMuPDF.
Installation
- Make sure Python 3.8 or higher and pip are installed
- Run
pip install move-unmarker
Usage
usage: unmarker [-h] [-o OUTPUT] [-g GARBAGE] input
Utility to remove PII watermarks from pdfs downloaded from Move USP/ESALQ.
positional arguments:
input input filename
options:
-h, --help show this help message and exit
-o OUTPUT, --output OUTPUT
output filename (default: unmarked.pdf)
-g GARBAGE, --garbage GARBAGE
level of garbage collection (default: 1)
pymupdf.Document.save method for more details on garbage collection.
TLDR
unmarker watermarked.pdf
unmarker -o unmarked.pdf watermarked.pdf
unmarker --garbage 3 watermarked.pdf
Development
-
Check Python's version
python -V
-
Install Python 3.8 or higher and pip, if they aren't already installed:
- Windows
winget install Python.Python.3.X
(replace X with the desired minor version) - Ubuntu/Debian based distros
apt install python3 python3-pip
- Arch based distros
pacman -S python python-pip
- Fedora
dnf install python3 python3-pip
- Windows
-
Clone this repo
git clone https://github.com/joaofauvel/move-unmarker.git && cd move-unmarker
-
Install requirements
poetry install
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
move_unmarker-0.1.3.tar.gz
(14.6 kB
view hashes)
Built Distribution
Close
Hashes for move_unmarker-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba5afcf0fb67a17fa65c181d1921be31dfdd8f8c37339b11c4f69f6f9e543090 |
|
MD5 | 8dc5fa23d25fbbc9b1586a9306b75680 |
|
BLAKE2b-256 | 71074d55a47730f862cdc85a3051cd8bcce3f5eb4112a7a4f310c042b2884ba6 |