No project description provided
Project description
PDF Unlocker
This is a simple Python script that converts PDF files into versions without any permission restrictions
This script utilizes pikepdf to make a clean copy of each page
Usage
Install the Requirements
To install the necessary requirements, run the following command:
pip install pdf-unlocker
Typical Usage
pdf-unlocker input.pdf -o output.pdf
pdf-unlocker input.pdf -o output.pdf --password 1234
pdf-unlocker input.pdf -o output.pdf --stdin-password
echo 1234 | pdf-unlocker input.pdf -o output.pdf --stdin-password
pdf-unlocker input.pdf -b
The resulting PDF file should not have any permission restrictions, nor should it require a password for usage (the password is required only to read the source PDF)
Arguments
Argument | Description | |
---|---|---|
(Required) | input PDF file | |
-p PASSWORD | --password PASSWORD | password for the input PDF file |
--stdin-password | read password from stdin (this will override the --password or -p argument) | |
-o OUTPUT | --output OUTPUT | output PDF file default: output.pdf |
-b | --backup | the original file will be saved with the extension .bak, and the default output will be the original one |
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
pdf-unlocker-1.1.tar.gz
(2.3 kB
view hashes)
Built Distribution
Close
Hashes for pdf_unlocker-1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5390dadd2d9d5795f842754bdad2e23da22ae440ad7f9baaa9f3f367e7d1e8f1 |
|
MD5 | fea1537537e9f55ddefa7f14342ebc05 |
|
BLAKE2b-256 | 03b7f3e4eb71b61f3481f9bb9d491b69faa16efa5b9ac66c2cc45092148abf1f |