jube2.result_types package

jube2.result_types package

Submodules

jube2.result_types.keyvaluesresult module

KeyValuesResulttype definition

class jube2.result_types.keyvaluesresult.KeyValuesResult(name, sort_names=None, res_filter=None)[source]

Bases: Result

A generic key value result type

class DataKey(name, title=None, format_string=None, unit=None)[source]

Bases: object

Class represents one data key

etree_repr()[source]

Return etree object representation

property format

Key data format

property name

Key name

property resulting_name

Column name based on name, title and unit

property title

Key title

property unit

Key data unit

class KeyValuesData(other_or_name)[source]

Bases: ResultData

Key value data

add_id_information(reverse=False)[source]

Add additional id key to table data.

add_key_value_data(keys, data, benchmark_ids)[source]

Add a list of additional rows to current result data

add_result_data(result_data)[source]

Add additional result data

property benchmark_ids

Return benchmark ids

create_result(show=True, filename=None, **kwargs)[source]

Create result representation

property data

Return table data

property data_dict

Return unordered dictionary representation of data

property keys

Return keys

add_key(name, format_string=None, title=None, unit=None)[source]

Add an additional key to the dataset

create_result_data(select=None, exclude=None)[source]

Create result data

jube2.result_types.syslog module

Syslogtype definition

class jube2.result_types.syslog.SysloggedResult(name, syslog_address=None, syslog_host=None, syslog_port=None, syslog_fmt_string=None, sort_names=None, res_filter=None)[source]

Bases: KeyValuesResult

A result that gets sent to syslog.

class SyslogData(name_or_other, syslog_address=None, syslog_host=None, syslog_port=None, syslog_fmt_string=None)[source]

Bases: KeyValuesData

Syslog data

create_result(show=True, filename=None, **kwargs)[source]

Create result output

create_result_data(style=None, select=None, exclude=None)[source]

Create result data

etree_repr()[source]

Return etree object representation

jube2.result_types.table module

Tabletype definition

class jube2.result_types.table.Table(name, style='csv', separator=',', sort_names=None, transpose=False, res_filter=None)[source]

Bases: KeyValuesResult

A ascii based result table

class Column(name, title=None, colw=None, format_string=None, unit=None)[source]

Bases: DataKey

Class represents one table column

property colw

Column width

etree_repr()[source]

Return etree object representation

class TableData(name_or_other, style, separator, transpose)[source]

Bases: KeyValuesData

Table data

create_result(show=True, filename=None, **kwargs)[source]

Create result output

property separator

Get separator

property style

Get style

add_column(name, colw=None, format_string=None, title=None)[source]

Add an additional column to the dataset

add_key(name, format_string=None, title=None, unit=None)[source]

Add an additional key to the dataset

create_result_data(style, select=None, exclude=None)[source]

Create result data

etree_repr()[source]

Return etree object representation