micropython-stubber

Generate and maintain stubs for different MicroPython ports to use with VSCode and Pylance, PyRight, Thonny, PyCharm or pylint

OTHER License

Downloads
4.1K
Stars
151
Committers
12

Bot releases are visible (Hide)

micropython-stubber - v1.17.5 Latest Release

Published by github-actions[bot] 8 months ago

micropython-stubber - v1.17.2

Published by github-actions[bot] 8 months ago

micropython-stubber - v1.17.0

Published by github-actions[bot] 9 months ago

micropython-stubber - v1.16.2

Published by github-actions[bot] 9 months ago

micropython-stubber - v1.16.3

Published by github-actions[bot] 9 months ago

micropython-stubber - v1.6.2

Published by github-actions[bot] 10 months ago

micropython-stubber - v1.16.1

Published by github-actions[bot] 10 months ago

micropython-stubber - v1.15.1

Published by github-actions[bot] 11 months ago

micropython-stubber - v1.15.0

Published by github-actions[bot] 11 months ago

Improvement in frozen stubs
Some of the module stubs are generated based on the python modules.
There usually contain little or no docstring information, while the documentation does have that infromation

The stubber tool has been updated to to merge the information from the documentation into these frozen stubs, providing combined and richer information where the two can be matched.

Enrich both Python and C modules
Some of the modules are built partly in (frozen) Python and partly in C(++). by convention the C part of the module is prefixes with an _
an example are the rp2 and the _rp2 modules where the classes and methos of both have been documented in a single document rp2/.st

The documentation merge process will now also enrich the _rp2.pyi and similar named stub files

Quality Testing.
In order to keep an eye on quality, and find cases where the stubs prove incorrect type-hints,
I have setup pytest with some custom configuration to track the quality.
Due to the diversity of features and functionality across ports, boards and versions this should help spot where stubs are not providing the expected/desired results.
( the plan it to move this approach to the stubs repo)

What's Changed

New Contributors

Full Changelog: https://github.com/Josverl/micropython-stubber/compare/v1.14.1...v1.15.0

micropython-stubber - v1.13.7

Published by github-actions[bot] 11 months ago

micropython-stubber - v1.14.0

Published by github-actions[bot] 11 months ago

micropython-stubber - v1.14.1

Published by github-actions[bot] 11 months ago

What's Changed

Full Changelog: https://github.com/Josverl/micropython-stubber/compare/v1.13.2...v1.14.1

micropython-stubber - Bump version for 1.20.0

Published by Josverl over 1 year ago

What's Changed

Full Changelog: https://github.com/Josverl/micropython-stubber/compare/v1.13.3...V1.13.4

micropython-stubber - v1.13.3

Published by github-actions[bot] over 1 year ago

What's Changed

fixes

updates

Full Changelog: https://github.com/Josverl/micropython-stubber/compare/v1.13.2...v1.13.3

micropython-stubber - v1.13.2

Published by github-actions[bot] over 1 year ago

micropython-stubber - v1.13.1-post1

Published by github-actions[bot] over 1 year ago

micropython-stubber - v1.13.1

Published by github-actions[bot] over 1 year ago

micropython-stubber - v1.13.0

Published by github-actions[bot] over 1 year ago

micropython-stubber - v1.12.1

Published by github-actions[bot] over 1 year ago

micropython-stubber - v1.11.6

Published by github-actions[bot] over 1 year ago