PDF 命令工具集
Project description
pypdfcmd
pypdfcmd 是一個 PDF 命令工具集,基於 pypdf 庫。
功能
- 移除 PDF 密碼保護
- 支援命令行操作
- 未來將加入更多 PDF 相關指令
安裝
pip install pypdfcmd
使用方法
作為 Python 函式庫使用
from pypdfcmd import remove_password
remove_password("input.pdf", "your_password")
直接使用命令行
pdfunlock
會提示你輸入 PDF 檔案路徑和密碼。
輸出
輸出檔案固定為 output.pdf(與輸入檔案相同目錄)
依賴
- Python 3.6+
- pypdf
授權
MIT License
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
pypdfcmd-0.0.1.tar.gz
(3.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pypdfcmd-0.0.1.tar.gz.
File metadata
- Download URL: pypdfcmd-0.0.1.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f26abe55ff04adb04837e97310270582c80c7a8188e061e7b781007203a207b0
|
|
| MD5 |
e185fac48ce229d658a8bc195c507ae8
|
|
| BLAKE2b-256 |
609a64c666982ec0319f6b83af6bbbee0e8ccd89ddf7ba2e7f422430a7d2f7aa
|
File details
Details for the file pypdfcmd-0.0.1-py3-none-any.whl.
File metadata
- Download URL: pypdfcmd-0.0.1-py3-none-any.whl
- Upload date:
- Size: 4.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5aa706cedf5331cc7455df8cb79a1f1133a0e9f955066b8f15883ac0f9e8e85b
|
|
| MD5 |
013ea77d762e01245132e3db253a1c09
|
|
| BLAKE2b-256 |
332af562a8f135412560f98ea9072481392b9a2cef20e7c142aa88368d9203a8
|