Skip to content

fontlab_instamix.markers · declarations 001

Back to fontlab_instamix.markers

VERSION_VARS module-attribute

VERSION_VARS

applies

applies(spec: str, extra: str = '') -> bool

Return whether requirement spec applies to FontLab's Python.

environment

environment(extra: str = '') -> dict[str, str]

Return the marker variables for FontLab's Python on this machine.

evaluate

evaluate(marker: str, extra: str = '') -> bool

Return whether marker holds for FontLab's Python; an empty marker holds.

split

split(spec: str) -> tuple[str, str]

Split a requirement into (requirement, marker); URL requirements need ' ;'.