dcase_util.ui.FancyStringifier

class dcase_util.ui.FancyStringifier[source]

Fancy UI

__init__()[source]

Methods

__init__()

class_name(class_name[, indent])

Class name

data([field, value, unit, indent])

Data line

foot([text, time, item_count, indent])

Footer

formatted_value(value[, data_type])

Format value into string.

line([field, indent, data])

Line

row(*args, **kwargs)

Table row

row_average([label])

Table row showing internally accumulated average of previous row values per column

row_reset()

Reset table row formatting

row_sep([separator_char])

Table separator row

row_sum([label])

Table row showing internally accumulated sum of previous row values per column

row_value_cache_reset()

section_header(text[, indent])

Section header

sep([length, indent])

Horizontal separator

sub_header([text, indent])

Sub header

table([cell_data, column_headers, ...])

Data table

title(text)

Title

Attributes

logger