DocuSign REST API
Project description
The Official DocuSign eSignature Python Client SDK
Documentation about DocuSign APIs
Requirements
- Python 2.7 (3.7+ recommended)
- Free developer account
Compatibility
- Python 2.7+
Installation
This 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.
Path setup:
-
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/python2.7
- Mac: /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
- Windows: C:\Users{username}\AppData\Local\Programs\Python\Python37
-
Add your Python folder’s path to your system as an environment variable.
Unix/Linux:- Type the following command into your console:
export PYTHONPATH = "${PYTHONPATH}:.:/path/to/site-packages" - Optionally, you can add this command to your system profile, which will run the command each time Python is launched.
Windows:
- Open the Windows Control Panel.
- Under the System and Security category, open the System information panel.
- Select Advanced System Settings to open the System Properties dialog box.
- On the Advanced tab, select the Environment Variables button at the lower-right corner.
- Check to see whether PYTHONPATH has been added as a system variable.
- If it has not, select New to add it. The variable you add is the path to the site-packages folder.
- Type the following command into your console:
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.
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 v1.15.1+
- jwcrypto v0.4.2+
- py-oauth2 v0.0.10+
Code examples
You can find on our GitHub a self-executing package of code examples for the eSignature Python SDK, called a Launcher, that demonstrates common use cases. You can also download a version preconfigured for your DocuSign developer account from Quickstart. These examples can use either the Authorization Code Grant or 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.
Support
Log issues against this client through GitHub. We also have an active developer community on Stack Overflow.
License
The DocuSign eSignature Python Client SDK is licensed under the MIT License.
Additional resources
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
Hashes for docusign_esign-4.0.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5628e02ad391b9ce427f722e9069ebf1a656ad0104c958b3c5db6450af102225 |
|
MD5 | b8b16f2e1b1102831448de26e033b41b |
|
BLAKE2b-256 | f359e16e84ddf5aa5bcc9c02534af841356035bf3c5a84afe17c182e0bad0e82 |