MicroPython documentation and referencesΒΆ
- MicroPython libraries
- Python standard libraries and micro-libraries
- Builtin functions and exceptions
array– arrays of numeric datacmath– mathematical functions for complex numbersgc– control the garbage collectormath– mathematical functionssys– system specific functionsubinascii– binary/ASCII conversionsucollections– collection and container typesuerrno– system error codesuhashlib– hashing algorithmsuheapq– heap queue algorithmuio– input/output streamsujson– JSON encoding and decodinguos– basic “operating system” servicesure– simple regular expressionsuselect– wait for events on a set of streamsusocket– socket moduleustruct– pack and unpack primitive data typesutime– time related functionsuzlib– zlib decompression
- MicroPython-specific libraries
btree– simple BTree databaseframebuf— Frame buffer manipulationmachine— functions related to the hardware- Reset related functions
- Interrupt related functions
- Power related functions
- Miscellaneous functions
- Constants
- Classes
- class Pin – control I/O pins
- class Signal – control and sense external I/O devices
- class UART – duplex serial communication bus
- class SPI – a Serial Peripheral Interface bus protocol (master side)
- class I2C – a two-wire serial protocol
- class RTC – real time clock
- class Timer – control hardware timers
- class WDT – watchdog timer
micropython– access and control MicroPython internalsnetwork— network configurationuctypes– access binary data in a structured way
- Python standard libraries and micro-libraries
- The MicroPython language
- Glossary
- The MicroPython Interactive Interpreter Mode (aka REPL)
- Writing interrupt handlers
- Maximising MicroPython Speed
- MicroPython on Microcontrollers
- MicroPython differences from CPython
- Syntax
- Core Language
- Builtin Types
- Exception
- bytearray
- bytes
- float
- int
- list
- str
- UnicodeDecodeError not raised when expected
- Start/end indices such as str.endswith(s, start) not implemented
- Attributes/subscr not implemented
- str(...) with keywords not implemented
- str.ljust() and str.rjust() not implemented
- None as first argument for rsplit such as str.rsplit(None, n) not implemented
- Instance of a subclass of str cannot be compared for equality with an instance of a str
- Subscript with step != 1 is not yet implemented
- tuple
- Modules
- MicroPython license information