stubber.publish.publish

prepare a set of stub files for publishing to PyPi

!!Note: anything excluded in .gitignore is not packaged by poetry

Module Contents

Functions

build_multiple(→ List[Dict[str, Any]])

Build a bunch of stub packages

publish_multiple(→ List[Dict[str, Any]])

Publish a bunch of stub packages

build_worklist(family, versions, ports, boards)

Build a worklist of packages to build or publish, and filter to only the requested ports and boards

stubber.publish.publish.build_multiple(family: str = 'micropython', versions: List[str] = [V_PREVIEW], ports: List[str] = ['all'], boards: List[str] = [GENERIC_U], production: bool = False, clean: bool = False, force: bool = False) List[Dict[str, Any]]

Build a bunch of stub packages

Parameters:
  • family (str) –

  • versions (List[str]) –

  • ports (List[str]) –

  • boards (List[str]) –

  • production (bool) –

  • clean (bool) –

  • force (bool) –

Return type:

List[Dict[str, Any]]

stubber.publish.publish.publish_multiple(family: str = 'micropython', versions: List[str] = ['v1.19.1'], ports: List[str] = ['all'], boards: List[str] = [GENERIC_U], production: bool = False, clean: bool = False, build: bool = False, force: bool = False, dry_run: bool = False) List[Dict[str, Any]]

Publish a bunch of stub packages

Parameters:
  • family (str) –

  • versions (List[str]) –

  • ports (List[str]) –

  • boards (List[str]) –

  • production (bool) –

  • clean (bool) –

  • build (bool) –

  • force (bool) –

  • dry_run (bool) –

Return type:

List[Dict[str, Any]]

stubber.publish.publish.build_worklist(family: str, versions: List[str] | str, ports: List[str] | str, boards: List[str] | str)

Build a worklist of packages to build or publish, and filter to only the requested ports and boards

Parameters:
  • family (str) –

  • versions (Union[List[str], str]) –

  • ports (Union[List[str], str]) –

  • boards (Union[List[str], str]) –