Skip to main content

D2LValence client library for Python.

Project description

Desire2Learn Client Library for Python
The Python library divides functionality into a number of modules. The primary
module helps with authentication. Several supporting modules can assist with
making calls in several areas of the Valence API.

**Authentication**. The :py:mod:`d2lvalence.auth` module provides assistance for
the authentication needed to invoke Valence APIs. You use the module's functions
(and perhaps also classes) to create a
:py:class:`calling user context <d2lvalence.auth.D2LUserContext>` object that
you can then employ in conjunction with the Requests package as an
authentication helper.

You can find the source for our Python client library SDK in two locations:

* Our own `Python client GitHub repository <>`_.

* On the PyPi `package index repository <>`_,
so you can install it as a package with pip or easy_install.

**Dependencies**. In order to use the Python client library SDK, you'll need to
first ensure you have a working Python development environment:

* Python 3 (the reference environment uses Python 3.5), or Python 2.7 (via the
use of the future library).

* The `Requests Python package <>`_
gets included in our :py:mod:`auth <d2lvalence.auth>` module so that you can use a
calling user context object as an authentication helper for Requests.

* The `python-future <>`_ library gets used
to provide Python 2.7 compatibility.

* The `Bottle Python package <>`_ if you want to
use the samples available in conjunction with this client library (not a
dependency for the client library itself).

Project details

Download files

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

Files for D2LValence, version 1.2.2
Filename, size File type Python version Upload date Hashes
Filename, size d2lvalence-1.2.2.tar.gz (12.8 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page