wcooley / python-d2lvalence_util

Brightspace/Desire2Learn's Python "D2LValence_Util" package.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Desire2Learn Utility Library for Python

This utility library divides functionality into a pair of modules:

Data. The :py:mod:`d2lvalence-util.data` module provides classes to encapsulate the JSON data structures passed back and forth through the Valence APIs. All the classes inherit from a :py:class:`D2LStructure generic base class <d2lvalence.data.D2LStructure>`.

Note that currently we drive additions to the data module by the needs of our samples and ongoing testing: it does not cover all the structures present in the Valence API.

Service. The :py:mod:`d2lvalence-util.service` module contains a suite of helper functions you can use to make Valence API calls and partially digest the data results passed back. In general, the data passed back by a service function is either a pre-defined class inheriting from :py:class:`D2LStructure <d2lvalence.data.D2LStructure>`, or one or more dictionaries formed from the retrieved JSON data.

You can find the latest build of the utils library on our repository download page.

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

About

Brightspace/Desire2Learn's Python "D2LValence_Util" package.

License:Other


Languages

Language:Python 100.0%