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.0.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.0-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

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

Hashes for ftw_lexwork-2025.1.0.tar.gz
Algorithm Hash digest
SHA256 7cfb2ceeeed5d76aac0198f9e661046e1daa3925c873f7baeecb91785061319e
MD5 2c16868fee4e221799961ed3010d2cea
BLAKE2b-256 294b989e55edc5e4b052d2a19624331fc02d7e92e9efa9aca97eee61d20fcd59

See more details on using hashes here.

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

Hashes for ftw_lexwork-2025.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9be128910b696756e481f1adb473b08895f8d9b9c95b8de3ada5331afb9f2a27
MD5 ad660ea8eb62c8e05e6e300c3b0964f1
BLAKE2b-256 f34dc4efea1c5c2ddc27a2a63d4ce060102cfbc00ff5c9eda145bf99b27f72c8

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