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.1.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.1-py3-none-any.whl (15.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pdfuck-1.1.1.tar.gz
Algorithm Hash digest
SHA256 dbcbc8ff9107a929a723a786bbc6f7c4d3b25128f122a6913d32e8ddff48235e
MD5 78520d5bebc9cdc5232561f2de48806a
BLAKE2b-256 ea493381f64b06ca210c7bbfa4a8634cd4e7c19504e5572dcb95d4f90b3fdde2

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pdfuck-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 15648446788a1e2dcf478e795ffe119b5d4274d39d616bcd1f07fd7cc8675c16
MD5 82f89ab202c00a251ff89c075d686e85
BLAKE2b-256 29cc9cdaa9f7afedd7a2a11ad19c95f15890d7892a47742f05169cdc936ae8d9

See more details on using hashes here.

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