Mini API client to use the Lexwork PDF Signer developed by Sitrox <https://www.sitrox.com>.
Installing it:
pip install git+git://github.com/4teamwork/lexwork.git#egg=lexworkfromlexworkimportAPIClientclient=APIClient(url='https://lexwork.example.org', username='user', password='secret')
client.test() # Raises an exception if the request wasn't successfulclient.pdf_signature_reasons() # Returns an array of valid signature reasons# Returns the signed PDF as a base64 stringsigned_pdf=client.sign_pdf(file_like=file_like, reason='something important')