Hand-written Python helpers

August 18, 2026 · View on GitHub

Pure-Python modules that ship with the LVGL bindings. These are not generator output — edit them here, then sync into consumer repos.

FileImportNotes
display_driver.pyimport display_driverLVGL-owned display/input/event_loop glue for PyDevices (board_config, events, keys, multimer); independent of optional appdev

Sync into consumers

RepoDestinationHow it ships
lvgl-micropythonlib/display_driver.pyFrozen via manifest.py
lvgl-circuitpythonlib/display_driver.pyFrozen via manifest.py (unix builds)
lvgl-pythondisplay_driver.pypy_modules in the pydevices-lvgl wheel

Each consumer has scripts/sync_from_lvgl_bindings.sh (or extends the CPython one) that copies this file from PyDevices/lvgl-bindings on GitHub.

MIP (optional)

mip.install("github:PyDevices/lvgl-bindings/packages/display_driver.json")

Requires a PyDevices board_config (from a hardware board package or pydevices-desktop), events, keys, multimer, and an lvgl binding.