{"id":24844,"library":"xblock-google-drive","title":"xblock-google-drive","description":"An XBlock for embedding Google Documents (Docs, Sheets, Slides, Forms) and Google Calendar within an Open edX course. Current version 0.8.2, requires Python >=3.12, follows Open edX release cadence.","status":"active","version":"0.8.2","language":"python","source_language":"en","source_url":"https://github.com/openedx/xblock-google-drive","tags":["xblock","openedx","google-drive","google-calendar","edx"],"install":[{"cmd":"pip install xblock-google-drive","lang":"bash","label":"PyPI install"}],"dependencies":[{"reason":"Core dependency for all XBlocks","package":"XBlock","optional":false},{"reason":"Web framework used by edX platform","package":"Django","optional":false}],"imports":[{"wrong":"from xblock_google_drive.google_drive import GoogleDriveBlock","symbol":"GoogleCalendarBlock","correct":"from google_drive import GoogleCalendarBlock"},{"wrong":"from xblock_google_drive.google_drive import GoogleDriveBlock","symbol":"GoogleDocumentBlock","correct":"from google_drive import GoogleDocumentBlock"}],"quickstart":{"code":"from xblock_google_drive.google_drive import GoogleDriveBlock\nfrom xblock_google_drive.google_calendar import GoogleCalendarBlock\n\n# Typically used within an edX modulestore; direct instantiation is rare.\n# Example configuration:\nblock = GoogleDriveBlock()\nblock.document_id = '1abc...'  # Google Doc ID from URL\nblock.display_name = 'My Doc'","lang":"python","description":"Import the block classes and configure with Google document ID or calendar ID."},"warnings":[{"fix":"Downgrade: pip install 'xblock-google-drive<=0.8.1'","message":"Requires Python >=3.12 as of v0.8.2. If your edX platform runs Python 3.8-3.11, pin to <=0.8.1 or use v0.8.0 which supports Python 3.8-3.11.","severity":"gotcha","affected_versions":">=0.8.2"},{"fix":"Use Atlas-compatible translation workflow; remove locale files from repo if previously used.","message":"Removed locale files and Transifex integration in v0.7.0 (OEP-58). Translations now managed via Atlas; custom translation overrides may break.","severity":"breaking","affected_versions":">=0.7.0"},{"fix":"Migrate to direct XBlock base class or include xblockutils explicitly if needed.","message":"Removed xblockutils dependency in v0.5.0. Code that relied on xblockutils compat wrappers (e.g., XBlockWithMixins) may need adaptation.","severity":"breaking","affected_versions":">=0.5.0"},{"fix":"Upgrade Python environment to 3.12; or pin to older releases.","message":"Python 3.8 support dropped in v0.8.0. Python 3.11 support dropped in v0.8.2. Ensure your Python versions are compatible.","severity":"deprecated","affected_versions":">=0.8.0"}],"env_vars":null,"search_vec":"'0.8.2':25 '3.12':28 'cadenc':33 'calendar':17,41 'cours':22 'current':23 'doc':11 'document':10 'drive':4,38 'edx':21,31,42 'embed':8 'follow':29 'form':14 'googl':3,9,16,37,40 'google-calendar':39 'google-dr':36 'open':20,30 'openedx':35 'python':27 'releas':32 'requir':26 'sheet':12 'slide':13 'version':24 'within':18 'xblock':2,6,34 'xblock-google-dr':1","created_at":"2026-05-01T08:15:13.038989+00:00","updated_at":"2026-05-01T08:15:13.038989+00:00","problems":null,"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":"0.8.2","cli_name":"","cli_version":null,"type":"library","homepage":null,"github":"https://github.com/openedx/xblock-google-drive","docs":null,"changelog":null,"pypi":"https://pypi.org/project/xblock-google-drive/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["gcp","web-framework"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"passing","verified_at":"2026-07-03","last_verified":"2026-07-03","next_check":"2026-08-02","install_tag":null}}