Skip to content

Josverl/micropython-stubs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

MicroPython Stubs: Enhance Your Development Experience

Documentation Status Star on GitHub All Contributors Black Checked with pyright

Welcome to the MicroPython Stubs repository!

Here, you’ll find a treasure trove of over 3,000 stub files generated by the MicroPython-Stubber tool. Whether you’re just starting out or a seasoned developer, these stubs are designed to supercharge your MicroPython development process.

Stubs are like cheat sheets for your code. They provide hints, auto-completion, and static type checking, making your life as a developer easier and more productive. Here’s what you can expect from these MicroPython stubs:

  • Faster Coding: With stubs, you’ll write code more quickly and confidently. No more guessing function names or parameters!
  • Fewer Errors: Stubs help catch mistakes early. If you provide incorrect arguments, you’ll get immediate feedback.
  • Code Completion: Say goodbye to endless Bingling. Stubs provide context-aware auto-completion, even for board-specific features.
  • Static Type Checking: By adding typing information, you’ll catch type-related bugs before they cause runtime issues.

demo

Installation

For installation instructions and configuration of your preferred IDE, please refer to the documentation

Explore Available Stubs

Curious about which versions, ports, and boards are covered? Check out the online viewer or search for MicroPython stub packages on PyPI.

For a comprehensive overview of all stubs, dive into the documentation on the documentation on read the docs.

Sponsoring

In order to build accurate stubs I need access to a board to flash it with a specific version of MicroPython and run part of the stubbing software (createsubs.py) on the board.

You can help me by:

  • running the software and sharing a PR with the generated MCU stubs,

  • sending me a spare board you may have,

  • or by sponsoring me through Github

Contributors

Thanks to everyone that has submitted stubs or other relevant pieces of code and information, or published relevant stubs on pypi or github.

Jos Verlinde
Jos Verlinde

πŸ’» πŸ“ βœ” πŸ”§ πŸ”¬ πŸ’‘ πŸ”£ πŸ“¦
MicroPython
MicroPython

πŸ”£ πŸ“
Boris Lovosevic
Boris Lovosevic

πŸ”£ πŸ“
Paul Sokolovsky
Paul Sokolovsky

πŸ”£ πŸ“
pycopy
pycopy

πŸ”£ πŸ“
Pycom
Pycom

πŸš‡
Howard Lovatt
Howard Lovatt

πŸ”¬ πŸ€” πŸ“ πŸ’‘
Paul Sokolovsky
Paul Sokolovsky

πŸ“
Chris Wood
Chris Wood

πŸ“ πŸ”§
Daryl Stultz
Daryl Stultz

πŸ“
Braden Mars
Braden Mars

πŸ“ βœ” πŸ”§ πŸ“¦
Patrick
Patrick

βœ” πŸ“
Callum Jacob Hays
Callum Jacob Hays

πŸ’‘ πŸ”¬
Ronald Hiemstra
Ronald Hiemstra

πŸ“–
thingslu
thingslu

πŸ“ βœ”
Matin Tat
Matin Tat

βœ”
Roberto Jose Etcheverry Romero
Roberto Jose Etcheverry Romero

βœ”
jdsmith
jdsmith

βœ”
Mr Keuz
Mr Keuz

βœ”
Matt Trentini
Matt Trentini

πŸ“
Andrew St Clair
Andrew St Clair

πŸ“
Michal Moravec
Michal Moravec

πŸ›
Paul
Paul

πŸ“¦ πŸ”§ πŸ“ πŸ›
Sam Duke
Sam Duke

πŸ›
Jim Mussared
Jim Mussared

πŸ“ πŸ“¦
stinos
stinos

πŸ“
Andrew Leech
Andrew Leech

πŸ› βœ” πŸ“
Maxi
Maxi

πŸ›
DeflateAwning
DeflateAwning

πŸ›
bixb922
bixb922

πŸ›
Sylvain BROCAS
Sylvain BROCAS

πŸ›
victorallume
victorallume

πŸ›
Omid Ataollahi
Omid Ataollahi

πŸ›
Dave Dribin
Dave Dribin

πŸ›
Peter Hinch
Peter Hinch

πŸ’‘
morcilab
morcilab

βœ” πŸ›
Tinyu
Tinyu

βœ” πŸ›

I invite everyone that has generated stubs for a board or port not on the current list, or has another contribution, to submit the stubs via a pull request or by just zipping up your stubs and creating an issue.

This project follows the all-contributors specification.