Skip to content
/ decryptpdf Public

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

License

Notifications You must be signed in to change notification settings

34j/decryptpdf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

decryptpdf

CI Status Documentation Status Test coverage percentage

uv Ruff pre-commit

PyPI Version Supported Python versions License


Documentation: https://decryptpdf.readthedocs.io

Source Code: https://github.com/34j/decryptpdf


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.

╭─ Arguments ──────────────────────────────────────────────────────────────────────╮
│ *    path      PATH  [default: None] [required]                                  │
╰──────────────────────────────────────────────────────────────────────────────────╯
╭─ Options ────────────────────────────────────────────────────────────────────────╮
│ *  --password            -p                      TEXT  The password to decrypt   │
│                                                        the PDF file.             │
│                                                        [default: None]           │
│                                                        [required]                │
│    --overwrite           -o  --no-overwrite  -n        Overwrite the original    │
│                                                        file, or save decrypted   │
│                                                        file as .decrypted.pdf    │
│                                                        [default: o]              │
│    --install-completion                                Install completion for    │
│                                                        the current shell.        │
│    --show-completion                                   Show completion for the   │
│                                                        current shell, to copy it │
│                                                        or customize the          │
│                                                        installation.             │
│    --help                -h                            Show this message and     │
│                                                        exit.                     │
╰──────────────────────────────────────────────────────────────────────────────────╯

Contributors ✨

Thanks goes to these wonderful people (emoji key):

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

Credits

Copier

This package was created with Copier and the browniebroke/pypackage-template project template.

About

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

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •