Skip to main content
Join the official Python Developers Survey 2018 and win valuable prizes: Start the survey!

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.


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

* Our own `Python client GitHub repository <https://github.com/Desire2Learn-Valence/valence-sdk-python>`_.

* On the PyPi `package index repository <http://pypi.python.org/pypi/D2LValence>`_,
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 <http://docs.python-requests.org/en/latest/index.html>`_
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 <http://python-future.org/index.html>`_ library gets used
to provide Python 2.7 compatibility.

* The `Bottle Python package <http://bottlepy.org/docs/dev/>`_ 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.

Filename, size & hash SHA256 hash help File type Python version Upload date
d2lvalence-1.2.2.tar.gz (12.8 kB) Copy SHA256 hash SHA256 Source None Jul 19, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page