Openedx CMI5 XBlock
Xblock to integrate CMI5 content in Open edX. It provides following features
Ability to upload CMI5 package or cmi5.xml file
Parses xAPI statements generated by CMI5 content to set grade and track progress of learner
Ability to push xAPI statements to a configured LRS
Setup
Install CMI5 XBlock:
pip install openedx-cmi5-xblock
Update course advanced settings by adding openedx_cmi5_xblock as shown in below image:
Go back to your course content. In the “Add New Component” section, click “Advanced”, and then “CMI5 module”. Click “Edit” on the newly-created module: this is where you will upload your content package. It should be a .zip file or a .xml file containing the cmi5 content.
The cmi5 unit will display a link in the studio and the LMS. Clicking on the link will take users to a new tab where they can interact with the cmi5 content.
Advanced configuration for sending data to LRS
CMI5 Xblock can be configured to push xAPI statements to a Third-party Learning Record Store. To configure that, use these settings
XBLOCK_SETTINGS["CMI5XBlock"] = {
"LRS_AUTH_KEY": "<LRS-activity-provider-key>",
"LRS_AUTH_SECRET": "<LRS-secret-key>",
"LRS_ENDPOINT": "<domain>/lrs/<LRS-app-id>/statements/"
}
These settings may be added using Tutor by creating a tutor plugin:
from tutor import hooks
hooks.Filters.ENV_PATCHES.add_item(
(
"openedx-common-settings",
"""
XBLOCK_SETTINGS["CMI5XBlock"] = {
"LRS_AUTH_KEY": "<LRS-activity-provider-key>",
"LRS_AUTH_SECRET": "<LRS-secret-key>",
"LRS_ENDPOINT": "<domain>/lrs/<LRS-app-id>/statements/"
}"""
)
)
Change Log
Unreleased
0.1.0 – 2023-07-06
Added
First release on PyPI.
Metadata
Release files for openedx-cmi5-xblock 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| openedx_cmi5_xblock-0.1.3.tar.gz | 19.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| openedx_cmi5_xblock-0.1.3-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 37.6 kB
Release files / openedx_cmi5_xblock-0.1.3.tar.gz
| Download URL | openedx_cmi5_xblock-0.1.3.tar.gz |
|---|---|
| Size | 19.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
864a7be4a0414f628f9d6394edd84d3eb99416dff2c1de3b09e17e986f40a604
|
|
BLAKE2b-256 checksum How to use checksums |
026b136f0ac0a2f6e2c58d212d9097a1edb61750509925a45a850ba53fe12bd4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 6, 2025.
Transparency logRelease files / openedx_cmi5_xblock-0.1.3-py2.py3-none-any.whl
| Download URL | openedx_cmi5_xblock-0.1.3-py2.py3-none-any.whl |
|---|---|
| Size | 18.6 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
2b135344d4b27d2db639088dbe39f44aede0913b4f684476692c365da533fe5e
|
|
BLAKE2b-256 checksum How to use checksums |
3cfd8fbe8e8103e798b0ccab2c77da1026910aee9e7e9c0b9636109ac55f0834
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 6, 2025.
Transparency log