Simple CLI tool for decrypting PDF files.
Project description
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.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file decryptpdf-1.1.0.tar.gz.
File metadata
- Download URL: decryptpdf-1.1.0.tar.gz
- Upload date:
- Size: 10.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c19cbb2110c043b9d33ac7f650901b9a861988173ff0571c3251c0dc4e3f4dc1
|
|
| MD5 |
c0115842c232da3bb51ea7bf15a3ce58
|
|
| BLAKE2b-256 |
169d79ba3163272d59c6c031720a64fcda8169ababaab6761ffa4fbb1f086492
|
Provenance
The following attestation bundles were made for decryptpdf-1.1.0.tar.gz:
Publisher:
ci.yml on 34j/decryptpdf
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
decryptpdf-1.1.0.tar.gz -
Subject digest:
c19cbb2110c043b9d33ac7f650901b9a861988173ff0571c3251c0dc4e3f4dc1 - Sigstore transparency entry: 768596651
- Sigstore integration time:
-
Permalink:
34j/decryptpdf@d3af1fd8d3b13da8b5f673381c19b44b90219b72 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/34j
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yml@d3af1fd8d3b13da8b5f673381c19b44b90219b72 -
Trigger Event:
push
-
Statement type:
File details
Details for the file decryptpdf-1.1.0-py3-none-any.whl.
File metadata
- Download URL: decryptpdf-1.1.0-py3-none-any.whl
- Upload date:
- Size: 8.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
180c5c50b5c1b95eb107aaa7b4fc17fd2ba96fa2757f5ca6b3ca53dacc857caf
|
|
| MD5 |
2bcbce7266f781be27dea9c819de8b37
|
|
| BLAKE2b-256 |
f920d29dfd0fb012d2310e19306ef1ddf34c44d253129cef07ed27999408ec1d
|
Provenance
The following attestation bundles were made for decryptpdf-1.1.0-py3-none-any.whl:
Publisher:
ci.yml on 34j/decryptpdf
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
decryptpdf-1.1.0-py3-none-any.whl -
Subject digest:
180c5c50b5c1b95eb107aaa7b4fc17fd2ba96fa2757f5ca6b3ca53dacc857caf - Sigstore transparency entry: 768596654
- Sigstore integration time:
-
Permalink:
34j/decryptpdf@d3af1fd8d3b13da8b5f673381c19b44b90219b72 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/34j
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yml@d3af1fd8d3b13da8b5f673381c19b44b90219b72 -
Trigger Event:
push
-
Statement type: