Skip to main content

The Official Docusign eSignature Python Client SDK

PyPI version

The Docusign SDK makes integrating Docusign into your apps and websites a seamless experience.

Table of Contents

Introduction

Integrate eSignatures into your application in minutes. The secure and award-winning Docusign eSignature API makes requesting signatures, automating forms, and tracking documents directly from your app easy.

Installation

This client SDK is provided as open source, which enables you to customize its functionality to suit your particular use case. To do so, download or clone the repository. If the SDK’s given functionality meets your integration needs, or if you’re working through our code examples from the Docusign Developer Center, you merely need to install it by following the instructions below.

Version Information

  • API version: v2.1
  • Latest SDK version: 6.1.0

Requirements

Compatibility

  • Python 3.9+

Path setup:

  1. Locate your Python installation, also referred to as a site-packages folder. This folder is usually labeled in a format of Python{VersionNumber}.
    Examples:

    • Unix/Linux: /usr/lib/python3.9
    • Mac: /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
    • Windows: C:\Users{username}\AppData\Local\Programs\Python\Python39
  2. Add your Python folder’s path to your system as an environment variable.
    Unix/Linux:

    1. Type the following command into your console:
      export PYTHONPATH = "${PYTHONPATH}:.:/path/to/site-packages"
    2. Optionally, you can add this command to your system profile, which will run the command each time Python is launched.

    Windows:

    1. Open the Windows Control Panel.
    2. Under the System and Security category, open the System information panel.
    3. Select Advanced System Settings to open the System Properties dialog box.
    4. On the Advanced tab, select the Environment Variables button at the lower-right corner.
      1. Check to see whether PYTHONPATH has been added as a system variable.
      2. If it has not, select New to add it. The variable you add is the path to the site-packages folder.

Note: If you are still unable to reference Python or pip via your command console, you can also add the path to the site-packages folder to the built-in environment variable labeled Path, which will take effect the next time you start your machine.

Install via PIP:

In your command console, type: pip install docusign_esign
Note: This may require the command console to be elevated. You can accomplish this via sudo in Unix/Linux, or by running the command console as an administrator in Windows.

SDK Dependencies

This client has the following external dependencies:

  • certifi v14.05.14+
  • six v1.8.0+
  • python_dateutil v2.5.3+
  • setuptools v21.0.0+
  • urllib3 v2.6.0+
  • PyJWT v2.0.0+
  • cryptography v2.5+

API Reference

You can refer to the API reference here.

Code examples

Explore our GitHub repository for the Launcher, a self-executing package housing code examples for the eSignature Python SDK. This package showcases several common use cases and their respective source files. Additionally, you can download a version preconfigured for your Docusign developer account from Quickstart. These examples support both the Authorization Code Grant and JSON Web Token (JWT) authentication workflows.

OAuth implementations

For details regarding which type of OAuth grant will work best for your Docusign integration, see Choose OAuth Type in the Docusign Developer Center.

For security purposes, Docusign recommends using the Authorization Code Grant flow.

Changelog

You can refer to the complete changelog here.

Support

Log issues against this client SDK through GitHub. You can also reach out to us through Docusign Community and Stack Overflow.

License

The Docusign eSignature Python Client SDK is licensed under the MIT License.

Additional resources

Metadata

Release files for docusign-esign 6.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for docusign-esign 6.1.0
File Interpreter ABI Platform
docusign_esign-6.1.0-py2.py3-none-any.whl Python 3, Python 2 none any Details

Release files / docusign_esign-6.1.0-py2.py3-none-any.whl

Download URL docusign_esign-6.1.0-py2.py3-none-any.whl
Size 2.0 MB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
3c3d60a13e31bf4e13c621b53e14c7a1387623d0e5beb53a42bdc4350d86bb91
BLAKE2b-256 checksum
How to use checksums
0cdd7cc1eb24e79ec6e76e637eba011faaa39c1a506e05b0a708dce9e6d06e9f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.7.5

Release history Release notifications | RSS feed

This release

6.1.0 This release

1 release file

6.0.0

1 release file

5.4.0

1 release file

5.3.0

2 release files

5.2.0

2 release files

5.1.0

2 release files

5.0.0

2 release files

4.0.0

2 release files

3.26.0

2 release files

3.25.1

2 release files

3.25.0

2 release files

3.23.0

2 release files

3.21.0

2 release files

3.20.0

2 release files

3.18.1

2 release files

3.17.0

2 release files

3.16.0

2 release files

3.15.0

2 release files

3.14.0

2 release files

3.13.0

2 release files

3.12.0

2 release files

3.11.0

2 release files

3.9.0

2 release files

3.8.1

2 release files

3.7.1

2 release files

3.6.0

2 release files

3.5.0

2 release files

3.4.0

2 release files

3.3.0

2 release files

3.2.0

2 release files

3.1.0

2 release files

3.0.0

2 release files

2.12.0

2 release files

2.11.0

2 release files

2.9.0

2 release files

2.8.1

2 release files

2.7.0

2 release files

2.6.0

2 release files

2.5.0

2 release files

2.4.0

2 release files

2.3.0

2 release files

2.2.0

2 release files

2.1.0

2 release files

2.0.1

2 release files

2.0.0

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page