Skip to content

Python API

The top-level public Python surface is exported by weaver.__all__. Import those names from weaver. The separately supported semantic extension API exposes Annotation and native TMDL editing; other importable internal modules are not thereby public.

Use operations to run lifecycle work and Session and workspace helpers to share a workspace context across calls. The remaining pages own the public types:

The CLI reference covers equivalent command-line entry points. Build, Load and Test explains the lifecycle boundaries rather than repeating them here.

Public exports

  • weaver.__version__ — value

Signatures on these pages are generated from the public export authority and source declarations. Class entries identify the exported type without synthesising a constructor signature from dataclass fields or runtime behaviour.