This is the documentation for the latest development branch of MicroPython and may refer to features that are not available in released versions.

If you are looking for the documentation for a specific release, use the drop-down menu on the left and select the desired version.

MicroPython documentation

Welcome! This is the documentation for MicroPython, last updated 05 Nov 2025.

MicroPython runs on a variety of systems and hardware platforms. Here you can read the general documentation which applies to all systems, as well as specific information about the various platforms - also known asports - that MicroPython runs on.

General documentation for MicroPython:

Library Reference
MicroPython libraries and modules

MicroPython Differences
MicroPython operations which differ from CPython

Language Reference
information about MicroPython specific language features

License
MicroPython license information

References and tutorials for specific platforms:

Quick reference for the pyboard
pinout for the pyboard, snippets of useful code, and a tutorial

Quick reference for the ESP8266
pinout for ESP8266-based boards, snippets of useful code, and a tutorial

Quick reference for the ESP32
pinout for ESP32-based boards, snippets of useful code, and a tutorial

Quick reference for the Raspberry Pi RP2xxx
pinout for rp2xxx-based boards, snippets of useful code, and a tutorial

Quick reference for the NXP i.MXRT 10xx
general introduction, snippets of useful code, and a tutorial

Quick reference for the WiPy/CC3200
pinout for the WiPy/CC3200, snippets of useful code, and a tutorial

Quick reference for UNIX and Windows
command-line reference

Quick reference for the Zephyr port
snippets of useful code and a tutorial

Quick reference for the Renesas RA
general information for Renesas RA based boards, snippets of useful code, and a tutorial

Quick reference for the SAMD21/SAMD51
general information for SAMD21/SAMD51 based boards, snippets of useful code, and a tutorial

Indices and tables:

Module index
quick access to all modules

Full index
all functions, classes, constants

Glossary
MicroPython terms explained

Table of contents
a list of all sections and subsections

External links:

MicroPython homepage
the official MicroPython site

GitHub Discussions
community discussion for all things related to MicroPython

MicroPython on GitHub
contribute to the source code on GitHub