Skip to main content

PyLTI - LTI done right

PyLTI:

Python implementation of LTI

Author:

MIT Office of Digital Learning

Homepage:

http://odl.mit.edu

License:

BSD

https://secure.travis-ci.org/mitodl/pylti.png?branch=develop https://coveralls.io/repos/mitodl/pylti/badge.png?branch=develop

PyLTI is a Python implementation of the LTI specification [1]. It supports LTI 1.1.1 and LTI 2.0. While it was written with edX [2] as its LTI consumer, it is a complete implementation of the LTI specification and can be used with any learning management system that supports LTI.

A feature of PyLTI is the way it is used in the creation of an LTI tool. PyLTI is written as a library that exposes an API. This separation of concerns enables a developer to focus on the business logic of their tool and support of their framework of choice.

To demonstrate this usage, there are also a collection of example LTI tools written to support different Python web frameworks.

Framework

Example

Flask

mit_lti_flask_sample A skeleton example for the Flask framework that consumes the PyLTI library

Dependencies:

  • Python 2.7+ or Python 3.4+

  • oauth2 1.9.0+

  • httplib2 0.9+

  • six 1.10.0+

Development dependencies:

  • Flask 0.10.1

  • httpretty 0.8.3

  • oauthlib 0.6.3

  • pyflakes 1.2.3

  • pytest 2.9.2

  • pytest-cache 1.0

  • pytest-cov 2.3.0

  • pytest-flakes 1.0.1

  • pytest-pep8 1.0.6

  • sphinx 1.2.3

Documentation is available on readthedocs.

Licensing

PyLTI is licensed under the BSD license, version January 9, 2008. See license.rst for the full text of the license.

Footnotes

Metadata

Release files for PyLTI 0.7.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for PyLTI 0.7.0
File Size Uploaded
PyLTI-0.7.0.tar.gz 25.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for PyLTI 0.7.0
File Interpreter ABI Platform
PyLTI-0.7.0-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 56.5 kB

Release files / PyLTI-0.7.0.tar.gz

Download URL PyLTI-0.7.0.tar.gz
Size 25.9 kB
Tags Source
SHA-256 checksum
How to use checksums
80938a235b1ab390f6889a95237d087ea7adde5cc50fcae9c80c49898e8ee78e
BLAKE2b-256 checksum
How to use checksums
c3af9430137a178393f52a851238f214f060d36ae883a221e58327029adc25ae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Python-urllib/3.6

Release files / PyLTI-0.7.0-py2.py3-none-any.whl

Download URL PyLTI-0.7.0-py2.py3-none-any.whl
Size 30.6 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
1284a22c2959aa6b1c2895925133ef8d6ab6f41c2e7d0a7cef9a1d27e366410e
BLAKE2b-256 checksum
How to use checksums
0b7ae964d930e1e4afa9c68cabc49d8308f8eccbb2d412c5de06233efa995be6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Python-urllib/3.6

Release history Release notifications | RSS feed

This release

0.7.0 This release

2 release files

0.6.1

1 release file

0.6.0

1 release file

0.5.1

2 release files

0.5.0

1 release file

0.4.1

1 release file

0.4.0

1 release file

0.3.2

1 release file

0.3.1

1 release file

0.3.0

1 release file

0.1.3

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page