Added an event parser for Python