MicroBitTools
MicroBitTools is a package for making BBC MicroBit development easier.
Installation
Run the following line in the terminal/command prompt to install:
pip install MicroBitTools
Examples
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
mbs.readyMicroBit()
After that, we are going to create a loop that is printing the data from the MicroBit
while True:
print(mbs.read())
You'r code should look like this:
import MicroBitTools as mbt
mbs = mbt.SerialSystem()
mbs.readyMicroBit() # Load
while True: # Infinite loop
print(mbs.read()) # Print data from MicroBit
Metadata
Release files for MicroBitTools 2.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| MicroBitTools-2.1.2.tar.gz | 16.0 kB | Without provenance | Details for MicroBitTools-2.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| MicroBitTools-2.1.2-py3-none-any.whl | Python 3 | none | any | Details for MicroBitTools-2.1.2-py3-none-any.whl |
Total release size: 32.1 kB
Release files / MicroBitTools-2.1.2.tar.gz
| Download URL | MicroBitTools-2.1.2.tar.gz |
|---|---|
| Size | 16.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
473b88907bee4bd221464c35d5637611dace39435a911d2b23e2006d53e59df2
|
|
BLAKE2b-256 checksum How to use checksums |
b3d07d2aa36b742c862214f5d4f0e52654ef84635bab7d9de72edc0588ab041d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
|
Release files / MicroBitTools-2.1.2-py3-none-any.whl
| Download URL | MicroBitTools-2.1.2-py3-none-any.whl |
|---|---|
| Size | 16.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0aa884526521b2f5aec728de1762f39368ff3e377eb949e1db17940ea202f308
|
|
BLAKE2b-256 checksum How to use checksums |
03e7831c83ab1a2099478526c6a2166a2bba3b6213c2a3cbe41dd603ab287d6c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
|
Security for MicroBitTools 2.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.