pydevices-examples

pydevices-examples — Showcase, demos & WebAssembly gallery.

pydevices-examples Comprehensive example code, direct MicroPython WebAssembly demos, board configurations, and multi-interpreter showcase benchmarks.

Live Pure-Python Device

Core app

board_config + Interpreter — one idiom everywhere
import board_config
from board_config import display_drv
import appdev
import events

app = appdev.App(board_config)
app.on(events.MOUSEBUTTONDOWN, on_click)
app.run()

Import board_config, register handlers, run the loop. Guides and the full platform matrix live in the pydevices documentation.

In the stack

add-ons live on their own pages

palettes

Wheels, cubes, Material swatches, and named colors via get_palette().

palettes Pages

pdwidgets

Lightweight widgets on top of the PyDevices display stack — buttons, forms, nav, charts.

pdwidgets Pages

android-template

Native APK companion via python-for-android — distinct from the browser PWA.

Android Pages

More

docs, simulation, packages

Documentation

Guides, the board contract, and the driver reference in the pydevices repo.

PyScript Gallery

The same lib/examples/ scripts as MCUs and CPython — installable in the browser.

Wokwi example

ESP32-S3 simulation running PyDevices examples on virtual hardware.

Source on GitHub

Browse the code, file issues, and contribute.

MIP package index

Install PyDevices packages and add-ons with mip on any *Python.

LVGL bindings

Full widget toolkit via lvgl-bindings and the matching cmod for your interpreter.