An XBlock for Open edX that provides a drag-and-drop problem type. Current version is 5.0.6, requires Python >=3.12, and supports Django 4.2 and 5.2. Release cadence is irregular, with minor patches and major version bumps aligned with platform updates.
pip install xblock-drag-and-drop-v2Verified import paths — ran on the pinned version, not inferred.
Quick import test. The block is usually registered via the XBlock runtime in Open edX.
Upgrade Python to 3.12 or later.
Use Python 3.9, 3.10, 3.11 (before 5.0.4), or 3.12+.
Ensure the XBlock runtime is fully set up, e.g., in Open edX Studio or LMS.
Run 'pip install xblock-drag-and-drop-v2'
Use within an Open edX environment or mock the runtime with XBlock SDK.
The block must be created via the XBlock runtime's 'runtime.construct_xblock' method.