34j / decryptpdf

Simple CLI tool for decrypting PDF files. `pipx run decryptpdf` (PDF password remover / unlocker, ✔Batch processing, ✔CLI)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

decryptpdf

CI Status Documentation Status Test coverage percentage

Poetry black pre-commit

PyPI Version Supported Python versions License

Simple CLI tool for decrypting PDF files.

Installation

Install this via pip (or your favourite package manager):

pipx install decryptpdf

Usage

> decryptpdf -h
Usage: decryptpdf [OPTIONS] PATH

  Decrypts a PDF file.

  If PATH is a directory, recursively searches for PDF files. If PATH is a
  file and does not exist, checks if PATH with ".pdf" extension exists. If the
  file is not encrypted, skips it.

Options:
  -h, --help           Show this message and exit.
  -p, --password TEXT  The password to decrypt the PDF file.

Contributors ✨

Thanks goes to these wonderful people (emoji key):

This project follows the all-contributors specification. Contributions of any kind welcome!

About

Simple CLI tool for decrypting PDF files. `pipx run decryptpdf` (PDF password remover / unlocker, ✔Batch processing, ✔CLI)

License:Creative Commons Zero v1.0 Universal


Languages

Language:Python 94.3%Language:JavaScript 5.7%