pm4py.objects.log.exporter.xes package

Submodules

pm4py.objects.log.exporter.xes.exporter module

class pm4py.objects.log.exporter.xes.exporter.Variants(value)[source]

Bases: enum.Enum

An enumeration.

ETREE = <module 'pm4py.objects.log.exporter.xes.variants.etree_xes_exp' from 'C:\\Users\\berti\\FRAUNHOFER\\pm4py-core\\pm4py\\objects\\log\\exporter\\xes\\variants\\etree_xes_exp.py'>
LINE_BY_LINE = <module 'pm4py.objects.log.exporter.xes.variants.line_by_line' from 'C:\\Users\\berti\\FRAUNHOFER\\pm4py-core\\pm4py\\objects\\log\\exporter\\xes\\variants\\line_by_line.py'>
pm4py.objects.log.exporter.xes.exporter.apply(log, output_file_path, variant=<Variants.LINE_BY_LINE: <module 'pm4py.objects.log.exporter.xes.variants.line_by_line' from 'C:\\Users\\berti\\FRAUNHOFER\\pm4py-core\\pm4py\\objects\\log\\exporter\\xes\\variants\\line_by_line.py'>>, parameters=None)[source]

Method to export a XES from a log

Parameters
  • log – Trace log

  • output_file_path – Output file path

  • variant – Selected variant of the algorithm

  • parameters

    Parameters of the algorithm:

    Parameters.COMPRESS -> Indicates that the XES file must be compressed

pm4py.objects.log.exporter.xes.exporter.serialize(log, variant=<Variants.LINE_BY_LINE: <module 'pm4py.objects.log.exporter.xes.variants.line_by_line' from 'C:\\Users\\berti\\FRAUNHOFER\\pm4py-core\\pm4py\\objects\\log\\exporter\\xes\\variants\\line_by_line.py'>>, parameters=None)[source]

Serialize a log into a binary string containing the XES of the log

Parameters
  • log – Trace log

  • variant – Selected variant of the algorithm

  • parameters – Parameters of the algorithm

Returns

String describing the XES

Return type

string

Module contents