RuntimeActive

MicroPython

MicroPython is a lean and efficient implementation of the Python 3 programming language that includes a small subset of the Python standard library and is optimised to run on microcontrollers and in constrained environments.

Open source page

Field note

What it does

MicroPython aims to implement the Python 3.4 standard (with selected features from later versions) with respect to language syntax, and most of the features of MicroPython are identical to those described by the 'Language Reference' documentation at docs.python.org. The MicroPython standard library is described in the corresponding chapter. The MicroPython differences from CPython chapter describes differences between MicroPython and CPython (which mostly concern standard library and types, but also some language-level features). This chapter describes features and peculiarities of MicroPython implementation and the best practices to use them.

Capabilities

Available capabilities

Tags

Tags

Ways to use it

Ways to use it

No integrations filed yet.

Product features

Product features

Baremetal operation

MicroPython can run on systems without a full-fledged operating system, functioning as a small OS.

Callee-owned tuples

A MicroPython-specific construct for efficiency, reusing tuple objects.

FFI support

Foreign Function Interface for Unix port to access OS functionality.

Frozen modules

Python modules cross-compiled and bundled into firmware.

Interned strings

Optimisation for efficient string comparison and memory de-duplication.

Language Reference

Information about MicroPython-specific language features.

Library Reference

Documentation for MicroPython libraries and modules.

Documented feature

Platform Quick References

Quick references for various supported platforms including pyboard, ESP8266, ESP32, RP2, and more.