Openedx CMI5 XBlock
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file openedx_cmi5_xblock-0.1.3.tar.gz.
File metadata
- Download URL: openedx_cmi5_xblock-0.1.3.tar.gz
- Upload date:
- Size: 19.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
864a7be4a0414f628f9d6394edd84d3eb99416dff2c1de3b09e17e986f40a604
|
|
| MD5 |
84d62fa844e776d930524797cbd2bb53
|
|
| BLAKE2b-256 |
026b136f0ac0a2f6e2c58d212d9097a1edb61750509925a45a850ba53fe12bd4
|
Provenance
The following attestation bundles were made for openedx_cmi5_xblock-0.1.3.tar.gz:
Publisher:
pypi-publish.yml on edly-io/openedx-cmi5-xblock
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
openedx_cmi5_xblock-0.1.3.tar.gz -
Subject digest:
864a7be4a0414f628f9d6394edd84d3eb99416dff2c1de3b09e17e986f40a604 - Sigstore transparency entry: 177821867
- Sigstore integration time:
-
Permalink:
edly-io/openedx-cmi5-xblock@250247f5dcd2620ded5f1ddf93d005849dad4944 -
Branch / Tag:
refs/tags/0.1.3 - Owner: https://github.com/edly-io
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@250247f5dcd2620ded5f1ddf93d005849dad4944 -
Trigger Event:
push
-
Statement type:
File details
Details for the file openedx_cmi5_xblock-0.1.3-py2.py3-none-any.whl.
File metadata
- Download URL: openedx_cmi5_xblock-0.1.3-py2.py3-none-any.whl
- Upload date:
- Size: 18.6 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2b135344d4b27d2db639088dbe39f44aede0913b4f684476692c365da533fe5e
|
|
| MD5 |
c69134722ca42751aa422379078c0133
|
|
| BLAKE2b-256 |
3cfd8fbe8e8103e798b0ccab2c77da1026910aee9e7e9c0b9636109ac55f0834
|
Provenance
The following attestation bundles were made for openedx_cmi5_xblock-0.1.3-py2.py3-none-any.whl:
Publisher:
pypi-publish.yml on edly-io/openedx-cmi5-xblock
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
openedx_cmi5_xblock-0.1.3-py2.py3-none-any.whl -
Subject digest:
2b135344d4b27d2db639088dbe39f44aede0913b4f684476692c365da533fe5e - Sigstore transparency entry: 177821869
- Sigstore integration time:
-
Permalink:
edly-io/openedx-cmi5-xblock@250247f5dcd2620ded5f1ddf93d005849dad4944 -
Branch / Tag:
refs/tags/0.1.3 - Owner: https://github.com/edly-io
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@250247f5dcd2620ded5f1ddf93d005849dad4944 -
Trigger Event:
push
-
Statement type: