Skip to main content

springheel.genstatline module

Generate stat line.

springheel.genstatline.genStatline(strip: springheel.classes.Strip, match_chapters: bool, match_chapters_list: list, translated_strings: dict, tline: str, meta_trans: str, chapmode: bool = False)str

Generate a metadata statistics line for a comic.

Parameters
stripspringheel.classes.Strip

The strip to generate a statline for.

matchspringheel.classes.Comic

The Comic to which the strip belongs.

translated_stringsdict

The translation file contents for this site.

tlinestr

A line of tags applied to the current strip.

meta_transstr

Links to the metadata and transcript files for the comic.

chapmodebool, default False

Whether to create the statline in chapter mode or not. Defaults to false.

Returns
str

The completed statline.