MicroPython Module Reference
This is an index to documentation for MicroPython modules and MicroPython-lib modules. The documentation is autogenerated from the MicroPython type-stub files, or from the python sources for modules in MicroPython-lib.
- _asyncio – Asynchronous I/O scheduler for writing concurrent code.
- _boot
- _boot_fat
- _onewire
- _rp2 – Functionality specific to the RP2.
- _thread – Multithreading support.
- array – Efficient arrays of numeric data.
- asyncio – Asynchronous I/O scheduler for writing concurrent code.
- binascii – Binary/ASCII conversions.
- bluetooth – Low-level Bluetooth radio functionality.
- btree – Simple BTree database.
- cmath – Mathematical functions for complex numbers.
- collections – Collection and container types.
- cryptolib – Cryptographic ciphers.
- deflate – Deflate compression & decompression.
- errno – System error codes.
- esp – Functions related to the ESP8266 and ESP32.
- esp32 – Functionality specific to the ESP32.
- espnow – ESP-NOW asyncio support.
- framebuf – Frame buffer manipulation.
- gc – Control the garbage collector.
- gzip – Gzip compression & decompression.
- hashlib – Hashing algorithms.
- heapq – Heap queue algorithm.
- io – Input/output streams.
- json – JSON encoding and decoding.
- lcd160cr – Control of LCD160CR display.
- machine – Functions related to the hardware.
- math – Mathematical functions.
- micropython – Access and control MicroPython internals.
- neopixel – Control of WS2812 / NeoPixel LEDs.
- network – Network configuration.
- openamp – Provides standard Asymmetric Multiprocessing (AMP) support.
- os – Basic “operating system” services.
- platform – Access to underlying platform’s identifying data.
- pyb – Functions related to the board.
- random – Random numbers.
- rp2 – Functionality specific to the RP2.
- select – Wait for events on a set of streams.
- socket – Socket module.
- ssl – TLS/SSL wrapper for socket objects.
- stm – Functionality specific to STM32 MCUs.
- struct – Pack and unpack primitive data types.
- sys – System specific functions.
- time – Time related functions.
- uctypes – Access binary data in a structured way.
- vfs – Virtual filesystem control.
- wipy – WiPy specific features.
- wm8960
- zephyr – Functionality specific to Zephyr.
- zlib – Zlib compression & decompression.