LVGL for Python
LVGL is a C graphics library for small displays.
omnipython-lvgl lets you drive it from Python, on a desktop with CPython and on a
board with MicroPython-compatible or CircuitPython-compatible firmware. All
three share one API, generated from LVGL’s headers, so a program you write
against import lvgl as lv runs on each.
import lvgl as lv
lv.init()
disp = lv.display_create(240, 120)
# ... a button and a label, as in the first program
Install it for the Python you use, then run your first program. The guides take one task each, the reference lists the names and the fonts, and How it works explains how the three builds relate.