Overview of Stubs¶
Initially I also stored all the generated subs in the same repo. That turned out to be a bit of a hassle and since then I have moved all the stubs to the micropython-stubs repo
Below are the most relevant stub sources referenced in this project.
Firmware and libraries¶
MicroPython firmware and frozen modules [MIT]¶
https://github.com/micropython/micropython
https://github.com/micropython/micropython-lib
Pycopy firmware and frozen modules [MIT]¶
https://github.com/pfalcon/pycopy
https://github.com/pfalcon/pycopy-lib
LoBoris ESP32 firmware and frozen modules [MIT, Apache 2]¶
https://github.com/loboris/MicroPython_ESP32_psRAM_LoBo
Included custom stubs¶
Github repo |
Contributions |
License |
---|---|---|
pfalcon/micropython-lib |
CPython backports |
MIT |
dastultz/micropython-pyb |
a pyb.py file for use with IDEs in developing a project for the Pyboard |
Apache 2 |
Stub source: MicroPython-lib > CPython backports [MIT, Python]¶
While micropython-lib focuses on MicroPython, sometimes it may be beneficial to run MicroPython code using CPython, e.g. to use code coverage, debugging, etc. tools available for it. To facilitate such usage, micropython-lib also provides re-implementations (“backports”) of MicroPython modules which run on CPython. https://github.com/pfalcon/micropython-lib#cpython-backports
micropython_pyb [Apache 2]¶
This project provides a pyb.py file for use with IDEs in developing a project for the Pyboard. https://github.com/dastultz/micropython-pyb