Skip to content

Machine templates

Portable, typed hardware functions that tools can evaluate headlessly.

class in machinewright.templates

class ComponentCatalog(Contract)

Generic catalog input; qualification status remains consumer policy.

class in machinewright.templates

class EvidenceRequirement(Contract)

No description yet.

function in machinewright.templates

def get_machine_template(
template_id: str,
version: str
) -> MachineTemplate

No description yet.

class in machinewright.templates

class HardwareResult:
__init__(
design: ResolvedDesign,
observables: tuple[Observable, ...] = (),
diagnostics: tuple[Diagnostic, ...] = (),
control_configuration: Mapping[str, Any] | None = None,
evidence_requirements: tuple[EvidenceRequirement, ...] = ()
)

Runtime result returned by a portable hardware function.

function in machinewright.templates

def machine_template(
id: str,
version: str,
cacheable: bool = False
) -> Callable[[_T], _T]

Declare an ordinary callable as a versioned portable machine template.

function in machinewright.templates

def machine_templates() -> tuple[MachineTemplate, ...]

No description yet.

class in machinewright.templates

class ManufacturingCapabilities(Contract)

No description yet.

class in machinewright.templates

class Observable(Contract)

No description yet.

class in machinewright.templates

class ObservableKind(StrEnum)

No description yet.

class in machinewright.templates

class ProcedureRequirement(Contract)

No description yet.