decryptpdf
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):
Kristian Johansson 💻 🐛 |
This project follows the all-contributors specification. Contributions of any kind welcome!
Credits
This package was created with Copier and the browniebroke/pypackage-template project template.
Release files for decryptpdf 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| decryptpdf-1.1.0.tar.gz | 10.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| decryptpdf-1.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 19.3 kB
Release files / decryptpdf-1.1.0.tar.gz
| Download URL | decryptpdf-1.1.0.tar.gz |
|---|---|
| Size | 10.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c19cbb2110c043b9d33ac7f650901b9a861988173ff0571c3251c0dc4e3f4dc1
|
|
BLAKE2b-256 checksum How to use checksums |
169d79ba3163272d59c6c031720a64fcda8169ababaab6761ffa4fbb1f086492
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 17, 2025.
Transparency logRelease files / decryptpdf-1.1.0-py3-none-any.whl
| Download URL | decryptpdf-1.1.0-py3-none-any.whl |
|---|---|
| Size | 8.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
180c5c50b5c1b95eb107aaa7b4fc17fd2ba96fa2757f5ca6b3ca53dacc857caf
|
|
BLAKE2b-256 checksum How to use checksums |
f920d29dfd0fb012d2310e19306ef1ddf34c44d253129cef07ed27999408ec1d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 17, 2025.
Transparency log