English | 简体中文
Introduction
PDFuck is a tool to remove PDF editing password, which is used in CLI (command line) mode.
Installation
Before installing, please ensure that you have installed Python (>=3.8) and its matching version of pip, and then enter the following command at the command prompt:
pip install pdfuck
Or use uv to run directly without installing:
uvx pdfuck
Note: If you use this method, subsequent usage will require adding uvx before the command. You can also set an alias for easier use:
alias pdfuck='uvx pdfuck'
Usage
Remove PDF password
For example, if you want to remove the password from the PDF file which is located in example.pdf, just enter the following command:
pdfuck example.pdf
The default path of the output file is example.fucked.pdf.
Manually specify the output file path
If you want to specify the path of the output file manually, you can use the -o parameter, for example:
pdfuck example.pdf -o target.pdf
PDF file requires opening password
Use the -p parameter to manually specify the opening password, for example:
pdfuck example.pdf -p password
Credit
Thanks for the following open source projects. The completion of this project is inseparable from the code contributed by these authors.
Workflow
Configure development environment
uv pip install -e .
Build
uv build
License
Metadata
Release files for pdfuck 1.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pdfuck-1.1.2.tar.gz | 91.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pdfuck-1.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 106.6 kB
Release files / pdfuck-1.1.2.tar.gz
| Download URL | pdfuck-1.1.2.tar.gz |
|---|---|
| Size | 91.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cd0c2dbe43a94a1f8eb2d3ea0d1846942d9a14113165a3f99a53100a2e7adba7
|
|
BLAKE2b-256 checksum How to use checksums |
40907efab926d4fefd30123ef5581a1c5a59af301da45cb32ce906a1ea7334ee
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 May 15, 2026.
Transparency logRelease files / pdfuck-1.1.2-py3-none-any.whl
| Download URL | pdfuck-1.1.2-py3-none-any.whl |
|---|---|
| Size | 15.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
00fb87570107c681ff3e342a53543caa4a170395eab80de9cd3c7300a54af16b
|
|
BLAKE2b-256 checksum How to use checksums |
ea6fbde5629c3eb846de7ed85fc3156d3df9dd38530f60cb8e9c32f44374af35
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 May 15, 2026.
Transparency log