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.0.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.0.tar.gz.
File metadata
- Download URL: ftw_lexwork-2025.1.0.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 |
7cfb2ceeeed5d76aac0198f9e661046e1daa3925c873f7baeecb91785061319e
|
|
| MD5 |
2c16868fee4e221799961ed3010d2cea
|
|
| BLAKE2b-256 |
294b989e55edc5e4b052d2a19624331fc02d7e92e9efa9aca97eee61d20fcd59
|
File details
Details for the file ftw_lexwork-2025.1.0-py3-none-any.whl.
File metadata
- Download URL: ftw_lexwork-2025.1.0-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 |
9be128910b696756e481f1adb473b08895f8d9b9c95b8de3ada5331afb9f2a27
|
|
| MD5 |
ad660ea8eb62c8e05e6e300c3b0964f1
|
|
| BLAKE2b-256 |
f34dc4efea1c5c2ddc27a2a63d4ce060102cfbc00ff5c9eda145bf99b27f72c8
|