A parser for Apama epl events. Apama is a complex event processor that uses a domain specific language for working with the event engine. Testing is done using some apama specific extensions to pysys.
This project provides a parser for apama events, with the intention to be used with the testing framework.
Pass an event as a string to the parse method in eventparser.py. The result is an ApamaEvent object. The ApamaEvent definition can be found in apamaevent.py
from apamaeventparser.eventparser import parse
event = parse('com.apama.Event("Field", 1.234, 7, false, ["a","b","c"], {"key": "value"})')
An event can be created from the ApamaEvent object using the unparse method.
See requirements.txt