Replies: 1 comment
-
Have added ability to install using PyPI: pip install --upgrade micropython-typesheds
python -m micropython-typesheds <destination-directory> |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've generated a set of stubs (
pyi
files) from the Micropython docs (rst
files), see https://github.com/hlovatt/PyBoardTypeshed.The are rich typesheds with typed arguments, return types, and doc comments and includes methods that
dir
doesn't list but do actually exist. Similarly methods and constants not listed in documentation but which show up withdir
are included. IE hopefully a superset ofdir
andrst
.How can these be incorporated into microcopy-cli distribution (for ease of people using them in their projects)?
As an aside, also see comments on https://github.com/Josverl/micropython-stubs/discussions/107 (stubs naming convention discussion).
Beta Was this translation helpful? Give feedback.
All reactions