Nemea framework is the heart of the Nemea system. It contains implementation of common communication interfaces, UniRec data format and useful datastructures and algorithms.
UnirecTemplate.getFieldsDict() has optional argument to create dict with field ID as keys
UnirecTemplate.setFromDict() fills UniRec message using a dictionary with matching keys
TrapCtx.sendBulk() sends a sequence of dictionaries (that are compatible with setFromDict()
new helpers.py classes were introduced: pytrap.helpers.PytrapHelperLoad(), pytrap.helpers.PytrapHelperStore(); read_nemea() function was moved into helpers.py
doc was improved and new features were added; there is a new doc "module" for helpers
Added new features:
UnirecTemplate.getFieldsDict()
has optional argument to create dict with field ID as keysUnirecTemplate.setFromDict()
fills UniRec message using a dictionary with matching keysTrapCtx.sendBulk()
sends a sequence of dictionaries (that are compatible withsetFromDict()
pytrap.helpers.PytrapHelperLoad()
,pytrap.helpers.PytrapHelperStore()
;read_nemea()
function was moved into helpers.py