crowdsourcehinter XBlock

raw JSON →
1.0.0 verified Fri May 01 auth: no python

An XBlock for Open edX that allows crowdsourced hints in exercises. Current version is 1.0.0, released infrequently.

pip install crowdsourcehinter-xblock
error ModuleNotFoundError: No module named 'crowdsourcehinter'
cause The package is installed under the name 'crowdsourcehinter-xblock', but import path is 'crowdsourcehinter'.
fix
Install with 'pip install crowdsourcehinter-xblock' and import as 'crowdsourcehinter'.
error RuntimeError: XBlock requires Django settings
cause The XBlock is used outside of an Open edX environment without proper Django configuration.
fix
Run within an Open edX development stack or configure Django settings for XBlock.
breaking Python 3.8 and 3.11 support dropped. Requires Python 3.9 or 3.10.
fix Use Python 3.9 or 3.10; upgrade runtime environment.
gotcha This XBlock is designed specifically for Open edX. It will not work standalone without the XBlock runtime.
fix Ensure your environment includes the XBlock SDK or Open edX platform.

Minimal usage: import the XBlock and add it to your Open edX course.

from crowdsourcehinter import CrowdsourceHinterXBlock

# To use in an Open edX course, add the XBlock to your advanced module list.
print('CrowdsourceHinterXBlock ready')