Skip to main content

No project description provided

Project description

![](assets/logo.svg)

[简体中文](README.md) | [English](README.en.md)

## 简介

[PDFuck](https://github.com/mmdjiji/pdfuck) 是一个去除 PDF 编辑密码的工具,以命令行方式使用。

## 安装

在安装前,请确保你安装了 Python (>=3.0) 及与之版本相匹配的 pip,然后在命令提示符中输入下面的命令:

`bash pip install pdfuck `

## 使用

### 去除 PDF 密码

例如,想要去除密码的 PDF 文件位于 example.pdf,只需输入下面的命令:

`bash pdfuck example.pdf `

输出文件的默认路径为 example.fucked.pdf

### 手动指定输出文件路径

如果想要手动指定输出文件的路径,可以使用 -o 参数,例如:

`bash pdfuck example.pdf -o target.pdf `

### PDF 文件含有打开密码

使用 -p 参数手动指定打开密码,例如:

`bash pdfuck example.pdf -p password `

## 致谢

感谢以下开源项目,本项目的完成离不开这些作者贡献的代码。

## 工作流

### 配置开发环境

`bash pip install -r requirements.txt `

### 构建与测试

`bash python -m build pip install --editable . `

## 开源协议

[GPL-3.0](LICENSE)

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.0.0.tar.gz (14.3 kB view details)

Uploaded Source

Built Distribution

pdfuck-1.0.0-py3-none-any.whl (14.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pdfuck-1.0.0.tar.gz
  • Upload date:
  • Size: 14.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.1

File hashes

Hashes for pdfuck-1.0.0.tar.gz
Algorithm Hash digest
SHA256 755e5dc5b95ffd232471e99eb2957ebbe49a473e9db22918a9ef23c943b7dee0
MD5 643a030ea904646451a927a37b8dfef0
BLAKE2b-256 40de93e60de68cbe95ee4cc4941a52d1bd6d45fb1be9881c73c748577d989dbf

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pdfuck-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 14.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.1

File hashes

Hashes for pdfuck-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d8b268848bb1c2c7e8f3c1b831a4fb3af98dc7c4082ef5df1b7148663456c08f
MD5 4ce843835fa52b34700f7bba26d275ed
BLAKE2b-256 9394158726e92dfdfb42c09c497f4191b96e1f1c8e1ea29048d811b3c2d49912

See more details on using hashes here.

Supported by

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