stubber.freeze.freeze_folder

get and parse the to-be-frozen .py modules for micropython to extract the static type information.

Module Contents

Functions

freeze_folders(stub_folder, mpy_folder, lib_folder, ...)

get and parse the to-be-frozen .py modules for micropython to extract the static type information

Attributes

FAMILY

stubber.freeze.freeze_folder.FAMILY = 'micropython'
stubber.freeze.freeze_folder.freeze_folders(stub_folder: str, mpy_folder: str, lib_folder: str, version: str)

get and parse the to-be-frozen .py modules for micropython to extract the static type information locates the to-be-frozen files in modules folders - ‘ports/<port>/modules/.py’ - ‘ports/<port>/boards/<board>/modules/.py’

Parameters:
  • stub_folder (str) –

  • mpy_folder (str) –

  • lib_folder (str) –

  • version (str) –