Skip to main content

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

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<2.1.0,>=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(
        id="sign",
        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
        isRequired=True,  # Mark this field as required
        font="Helvetica"  # Specify the font
    )

    # 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

boldsign-1.0.0b1.tar.gz (115.7 kB view details)

Uploaded Source

Built Distribution

boldsign-1.0.0b1-py3-none-any.whl (315.4 kB view details)

Uploaded Python 3

File details

Details for the file boldsign-1.0.0b1.tar.gz.

File metadata

  • Download URL: boldsign-1.0.0b1.tar.gz
  • Upload date:
  • Size: 115.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for boldsign-1.0.0b1.tar.gz
Algorithm Hash digest
SHA256 386197cb38be6ad92729a7a2084cd0d16f4dc8a26fdd515014962e3068fb49ca
MD5 42f582ef8ad375bc82bd13c8cad022d4
BLAKE2b-256 cf13d45a8bec979889f8a20b07a255a5634279a951a8aacbb7d029200dc80618

See more details on using hashes here.

File details

Details for the file boldsign-1.0.0b1-py3-none-any.whl.

File metadata

  • Download URL: boldsign-1.0.0b1-py3-none-any.whl
  • Upload date:
  • Size: 315.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for boldsign-1.0.0b1-py3-none-any.whl
Algorithm Hash digest
SHA256 ebee7fa5642fa6585be18bb3cd445511d512257b7b6d680e5b908941e7d52e11
MD5 93c86d8210220bef6859efbb7e6f57ed
BLAKE2b-256 4094fe8d94105c984054502db0862b8674eb7adb0ff3391bfd8b09da14f00f7e

See more details on using hashes here.

Supported by

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