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 watermarker.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.2.tar.gz
(14.6 kB
view hashes)
Built Distribution
Close
Hashes for move_unmarker-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 155e47bd753b1ed23f4d354baec9bb55eb8c503f58115c1b666cc83b02c36d44 |
|
MD5 | ff75e9335f77597347e131e7be117484 |
|
BLAKE2b-256 | f58e97a88295f4330c935c0340885187bb6f2f1470dab4e0831a7cf9db321d73 |