Skip to main content

D2LValence client library for Python.

Project description

This is a re-release of the d2lvalence Python package originally released by Viktor Haag and the D2L Extensibility product development team. This re-release is version 1.2.2, released by that team in 2016. Although this was originally only tested up to Python 3.5, our team has tested this with Python releases up to 3.10.13 without issue.

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 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 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:

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 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.

Source Distribution

d2lvalence-1.2.3.tar.gz (14.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

d2lvalence-1.2.3-py3-none-any.whl (9.4 kB view details)

Uploaded Python 3

File details

Details for the file d2lvalence-1.2.3.tar.gz.

File metadata

  • Download URL: d2lvalence-1.2.3.tar.gz
  • Upload date:
  • Size: 14.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.13

File hashes

Hashes for d2lvalence-1.2.3.tar.gz
Algorithm Hash digest
SHA256 722b22611943d40f6b0029d69cf0ef139ce966261d6b8aafc4dec6b09b06234f
MD5 9e367261f23117eb665682f8fc124cb6
BLAKE2b-256 00bd46cbc04b60473e30ef9ba76c0ac239933bc248565af0d70bd68b2b47838f

See more details on using hashes here.

File details

Details for the file d2lvalence-1.2.3-py3-none-any.whl.

File metadata

  • Download URL: d2lvalence-1.2.3-py3-none-any.whl
  • Upload date:
  • Size: 9.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.13

File hashes

Hashes for d2lvalence-1.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a31947727ffc9b29ae6eba9a07070bda8b63cdd159f466b708a2374bbc92b29b
MD5 1fe585a75d7213fdba59bcff8bae87a2
BLAKE2b-256 5f181cd1eaaa41b994ad2ccc0433b92c48bb97b92dffe6443b2a326b11b26d33

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page