Metadata-Version: 2.0
Name: apamaeventparser
Version: 0.9.0
Summary: A parser for apama events
Home-page: https://github.com/DanskeBank/apamaeventparser
Author: Adam Britt
Author-email: adb@danskebank.dk
License: MIT
Keywords: epl parsing events
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Libraries
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.5
Requires-Dist: funcparserlib

# Apama event parser
[![Build Status](https://travis-ci.org/DanskeBank/apamaeventparser.svg?branch=master)](https://travis-ci.org/DanskeBank/apamaeventparser)
[![Coverage Status](https://coveralls.io/repos/github/DanskeBank/apamaeventparser/badge.svg?branch=master)](https://coveralls.io/github/DanskeBank/apamaeventparser?branch=master)
## Description

A parser for Apama epl events. 
[Apama](http://www.softwareag.com/corporate/products/apama_webmethods/analytics/overview/default.asp) 
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](https://sourceforge.net/projects/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 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


