Skip to content
Projects

scope_profiler.catalogue

Catalogue page linking several generated HTML reports.

Functions

NameDescription
create_catalogueWrite an index page linking several HTML reports.

create_cataloguefunction#

def create_catalogue(reports: Sequence[str | Path], filepath: str | Path, *, title: str = 'Profiling reports') -> Path

Write an index page linking several HTML reports.

Each entry shows the report’s title and file name and links to it by a path relative to the catalogue, so the reports and the catalogue can be moved together.