stubber.commands.get_core_cmd

Get core CPython stubs from PyPi.

Module Contents

Functions

cli_get_core([stub_folder, stubgen, black])

Download core CPython stubs from PyPi.

stubber.commands.get_core_cmd.cli_get_core(stub_folder: str = CONFIG.stub_path.as_posix(), stubgen: bool = True, black: bool = True)

Download core CPython stubs from PyPi.

Get the core (CPython compat) modules for both MicroPython and Pycopy.

Parameters:
  • stub_folder (str) –

  • stubgen (bool) –

  • black (bool) –