Skip to content

Latest commit

 

History

History
25 lines (19 loc) · 799 Bytes

README.md

File metadata and controls

25 lines (19 loc) · 799 Bytes

Micropython Typeshed Generator (formerly known as PyBoard Typeshed Generator)

Code to generate typesheds (type hint interface stubs .pyi) from restructured text help files (.rst) as used in MicroPython. This code generates the typesheds in PyBoardTypeshed repository. The README for the typeshed repository describes how to use the typesheds.

See doc comment in rsi2pyi.py for a brief description of how to write translators.

Run:

    cd <directory of PyBoardTypeShedGenerator>
    python3 main.py <destination directory>

or if main.py is executable:

    cd <directory of PyBoardTypeShedGenerator>
    ./main.py <destination directory>