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

You Might Also Like
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
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