Skip to content

DanskeBank/apamaeventparser

Repository files navigation

Apama event parser

Build Status Coverage Status PyPI version

Description

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.

How to use

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.

Dependencies

See requirements.txt

About

A parser for Apama epl events

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages