Skip to main content

Library used for helping developing for the BBC microbit easier.

Project description


MicroBitTools is a package for making BBC MicroBit development easier.


Run the following line in the terminal/command prompt to install:

pip install MicroBitTools


This one is used to flash to the MicroBit

from MicroBitTools import flash
flash("PythonFilePathHere", "MicroBitDirectoryHere")

This one is used to flash whole folders

from MicroBitTools import flashF
flashF("PythonFilePathHere", "MicroBitDirectoryHere")

Serial system (Still in early development)

First, let's create a SerialSystem

import MicroBitTools as mbt
mbs = mbt.SerialSystem()

Then, let's move the SerialSystem on to the MicroBit


After that, we are going to create a loop that is printing the data from the MicroBit

while True:

You'r code should look like this:

import MicroBitTools as mbt
mbs = mbt.SerialSystem()

mbs.readyMicroBit() # Load 

while True: # Infinite loop
    print( # Print data from MicroBit

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for MicroBitTools, version 2.1.2
Filename, size File type Python version Upload date Hashes
Filename, size MicroBitTools-2.1.2-py3-none-any.whl (16.1 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size MicroBitTools-2.1.2.tar.gz (16.0 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page