API Client for Lexwork PDF Signer.
Project description
Mini API client to use the Lexwork PDF Signer developed by Sitrox <https://www.sitrox.com>.
Installation
Installing it:
pip install git+git://github.com/4teamwork/lexwork.git#egg=lexwork
Usage
from lexwork.apiclient import APIClient
client = APIClient(url='https://lexwork.example.org', username='user', password='secret')
client.test() # Raises an exception if the request wasn't successful
client.pdf_signature_reasons() # Returns an array of valid signature reasons
# Returns the signed PDF as a base64 string
signed_pdf = client.sign_pdf(file=file_like, reason_for_signature='something important')
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
ftw_lexwork-2025.1.1.tar.gz
(2.6 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 ftw_lexwork-2025.1.1.tar.gz.
File metadata
- Download URL: ftw_lexwork-2025.1.1.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.2.1 CPython/3.13.7 Darwin/24.5.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3ce87ee6998f19788ce98e47fe2285ddc637ff39db5594f6f1b69ba76201b8a5
|
|
| MD5 |
9e589034a2b11a4242c377f8e9f1955c
|
|
| BLAKE2b-256 |
af2962f4798eac33d562e6fad2be5e6c12281779058361b9a1397af169da5433
|
File details
Details for the file ftw_lexwork-2025.1.1-py3-none-any.whl.
File metadata
- Download URL: ftw_lexwork-2025.1.1-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.2.1 CPython/3.13.7 Darwin/24.5.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f3fb0512029cd2b720c9be1b3077da44d3027b992a596393378b03bdcddd0014
|
|
| MD5 |
b41c4a21437d2b9b7aeb1c7c20d31672
|
|
| BLAKE2b-256 |
97243f1d830b3ab413bd1697d82f4c9d878f9f31e892f9a860143c7a2e946bf1
|