assets_guardian.core.reporting.excel.writer๏
Classes
|
Wrapper around an openpyxl sheet to simplify writing and tracking. |
|
Implementation of the IWriter port for Excel. |
- class assets_guardian.core.reporting.excel.writer.ExcelWorksheet(sheet: Any)[source]๏
Bases:
objectWrapper around an openpyxl sheet to simplify writing and tracking.
- append_row(values: list[Any], is_header: bool = False) None[source]๏
Appends a styled row as a WriteOnlyCell.
- set_column_widths(widths: list[int] | list[float]) None[source]๏
Sets the column widths by index (1-based).
- property title: str๏
Name of the sheet.
- class assets_guardian.core.reporting.excel.writer.ExcelWriter(sheet_builders: list[ISheetBuilder] | None = None)[source]๏
Bases:
objectImplementation of the IWriter port for Excel.
Initializes the writer with a list of sheet builders.