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
- 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_key_value_data(keys, data, benchmark_ids)[source]¶
Add a list of additional rows to current result data
- property benchmark_ids¶
Return benchmark ids
- property data¶
Return table data
- property data_dict¶
Return unordered dictionary representation of data
- property keys¶
Return keys
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
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
- class TableData(name_or_other, style, separator, transpose)[source]¶
Bases:
KeyValuesData
Table data
- 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