跳转至

Report Reference

HTML, Excel, and research report export utilities.

Back to API Reference

Strategy report facade; rendering dependencies load only when requested.

ReportContext dataclass

Context passed to custom report sections.

ReportSection

Protocol for user-defined report sections.

html

html(ctx: ReportContext) -> str | None

Return HTML to append to an HTML report.

excel

excel(ctx: ReportContext) -> Mapping[str, Any] | pd.DataFrame | pd.Series | None

Return sheets to append to an Excel report.