New Python package: OpyenXes as a Python implementation of the XES standard

less than 1 minute read

Implemented by Hernan Valdivieso, OpyenXes is a Python implementation of the XES standard. As hinted by its name, OpyenXes is based on the Java implementation OpenXes so that users of the existing Java library can easily migrate to this Python counterpart.

GitHub pagePermalink

https://github.com/opyenxes/OpyenXes

DocumentationPermalink

https://opyenxes.readthedocs.io/en/latest/

How to install?Permalink

pip install opyenxes

How to import an event log?Permalink

from opyenxes.data_in.XUniversalParser import XUniversalParser

path = 'xes_file/general_example.xes'
with open(path) as log_file:
    # Parse the log
    log = XUniversalParser().parse(log_file)[0]