CodeGenerator.generate_modules()
Generate a standalone package with explicit input-leaf computes.
Usage
CodeGenerator.generate_modules(
*, series_bindings, bindings_workbook, blank_ranges=None
)Outputs come from the bindings catalog, not from a cell-address list.
Parameters
series_bindings: WorkbookSeriesBindings-
Catalog of input, constant, internal, and output series.
bindings_workbook: Path | str-
Workbook used to expand binding ranges.
blank_ranges: Sequence[str] | None = None- Sheet-qualified rectangles omitted from the graph that resolve as empty rather than unbound catalog cells.
Returns
dict[str, str]- Module filenames mapped to standalone Python source.