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
Metadata
Release files for pypdfcmd 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pypdfcmd-0.0.1.tar.gz | 3.9 kB | Without provenance | Details for pypdfcmd-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pypdfcmd-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for pypdfcmd-0.0.1-py3-none-any.whl |
Total release size: 8.2 kB
Release files / pypdfcmd-0.0.1.tar.gz
| Download URL | pypdfcmd-0.0.1.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f26abe55ff04adb04837e97310270582c80c7a8188e061e7b781007203a207b0
|
|
BLAKE2b-256 checksum How to use checksums |
609a64c666982ec0319f6b83af6bbbee0e8ccd89ddf7ba2e7f422430a7d2f7aa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.5
|
Release files / pypdfcmd-0.0.1-py3-none-any.whl
| Download URL | pypdfcmd-0.0.1-py3-none-any.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5aa706cedf5331cc7455df8cb79a1f1133a0e9f955066b8f15883ac0f9e8e85b
|
|
BLAKE2b-256 checksum How to use checksums |
332af562a8f135412560f98ea9072481392b9a2cef20e7c142aa88368d9203a8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.5
|
Security for pypdfcmd 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.