Skip to content

hickford/microbit-dummy-python-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

microbit-dummy-python-api

A dummy Python implementation of the microbit module for MicroPython.

Motivation

Mu is a neat editor for micro:bit, with built-in knowledge of the microbit module. Other Python editors don't know about the microbit module, so can't show autocomplete or documentation for it. Installing this dummy Python implementation solves that problem.

Important note

You can't use this library to control a BBC micro:bit. If you try to run code written for the micro:bit on your computer it will not work. You will need to flash your script to your micro:bit somehow with Mu or uFlash.

Compatible editors

Autocomplete has been tested with the following editors:

Installation

From PyPI:

pip install microbit-dummy

Usage

  1. Write code in your favourite Python editor
  2. Enjoy autocomplete and documentation for microbit module
  3. Flash your script to your micro:bit with uFlash

Note that where MicroPython differs from Python, your editor will show documentation for Python. It will also show documentation for modules on your computer absent from MicroPython.

About

A dummy Python implementation of the microbit module for MicroPython.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages