BoldSign API
Project description
BoldSign
Easily integrate BoldSign's e-signature features into your Python applications. This package simplifies sending documents for signature, embedding signing ceremonies, tracking document status, downloading signed documents, and managing e-signature workflows.
Prerequisites
- Python 3.7+
- Free developer account
Documentation
Installation & Usage
You can install this package by using the pip tool:
pip install boldsign
(You may need to run pip with root permission: sudo pip install boldsign)
Then import the package:
import boldsign
Dependencies
This package requires the following dependencies to function properly. They will be installed automatically when you install the package:
- urllib3>=1.25.3
- python-dateutil
- pydantic>=2
- typing-extensions>=4.7.1
Getting Started
Please follow the installation procedure and then run the following:
import boldsign
configuration = boldsign.Configuration(
api_key = "***your_api_key***"
)
# Enter a context with an instance of the API client
with boldsign.ApiClient(configuration) as api_client:
# Create an instance of the DocumentApi class
document_api = boldsign.DocumentApi(api_client)
# Define the signature field to be added to the document
signatureField = boldsign.FormField(
fieldType="Signature", # Field type is Signature
pageNumber=1, # Specify the page number
bounds=boldsign.Rectangle(x=100, y=100, width=100, height=50), # Position and size of the signature field
)
# Define the signer with a name and email address
signer = boldsign.DocumentSigner(
name="David", # Name of the signer
emailAddress="david@example.com", # Signer's email address
signerType="Signer", # Specify the signer type
formFields=[signatureField] # Assign the signature field to the signer
)
# Prepare the request body for sending the document for signature
send_for_sign = boldsign.SendForSign(
title="Agreement", # Title of the document
signers=[signer], # List of signers
files=["/documents/agreement.pdf"] # Path to the document file to be signed
)
# Send the document for signature and capture the response
api_response = document_api.send_document(send_for_sign=send_for_sign)
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
Built Distribution
File details
Details for the file boldsign-1.0.0b3.tar.gz
.
File metadata
- Download URL: boldsign-1.0.0b3.tar.gz
- Upload date:
- Size: 115.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6eb2a9c081a164b31561d6f5e94233459df625e7d75b382679defb79ac358ca6 |
|
MD5 | a3553b4e28eb76d3e09c5df414c46414 |
|
BLAKE2b-256 | 32b0565cad3e4fc1292a69e5cc6dd7621daf60f698b5ea5c0718589ff8a87a11 |
File details
Details for the file boldsign-1.0.0b3-py3-none-any.whl
.
File metadata
- Download URL: boldsign-1.0.0b3-py3-none-any.whl
- Upload date:
- Size: 315.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c1e8c4391001886c1ad0c5b35d292f3d33364aa32ef9b3dabdceb645364a68e9 |
|
MD5 | a1d2e10be41bee22f61e953486849651 |
|
BLAKE2b-256 | 1ddcd5b6dce52877cb5254417bf3d0d7c6a85ecbd8df518d238b6f22f1544d19 |