mip
mip

mip — PyDevices MIP package index & distribution.

mip Single source of truth (SoT) for precompiled MicroPython .mpy bytecode packages and pure-Python library distributions across the PyDevices ecosystem.

GitHub Repo cmods Workspace mpftp Workbench pydevices Core

Installing Packages via PyDevices MIP Index

Use INDEX="https://PyDevices.github.io/mip" in Python, CLI, or mpremote.

1. MicroPython REPL or Python Script

import mip

# Define the PyDevices MIP Index URL:
INDEX = "https://PyDevices.github.io/mip"

# Install pure-Python UI widgets and 2D FrameBuffer graphics:
mip.install("pdwidgets", index=INDEX)
mip.install("pygraphics", index=INDEX)
mip.install("palettes", index=INDEX)

2. Terminal Command Line (Host Python / Desktop MicroPython)

# Linux / macOS:
micropython -m mip install --target lib --index https://PyDevices.github.io/mip pdwidgets

# Windows Command Prompt / PowerShell:
micropython.exe -m mip install --target lib --index https://PyDevices.github.io/mip pdwidgets

3. mpremote (Connected Microcontroller Hardware over Serial)

# Install directly onto attached microcontroller flash storage:
mpremote mip install --index https://PyDevices.github.io/mip pdwidgets
mpremote mip install --index https://PyDevices.github.io/mip displaydev

Published Ecosystem Packages

Precompiled .mpy bytecodes and source packages hosted on PyDevices mip.
Package Name Type Description Target Tier
pydevices Core Engine Board contract definitions, canonical board_config.py files, display/touch drivers. 1: Core Platform
pygraphics 2D FrameBuffer Extended 2D FrameBuffer graphics engine with exposed properties and Area tracking. 2: Toolkits
pdwidgets Pure-Python UI Lightweight widget toolkit — buttons, sliders, forms, navigation, and custom themes. 2: Toolkits
palettes Color Engine Standalone color toolkit — Wheel, Cube, Material Design, and Windows-16 named colors. 2: Toolkits
displaydev Hardware Bus Abstraction Cross-runtime display device interface layer for MicroPython & CircuitPython. 1: Core Platform
audiodev Audio Abstraction Hardware I2S/PWM audio device interface layer. 1: Core Platform
eventsys Event Dispatcher Lightweight pub/sub event bus and input event handler. 1: Core Platform
multimer Soft Timers Microsecond software timer and periodic task scheduler. 1: Core Platform