MicroPython

MicroPython
Developer(s)Damien P. George
Initial release3 May 2014; 10 years ago (2014-05-03)
Stable release
1.24.0 Edit this on Wikidata / 26 October 2024; 32 days ago (26 October 2024)
Repository
Written inC
PlatformARM Cortex-M, STM32, ESP8266, ESP32, 16-bit PIC, Unix, Microsoft Windows, Zephyr, JavaScript, RP2040
LicenseMIT license[1]
Websitemicropython.org

MicroPython is a software implementation of a programming language largely compatible with Python 3, written in C, that is optimized to run on a microcontroller.[2][3]

MicroPython consists of a Python compiler to bytecode and a runtime interpreter of that bytecode. The user is presented with an interactive prompt (the REPL) to execute supported commands immediately. Included are a selection of core Python libraries; MicroPython includes modules which give the programmer access to low-level hardware.[4]

MicroPython does have an inline assembler, which lets the code run at full speed, but it is not portable across different microcontrollers.

The source code for the project is available on GitHub under the MIT License.[5]

  1. ^ George, Damien P. (4 May 2014). "micropython/LICENSE at master · micropython/micropython". GitHub. Retrieved 11 February 2017.
  2. ^ Venkataramanan, Madhumita (6 December 2013). "Micro Python: more powerful than Arduino, simpler than the Raspberry Pi". Wired. Retrieved 15 December 2016.
  3. ^ Yegulalp, Serdar (5 July 2014). "Micro Python's tiny circuits: Python variant targets microcontrollers". InfoWorld. Retrieved 15 December 2016.
  4. ^ "MicroPython - Python for microcontrollers". micropython.org. Retrieved 12 August 2017.
  5. ^ "MicroPython on GitHub". GitHub. 7 February 2022.