epicsarchiver.write.table_format

Terminal table formatter for archived events.

Classes

FormatTable

Renders a flat list of ArchiveEvents as a Rich table to the terminal.

Module Contents

class epicsarchiver.write.table_format.FormatTable[source]

Renders a flat list of ArchiveEvents as a Rich table to the terminal.

events: list[epicsarchiver.retrieval.archive_event.ArchiveEvent][source]
pvs: tuple[str, Ellipsis][source]
start: datetime.datetime[source]
end: datetime.datetime[source]
processor: epicsarchiver.retrieval.client.processor.Processor | None[source]
meta: dict[int, epicsarchiver.retrieval.archive_event.ArchiveEventsMeta] | None[source]
_meta_field_values() dict[int, dict[str, str]][source]
static _table_caption(field_values: dict[int, dict[str, str]]) str | None[source]
_table_title() str[source]
_create_table(title: str, caption: str | None) rich.table.Table[source]
render() rich.table.Table[source]

Render events as a Rich Table.

Returns:

Rich Table ready to print.

Return type:

Table

write() None[source]

Print the rendered table to the terminal.