{"id":24846,"library":"xblocks-contrib","title":"xblocks-contrib","description":"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.","status":"active","version":"0.16.1","language":"python","source_language":"en","source_url":"https://github.com/openedx/xblocks-contrib","tags":["xblock","openedx","video","discussion","poll","edx"],"install":[{"cmd":"pip install xblocks-contrib","lang":"bash","label":"latest"}],"dependencies":[{"reason":"Required runtime dependency for all XBlocks.","package":"XBlock","optional":false},{"reason":"Used for web framework integration, typically provided by Open edX.","package":"Django","optional":true}],"imports":[{"wrong":"from xblocks_contrib.video import VideoBlock","symbol":"VideoBlock","correct":"from xblock_pdf import VideoBlock"}],"quickstart":{"code":"from xblocks_contrib.video import VideoBlock\nblock = VideoBlock()\nprint(block.display_name)","lang":"python","description":"Import and instantiate a VideoBlock to verify installation."},"warnings":[{"fix":"Use Python 3.12 or newer.","message":"Version 0.14.0 dropped Python 3.11 support; Python >=3.12 is required.","severity":"breaking","affected_versions":">=0.14.0"},{"fix":"Replace any usage of legacy XModuleMixin attributes with the new XBlock API.","message":"Legacy XModuleMixin attributes were removed in 0.15.3 from Poll, Discussion, Annotatable, HTML, and Problem blocks.","severity":"deprecated","affected_versions":"0.15.3+"},{"fix":"Install with 'pip install xblocks-contrib' but import with 'import xblocks_contrib'.","message":"The package name uses underscores (xblocks_contrib) for Python imports, but the PyPI package uses a hyphen (xblocks-contrib).","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"search_vec":"'0.16.1':25 '3.12':28 'activ':29 'block':23 'collect':5 'contrib':3 'contribut':22 'develop':30 'discuss':15,42 'edx':11,37,44 'frequent':32 'html':17 'includ':13 'insid':35 'instal':38 'open':10,36 'openedx':40 'pdf':19 'platform':12 'poll':16,43 'problem':18 'python':27 'releas':33 'requir':26 'use':34 'version':24 'video':14,41 'xblock':2,7,39 'xblocks-contrib':1","created_at":"2026-05-01T08:15:13.657709+00:00","updated_at":"2026-05-01T08:15:13.657709+00:00","problems":{"verify_error":"Traceback (most recent call last):\n  File \"<string>\", line 1, in <module>\n  File \"/tmp/tmp54i7tgur/venv/lib/python3.12/site-packages/xblock_pdf/__init__.py\", line 3, in <module>\n    from .pdf import PDFBlock\n  File \"/tmp/tmp54i7tgur/venv/lib/python3.12/site-packages/xblock_pdf/pdf.py\", line 17, in <"},"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":"0.17.0","cli_name":"","cli_version":null,"type":"library","homepage":null,"github":"https://github.com/openedx/xblocks-contrib","docs":null,"changelog":null,"pypi":"https://pypi.org/project/xblocks-contrib/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["web-framework","database"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"import_fail","verified_at":"2026-07-03","last_verified":"2026-07-03","next_check":"2026-07-10","install_tag":null}}