Skip to content

Automatically Generated Stub Packages for Micropy-Cli and whomever else

License

Notifications You must be signed in to change notification settings

BradenM/micropy-stubs

Repository files navigation

Micropy Stubs

Note: This is currently a WIP. The end goal is to have a mostly automated method of creating 'stub packages' with device-specific and firmware-specific modules included for micropy-cli. Also, as it was originally aimed at being a quick script for personal use, the code is a bit of a mess. A refactor with tests will be coming soon.

Crawls file tree looking for info.json files, sorting them by either firmware or device.

If a firmware file is found, it creates the file structure required and downloads/stubs firmware specific modules.

If a device file is found, it will then download its required modules and stub them. The initial info file and device stubs must be added manually.

Please refer to the example directory for more information.

Credits

This is heavily inspired by (and even uses) Josvel's micropython-stubber. All credit for the stub generation in this project goes to him and those who aided him.

About

Automatically Generated Stub Packages for Micropy-Cli and whomever else

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages