Skip to main content

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:

Update Advanced Settings

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.

Update Advanced Settings Update Advanced Settings

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

openedx_cmi5_xblock-0.1.3.tar.gz (19.0 kB view details)

Uploaded Source

Built Distribution

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

openedx_cmi5_xblock-0.1.3-py2.py3-none-any.whl (18.6 kB view details)

Uploaded Python 2Python 3

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

Hashes for openedx_cmi5_xblock-0.1.3.tar.gz
Algorithm Hash digest
SHA256 864a7be4a0414f628f9d6394edd84d3eb99416dff2c1de3b09e17e986f40a604
MD5 84d62fa844e776d930524797cbd2bb53
BLAKE2b-256 026b136f0ac0a2f6e2c58d212d9097a1edb61750509925a45a850ba53fe12bd4

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file openedx_cmi5_xblock-0.1.3-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for openedx_cmi5_xblock-0.1.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 2b135344d4b27d2db639088dbe39f44aede0913b4f684476692c365da533fe5e
MD5 c69134722ca42751aa422379078c0133
BLAKE2b-256 3cfd8fbe8e8103e798b0ccab2c77da1026910aee9e7e9c0b9636109ac55f0834

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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