pelfy.elf_list#

class pelfy.elf_list(data)#

Bases: Generic[_T]

A generic class for representing a list of ELF data items

Parameters:

data (Iterable[TypeVar(_T)]) – Iterable of ELF data items

to_dict_list()#

Exporting the ELF item data table to a list of dicts. It can be used with pandas: df = pandas.DataFrame(elements.to_dict_list())

Return type:

list[dict[str, str | int]]

Returns:

Table data

to_html()#

Exporting the ELF item data table to HTML.

Return type:

str

Returns:

HTML table

to_markdown()#

Exporting the ELF item data table to markdown.

Return type:

str

Returns:

Markdown table