pm4py.streaming.importer.xes.variants package

Submodules

pm4py.streaming.importer.xes.variants.xes_event_stream module

class pm4py.streaming.importer.xes.variants.xes_event_stream.Parameters(value)[source]

Bases: enum.Enum

An enumeration.

ACCEPTANCE_CONDITION = 'acceptance_condition'
class pm4py.streaming.importer.xes.variants.xes_event_stream.StreamingEventXesReader(path, parameters=None)[source]

Bases: object

read_event()[source]

Gets the next event from the iterator

Returns

Event

Return type

event

reset()[source]

Resets the iterator

to_event_stream(event_stream)[source]

Sends the content of a XES log to an event stream

Parameters

event_stream – Event stream

pm4py.streaming.importer.xes.variants.xes_event_stream.apply(path, parameters=None)[source]

Creates a StreamingEventXesReader object

Parameters
  • path – Path

  • parameters – Parameters of the algorithm

Returns

Stream reader object

Return type

stream_read_obj

pm4py.streaming.importer.xes.variants.xes_event_stream.parse_attribute(elem, store, key, value, tree)[source]

pm4py.streaming.importer.xes.variants.xes_trace_stream module

class pm4py.streaming.importer.xes.variants.xes_trace_stream.Parameters(value)[source]

Bases: enum.Enum

An enumeration.

ACCEPTANCE_CONDITION = 'acceptance_condition'
class pm4py.streaming.importer.xes.variants.xes_trace_stream.StreamingTraceXesReader(path, parameters=None)[source]

Bases: object

read_trace()[source]

Gets the next trace from the iterator

Returns

Trace

Return type

trace

reset()[source]

Resets the iterator

to_trace_stream(trace_stream)[source]

Sends the content of a XES log to a trace stream

Parameters

trace_stream – Trace stream

pm4py.streaming.importer.xes.variants.xes_trace_stream.apply(path, parameters=None)[source]

Creates a StreamingTraceXesReader object

Parameters
  • path – Path

  • parameters – Parameters of the algorithm

Returns

Stream reader object

Return type

stream_read_obj

pm4py.streaming.importer.xes.variants.xes_trace_stream.parse_attribute(elem, store, key, value, tree)[source]

Module contents