with open("test.pdf", "rb") as inFile, open("modified.pdf", "wb") as modified:
modified.write(
sign("Дик Анатолий Артёмович",
datetime(2020, 1, 25, 0, 0),
"123asdfdfsddfasdf62gdsfgsd45345", inFile)
.getvalue())
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
signer_pdf-0.2.1.tar.gz
(195.2 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
signer_pdf-0.2.1-py3-none-any.whl
(389.3 kB
view details)
File details
Details for the file signer_pdf-0.2.1.tar.gz.
File metadata
- Download URL: signer_pdf-0.2.1.tar.gz
- Upload date:
- Size: 195.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.6.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
554c3b6b7189ba881a6e97f8594a8d1aea121518416e1108b6cd3c1c609011c8
|
|
| MD5 |
b98114920d0e0cfb9a6db43f51a93dad
|
|
| BLAKE2b-256 |
04a008bb7152e2549d47c1ad59c84e85a64224808ecc851c0e22f48551e836f1
|
File details
Details for the file signer_pdf-0.2.1-py3-none-any.whl.
File metadata
- Download URL: signer_pdf-0.2.1-py3-none-any.whl
- Upload date:
- Size: 389.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.6.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
74a6db41a649d7aabbd8135dc1dbc7dd1d3f33031d306a83b64f6d3d57b20ea7
|
|
| MD5 |
c18f83e6885fa24b9ed266a91cdbeb72
|
|
| BLAKE2b-256 |
31d223d3a16e43077a4039868cdd263fba38323261e0c5fcddd63b98a3be3501
|