Skip to main content

DocuSign eSignature Python connector

This package implements createEnvelopeFromTemplate, getEnvelope, listEnvelopeRecipients, voidEnvelope, and downloadCombinedDocument for Dex Python Flows. The envelopeEventReceived Connect Trigger remains Go-only. The manifest owns operation identities, retry policies, branches, configuration, and OAuth methods. The Python package version is v0.1.0 and requires dex-connectors-sdk==0.7.0.

new_project_connection loads the static connection name from Dex project configuration. It uses the generated OAuth credential decoder and refresh driver for production and developer accounts. Each provider call resolves the current access token, reads /oauth/userinfo to choose the account and regional API host, and rejects a host outside the selected environment. The PDF operation returns a digest, byte count, and optional store location; PDF bytes never enter a Dex Result. CombinedDocumentStore accepts bounded PDF bytes outside Dex and must be idempotent and atomic.

Runnable example

examples/envelope_status/flow.py reads an envelope with the static docusign-esignature connection. It persists only the request and safe envelope summary. Its optional notFound, providerRejected, invalidResponse, and defect branches are intentionally unwired, so Dex fails the Flow if one is selected.

From connectors/docusign/python, install dependencies and produce a strict FDG 2.0 file for Dex Web:

uv sync --locked
dexcli visualize examples/envelope_status/flow.py --language python \
  --schema-version 2.0 --lint app --json --out build/envelope-status \
  --python .venv/bin/python

Start dexcli dev with that rendering directory. In Dex Web Connections, create docusign / docusign-esignature, choose Production account or Developer account, and follow the authorization guide in the connector manifest. Register Dex Web's exact redirect URI in the DocuSign app. The OAuth scopes are signature and extended; Dex handles access and refresh tokens. The account ID may stay blank to use the authorizing user's default account. A Connect HMAC key is optional for this read-only example. Use the owner-only connections.json exported by Dex Web as DEX_CONNECTOR_CONFIG_FILE.

Run the Worker and start a Flow with the included sample input:

DEX_FLOW_SERVICE_ADDRESS=127.0.0.1:40901 \
DEX_CONNECTOR_CONFIG_FILE=/path/to/connections.json \
uv run python -m examples.envelope_status.main

DEX_FLOW_SERVICE_ADDRESS=127.0.0.1:40901 \
DEX_CONNECTOR_CONFIG_FILE=/path/to/connections.json \
uv run python -m examples.envelope_status.start \
  docusign-envelope-001 examples/envelope_status/sample-input.json

The Worker binding in main.py is the application entrypoint:

project = await load_from_environment()
connection = new_project_connection(project, CONNECTION_NAME)
try:
    await run_worker(EnvelopeStatusFlow(connection))
finally:
    await connection.aclose()
    await project.close()

Run the real Dex integration test against a local dexcli dev server:

DEX_FLOW_SERVICE_ADDRESS=127.0.0.1:40901 \
uv run pytest examples/envelope_status/integration_test.py

The test binds its HTTP provider stand-in to an OS-assigned free port. It checks retry after a 429 and failure on an unwired notFound branch through a real Dex Worker and Client. The 52 Go-recorded conformance scenarios exercise every operation's provider requests and exact SDK-encoded outputs. OAuth refresh agreement has its own generated Go and Python suites.

Live DocuSign authorization, account selection, regional host resolution, provider error codes, envelope read-back timing, PDF downloads, and Connect configuration have not been verified with a real DocuSign account.

Metadata

Release files for dex-connector-docusign 0.1.0

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

Source distribution (sdist)

Source distribution for dex-connector-docusign 0.1.0
File Size Uploaded Provenance Actions
dex_connector_docusign-0.1.0.tar.gz 98.1 kB Without provenance Details for dex_connector_docusign-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for dex-connector-docusign 0.1.0
File Interpreter ABI Platform Actions
dex_connector_docusign-0.1.0-py3-none-any.whl Python 3 none any Details for dex_connector_docusign-0.1.0-py3-none-any.whl

Total release size: 135.2 kB

Release files / dex_connector_docusign-0.1.0.tar.gz

Download URL dex_connector_docusign-0.1.0.tar.gz
Size 98.1 kB
Tags Source
SHA-256 checksum
How to use checksums
5508bfe62194a225fe51486580e96c59c1be2137c35e1ecf452b8262ba4ce422
BLAKE2b-256 checksum
How to use checksums
f8b8667a336b0e366234a8c0ed6d5f504a85fd0e96c6ae129ac18bcbf612248a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / dex_connector_docusign-0.1.0-py3-none-any.whl

Download URL dex_connector_docusign-0.1.0-py3-none-any.whl
Size 37.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8e630ae80d5d5dccfeb66ce90236403bf3079f3de33c0901fa4c01e09edfc67a
BLAKE2b-256 checksum
How to use checksums
2f19679a6e4fcda675839b60a7b4c697c066a0a7cfd8a1aab9d03a0700500b9e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for dex-connector-docusign 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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