Skip to main content

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


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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ftw_lexwork-2025.1.1-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

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

Hashes for ftw_lexwork-2025.1.1.tar.gz
Algorithm Hash digest
SHA256 3ce87ee6998f19788ce98e47fe2285ddc637ff39db5594f6f1b69ba76201b8a5
MD5 9e589034a2b11a4242c377f8e9f1955c
BLAKE2b-256 af2962f4798eac33d562e6fad2be5e6c12281779058361b9a1397af169da5433

See more details on using hashes here.

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

Hashes for ftw_lexwork-2025.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f3fb0512029cd2b720c9be1b3077da44d3027b992a596393378b03bdcddd0014
MD5 b41c4a21437d2b9b7aeb1c7c20d31672
BLAKE2b-256 97243f1d830b3ab413bd1697d82f4c9d878f9f31e892f9a860143c7a2e946bf1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page