flat_file_renderers.html module

class flat_file_renderers.html.HtmlRenderer(context: dict[str, any])[source]

Bases: BaseRenderer

Renders data as HTML (an HTML table).

render(context: dict[str, any], *args, **kwargs) → Path[source]

Renders the data as HTML and writes it into a temporary zip file on disk.

Returns:

Path to the compressed (zip) file containing the .html file(s).

Return type:

Path