stubber.publish.enums

Enumerations for the stubber package.

Module Contents

Classes

StubSource

str(object='') -> str

Attributes

ALL_TYPES

COMBO_STUBS

DOC_STUBS

CORE_STUBS

FIRMWARE_STUBS

class stubber.publish.enums.StubSource

Bases: str, enum.Enum

str(object=’’) -> str str(bytes_or_buffer[, encoding[, errors]]) -> str

Create a new string object from the given object. If encoding or errors is specified, then the object must expose a data buffer that will be decoded using the given encoding and error handler. Otherwise, returns the result of object.__str__() (if defined) or repr(object). encoding defaults to sys.getdefaultencoding(). errors defaults to ‘strict’.

FIRMWARE = 'Firmware stubs'

stubs built by combining the firmware, frozen and core stubs

FROZEN = 'Frozen stubs'

stubs of python modules that are frozen as part of the firmware image

CORE = 'Core stubs'

stubs that allow (some) MicroPython code to be run by CPython

DOC = 'Doc stubs'

stubs built by parsing the micropython RST documentation files

MERGED = 'Merged stubs'

stubs built by merging the information from doc-stubs and firmware-stubs

__str__()

Return str(self).

__repr__()

Return repr(self).

stubber.publish.enums.ALL_TYPES = ['combo', 'doc', 'core', 'firmware']
stubber.publish.enums.COMBO_STUBS
stubber.publish.enums.DOC_STUBS
stubber.publish.enums.CORE_STUBS
stubber.publish.enums.FIRMWARE_STUBS