Giter Site home page Giter Site logo

docusign-monitor-python-client's Introduction

The Official DocuSign Monitor Python Client

PyPI version

Build status

PyPI module that wraps the DocuSign Monitor API

Documentation about the DocuSign Monitor API

Requirements

Compatibility

  • Python 2.7+

Installation

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/python2.7
  • Mac: /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
  • Windows: C:\Users{username}\AppData\Local\Programs\Python\Python37
  1. Add the path to your Python folder 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:

  1. Open the Windows Control Panel.
  2. Under the System and Security category, open the System
  3. Select Advanced System Settings to open the System Properties dialog box.
  4. On the Advanced tab, select the Environmental Variables button at the lower-right corner.
    1. Check if 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

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:

  1. In your command console, type: pip install docusign-monitor

Note: This may require the command console be elevated. You can accomplish this via sudoin 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+

Support

Log issues against this client through GitHub. We also have an active developer community on Stack Overflow.

License

The DocuSign Python Client is licensed under the MIT License.

docusign-monitor-python-client's People

Contributors

dbbrahmbhatt avatar harsharahul avatar paigesrossi avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

docusign-monitor-python-client's Issues

`str` object has no attribute `decode` when calling `request_jwt_user_token`

python version: 3.10, also tried with 3.8
OS: MacOS 13.5
docusign-monitor: 1.2.0

Error:

Exception has occurred: AttributeError       (note: full exception trace is shown but execution is paused at: _run_module_as_main)
'str' object has no attribute 'decode'
  File "/Users/my_user/.pyenv/versions/3.10.6/envs/docusignclient/lib/python3.10/site-packages/docusign_monitor/client/api_client.py", line 689, in request_jwt_user_token
    token = jwt.encode(payload=claim, key=private_key_bytes, algorithm='RS256').decode("utf-8")
  File "/Users/my_user/projects/docusignclient/test_ds.py", line 25, in <module>
    res = ds2.request_jwt_user_token(
  File "/Users/my_user/.pyenv/versions/3.10.6/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/Users/my_user/.pyenv/versions/3.10.6/lib/python3.10/runpy.py", line 196, in _run_module_as_main (Current frame)
    return _run_code(code, main_globals, None,
AttributeError: 'str' object has no attribute 'decode'

jwt.encode returns a str and does not need to be decoded.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.