Skip to content
@PyDevices

PyDevices

Cross-platform Python display, input, and graphics stack — MicroPython, CircuitPython, and CPython.

PyDevices Ecosystem

Welcome to PyDevices — a unified pure-Python hardware abstraction engine, 2D graphics toolkit, native LVGL C binding generator, and cross-platform app host across MicroPython, CircuitPython, CPython, PyScript, and Android.


🏛️ Ecosystem Structure


⚡ Repository Overview

Tier 1: Core Platform & Board Contract

Standard hardware driver engine and companion reference code.

  • omnipython — Unified pure-Python hardware abstraction layer and core device contract for MicroPython, CircuitPython, CPython, direct WebAssembly, Pyodide, and Android.
  • audiodsp — CircuitPython's audio system (audiocore, synthio, audiomixer, effects, audiomp3) ported to MicroPython and CPython, extending CircuitPython along the way: dynamics, routing, convolution, and offline rendering. On PyPI as omnipython-audiodsp; the instrument and effect libraries built on it are audioinstruments and audioeffects.
  • audioinstruments — Playable synthesizers, organs, electric pianos and drum machines, each a patch of modules on a virtual rack, rendered a block at a time on audiodsp. Pure Python on CPython and MicroPython-compatible firmware. Install omnipython-audioinstruments from PyPI, or audioinstruments from the MIP index.
  • audioeffects — Compressors, EQs, reverbs, delays, modulation, drive and amp simulation, pitch shifters and racks, pure Python on audiodsp's audio nodes, the same on MicroPython-compatible boards, CircuitPython-compatible boards and a desktop. Install omnipython-audioeffects from PyPI, or audioeffects from the MIP index.
  • airwindows — Chris Johnson's Airwindows effects, reverbs, dynamics, filters, saturation and tape among them, ported to audiodsp's audio graph, the same on MicroPython-compatible firmware and CPython. Install omnipython-airwindows from PyPI, or build audioairwindows into your firmware beside audiodsp.
  • gallery — Comprehensive example code, direct MicroPython WebAssembly demos, board configurations, and multi-interpreter showcase benchmarks.

Tier 2: Python Framebuffers & GUI Toolkits

Pure Python on any Python 3 host; pygraphics adds native wheels for Linux x86_64, Windows, Android and Pyodide.

  • pygraphics — Native C and pure-Python 2D graphics library with drawing primitives, bitmap font rendering, paletted surface blitting, and area-dirtying pipelines.
  • palettes — Color management library with RGB565 / RGB888 output, an HSV color wheel, RGB color cubes, Material Design swatches, and Win16 color names.
  • iconkit — Material Design icons as flash-resident alpha masks, drawn in LVGL or pygraphics.
  • pdwidgets — A complete UI widget framework in Python with no C: buttons, sliders, progress bars, labels and event routing on OmniPython screens. It demonstrates that the core can carry a UI framework; for an interface you ship, use LVGL. Not in release firmware: mip install pdwidgets.

Tier 3: LVGL Native Extensions & Binding Generator

Single-source LVGL C header binding generator and native interpreter modules.

  • omnipython-lvgl — LVGL v9 for Python: one binding generator turns LVGL's C headers into a MicroPython module, a CircuitPython module and a CPython wheel, so a program imports lvgl the same way on a desktop and on both kinds of board.

Tier 4: App Hosts & Mobile

Deploy PyDevices apps directly to desktop browsers or mobile APKs.

  • pyscript-template — Progressive Web App starter template repository for deploying offline-capable client-side OmniPython applications on GitHub Pages.
  • android-template — Pre-configured python-for-android build recipes and Buildozer project template for packaging OmniPython applications into native Android APKs.
  • apps — Finished apps for a board with a screen, or a desktop: Home and Watch to start them from, and apps for music, MIDI and audio, cameras and calls, the clock and the weather, remotes and the board itself, with the libraries they share. One omip line puts them all on a Wi-Fi board; pip puts them on a desktop.

Tier 5: Developer Tools & Infrastructure

MIP package indexing, multi-usermod builds, and serial/FTP IDE extensions.

  • mcuctl — Connect MicroPython and CircuitPython boards from VS Code, Cursor, or the CLI, over USB or Wi-Fi: dual-pane file transfer, in-editor REPL, firmware builds and flashing, mip/circup, plus RPC and an optional browser PWA.
  • omnipython-builds — The OmniPython patch queue for MicroPython, kept like a distribution keeps one: an ordered, provenance-tracked patch series over the pinned upstream (MicroPython v1.30.0-preview-160), with presets, boards and variants that build PyDevices modules into firmware with upstream's own make.
  • workbench — A ViperIDE fork with a built-in WebAssembly MicroPython simulator: edit, run, and debug OmniPython code against a simulated board entirely in the browser, no hardware required.
  • mpvst — Programmable VST3 instruments and effects: every audioinstruments instrument and audioeffects effect as a named plug-in, each instance running its Python in a sidecar process. Installers for Windows and Linux; nothing has to be built.

Moved into other repositories:

  • displayif — now modules/displayif in omnipython-builds. The old repository is archived.
  • audiocomponents — split into audioinstruments and audioeffects. The old repository is archived.
  • audioif — now modules/audioif in omnipython-builds. The old repository is archived.
  • cameraif — now modules/cameraif in omnipython-builds. The old repository is archived.
  • usbif — the C module is now modules/usbhost in omnipython-builds; the Python USB packages are in omnipython. The old repository is archived.
  • lvgl-bindings — now binding in omnipython-lvgl. The old repository is archived.
  • lvgl-micropython — now ports/micropython in omnipython-lvgl. The old repository is archived.
  • lvgl-python — now ports/cpython in omnipython-lvgl. The old repository is archived.
  • lvgl-circuitpython — now ports/circuitpython in omnipython-lvgl. The old repository is archived.

Deliberately absent from this map:

  • android-runner — Exists solely to enable omnipython/bin/android.py. The APK is documented in omnipython; the runner publishes no site.

Pinned Loading

  1. pydevices-examples pydevices-examples Public archive

    Examples, integration guides, and an installable PyScript gallery for the PyDevices driver stack.

    Python 53 11

  2. omnipython omnipython Public

    Portable display, audio, event, board-config, and hardware-driver packages for MicroPython, CircuitPython, and CPython.

    Python 2

  3. audiodsp audiodsp Public

    CircuitPython's audio system (audiocore, synthio, audiomixer, effects, audiomp3), ported to MicroPython.

    C 4

  4. workbench workbench Public

    Forked from vshymanskyy/ViperIDE

    PyDevices Workbench — MicroPython IDE for Web and Mobile: built-in device simulator plus USB/BLE/WebREPL board connectivity. Built on ViperIDE.

    JavaScript

  5. lvgl-bindings lvgl-bindings Public archive

    LVGL binding generator shared by MicroPython, CircuitPython, and CPython.

    C

  6. mcuctl mcuctl Public

    VS Code and Cursor tooling for MicroPython and CircuitPython: REPL, file transfer, packages, and firmware workflows.

    Python 1

Repositories

Showing 10 of 36 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…