Skip to main content

PDFuck: Remove the password of your PDF file. A tool to remove PDF editing password, which is used in CLI (command line) mode.

Project description

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

GPL-3.0

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pdfuck-1.1.2.tar.gz (91.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pdfuck-1.1.2-py3-none-any.whl (15.2 kB view details)

Uploaded Python 3

File details

Details for the file pdfuck-1.1.2.tar.gz.

File metadata

  • Download URL: pdfuck-1.1.2.tar.gz
  • Upload date:
  • Size: 91.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pdfuck-1.1.2.tar.gz
Algorithm Hash digest
SHA256 cd0c2dbe43a94a1f8eb2d3ea0d1846942d9a14113165a3f99a53100a2e7adba7
MD5 b442a2c3da4da0981e6719712e4f2d89
BLAKE2b-256 40907efab926d4fefd30123ef5581a1c5a59af301da45cb32ce906a1ea7334ee

See more details on using hashes here.

Provenance

The following attestation bundles were made for pdfuck-1.1.2.tar.gz:

Publisher: publish.yml on mmdjiji/pdfuck

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pdfuck-1.1.2-py3-none-any.whl.

File metadata

  • Download URL: pdfuck-1.1.2-py3-none-any.whl
  • Upload date:
  • Size: 15.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pdfuck-1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 00fb87570107c681ff3e342a53543caa4a170395eab80de9cd3c7300a54af16b
MD5 3beaa7d689cbd1dd2b6497e30c2f4a4f
BLAKE2b-256 ea6fbde5629c3eb846de7ed85fc3156d3df9dd38530f60cb8e9c32f44374af35

See more details on using hashes here.

Provenance

The following attestation bundles were made for pdfuck-1.1.2-py3-none-any.whl:

Publisher: publish.yml on mmdjiji/pdfuck

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page