PDFuck: Remove the password of your PDF file
Project description
简介
PDFuck 是一个去除 PDF 编辑密码的工具,以命令行方式使用。
安装
在安装前,请确保你安装了 Python (>=3.0) 及与之版本相匹配的 pip,然后在命令提示符中输入下面的命令:
pip install pdfuck
使用
去除 PDF 密码
例如,想要去除密码的 PDF 文件位于 example.pdf
,只需输入下面的命令:
pdfuck example.pdf
输出文件的默认路径为 example.fucked.pdf
。
手动指定输出文件路径
如果想要手动指定输出文件的路径,可以使用 -o
参数,例如:
pdfuck example.pdf -o target.pdf
PDF 文件含有打开密码
使用 -p
参数手动指定打开密码,例如:
pdfuck example.pdf -p password
致谢
感谢以下开源项目,本项目的完成离不开这些作者贡献的代码。
工作流
配置开发环境
pip install -r requirements.txt
构建与测试
python -m build
pip install --editable .
开源协议
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
pdfuck-1.0.2.tar.gz
(15.0 kB
view details)
Built Distribution
pdfuck-1.0.2-py3-none-any.whl
(15.1 kB
view details)
File details
Details for the file pdfuck-1.0.2.tar.gz
.
File metadata
- Download URL: pdfuck-1.0.2.tar.gz
- Upload date:
- Size: 15.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d7add9b5504a4d1947d49e7b25aeddf5da137fbc94f3fed1237d6448d0e39775 |
|
MD5 | cc3a45f57349950fa52be41c8d13fc8f |
|
BLAKE2b-256 | dc1e0be7e9aa0069bb2caf5915000497e61e71d738d265a8a99c1e70962e1af5 |
File details
Details for the file pdfuck-1.0.2-py3-none-any.whl
.
File metadata
- Download URL: pdfuck-1.0.2-py3-none-any.whl
- Upload date:
- Size: 15.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | faf4d1feabe3dbfde8bf4e5f7045cd65db2c7e285a27e6ffe5ba6336736b5854 |
|
MD5 | 74348cb840451cda61e775aa7be6f9ff |
|
BLAKE2b-256 | 081d4add645a834a5f0713aad2837f2a56eab1ff57ccb2293a47027a8f0dcf76 |