ChuMicro

Cross-runtime Python libraries for CircuitPython, MicroPython, and CPython — built for ESP32, RP2040, and other microcontrollers.

CircuitPython MicroPython CPython

chumicro-compat

Cross-runtime compatibility polyfills for CircuitPython, MicroPython, and CPython — functools.partial and more.

chumicro-msgpack

Compact MessagePack serialization for CircuitPython, MicroPython, and CPython — delegates to the native C module when available.

chumicro-runner

Tick-based task runner for CircuitPython, MicroPython, and CPython — non-blocking check/handle scheduling without async.

chumicro-timing

Wraparound-safe millisecond tick helpers and heartbeat scheduling for CircuitPython, MicroPython, and CPython.

Install

pip (CPython)

pip install chumicro-compat

circup (CircuitPython)

circup bundle-add ChuMicro/ChuMicro-Bundle
circup install chumicro-compat

mip (MicroPython)

mpremote mip install github:ChuMicro/ChuMicro-Bundle/chumicro_compat

Release channels

ChannelBundleDescription
Stable ChuMicro-Bundle Released, tested versions — recommended for production
Experimental ChuMicro-Bundle-Experimental Pre-release — latest features, may contain breaking changes

Each library has a version selector in its docs header. Use it to switch between stable, experimental, and pinned versions.