Skip to content

Josverl/micropython-stubs

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

micropython-stubs

Documentation Status Star on GitHub All Contributors Black

pencil stubs

This repo stores stubs generated by the MicroPython-Stubber tool. Currently over 3.000 stubfiles of multiple MicroPython versionas and modules are available to help you :

  • write code quicker
  • with less errors,
  • get help from code completion,
  • use static type checking,
  • and improve the overall development experience while writing MicroPython.

The stubs are packaged and published to PyPi as Pep 561 stub-only packages to allow them to be installed and used with ease.

**Demo using VSCode: ** demo

micropython-<port>[-<board>]-stubs

The stubs for a specific version port and board of the MicroPython firmware. These are built by combining: * The 'Board stubs' generated on a generic board for the port * The 'Frozen stubs' from the Micropython repository for that specific version and that port & board combination * The 'Core Stubs' to provide a common interface for the Micropython firmware and the CPython core.

Note: board is omitted if it is GENERIC

Examples:
  - micropython-stm32-stubs
  - micropython-esp32-stubs
  - micropython-rp2-stubs
  - micropython-esp8266-stubs

Current MicroPython stub packages

You can search for Micropython stub packages on PyPI

For a full overview of all stubs check out the documentation on read the docs, or in docs/firmware_grp.md

Using the stubs

To learn how to use the stubs please refer to the documentation on RTD

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

💻 📝 🔧

MicroPython

🔣 📝

Boris Lovosevic

🔣 📝

Paul Sokolovsky

🔣 📝

pycopy

🔣 📝

Pycom

🚇

Braden Mars

📝 🔧 📦

Paul Sokolovsky

📝

Daryl Stultz

📝

Patrick

📝

Callum Jacob Hays

💡 🔬

Ronald Hiemstra

📝 🖋 📖

Chris Wood

📝 🔧

thingslu

📝

Matin Tat


Roberto Jose Etcheverry Romero


jdsmith


Mr Keuz

💻

Matt Trentini

📝

Andrew St Clair

📝

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.

About

Stubs of common micropython modules to aid in code completion, static typechecking and overall development

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages