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. The MicroPython pyboard is a compact electronic circuit board that runs MicroPython on the bare metal, giving you a low-level Python operating system that can be used to control all kinds of electronic projects. MicroPython is packed full of advanced features such as an interactive prompt, arbitrary precision integers, closures, list comprehension, generators, exception handling and more. Yet it is compact enough to fit and run within just 256k of code space and 16k of RAM. MicroPython aims to be as compatible with normal Python as possible to allow you to transfer code with ease from the desktop to a microcontroller or embedded system.

Features

  • MicroPython is a full Python compiler and runtime that runs on the bare-metal
  • You get an interactive prompt (the REPL) to execute commands immediately, along with the ability to run and import scripts from the built-in filesystem
  • The REPL has history, tab completion, auto-indent and paste mode for a great user experience
  • MicroPython strives to be as compatible as possible with normal Python (known as CPython) so that if you know Python you already know MicroPython
  • On the other hand, the more you learn about MicroPython the better you become at Python
  • MicroPython includes modules such as "machine" for accessing low-level hardware

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow MicroPython

MicroPython Web Site

nel_h2
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of MicroPython!

Additional Project Details

Operating Systems

Linux, Mac

Programming Language

C

Related Categories

C Embedded Systems Software, C Programming Languages

Registered

2021-05-11