Registry / web-framework / xblocks-contrib

xblocks-contrib

JSON →
library0.17.0pypypiunverified

A collection of XBlocks for the Open edX platform, including video, discussion, poll, HTML, problem, PDF, and other contributed blocks. Version 0.16.1 requires Python >=3.12. Active development with frequent releases, used inside Open edX installations.

pip install xblocks-contrib
INSTALL
IMPORT
SIG · XBLOCKS-CONTRIB
X
xblocks-contrib
web-frameworkpythonv0.17.0
Install
26.6s avg
Import
Disk
519MB
Pass rate
6/ 10
Env Coverage6 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v0.13.1 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
glibc
py 3.10
✕ build_error
✕ build_error
py 3.11
✓ —
✓ 26.4s
py 3.12
✓ —
✓ 27s
py 3.13
✓ —
✓ 26.4s
py 3.9
✕ build_error
✕ build_error
519MB installed
● package 519MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

VideoBlock
from xblock_pdf import VideoBlock
from xblocks_contrib.video import VideoBlock

Import and instantiate a VideoBlock to verify installation.

from xblocks_contrib.video import VideoBlock block = VideoBlock() print(block.display_name)
Debug
Known issues
breakingVersion 0.14.0 dropped Python 3.11 support; Python >=3.12 is required.
fix
Use Python 3.12 or newer.
affects: >=0.14.0
deprecatedLegacy XModuleMixin attributes were removed in 0.15.3 from Poll, Discussion, Annotatable, HTML, and Problem blocks.
fix
Replace any usage of legacy XModuleMixin attributes with the new XBlock API.
affects: 0.15.3+
gotchaThe package name uses underscores (xblocks_contrib) for Python imports, but the PyPI package uses a hyphen (xblocks-contrib).
fix
Install with 'pip install xblocks-contrib' but import with 'import xblocks_contrib'.
affects: all
Upgrade
Version history
0.17.0latest on PyPI · released Jun 12, 2026
Audit
Dependencies
XBlockrequiredRequired runtime dependency for all XBlocks.
DjangooptionalUsed for web framework integration, typically provided by Open edX.
Agent activity
25 hits · last 30 days
node
22
Meta
1
OpenAI (training)
1
Resources
xblocks-contrib — pip install xblocks-contrib · libregistry