pm4py.read#

The pm4py.read module contains all funcationality related to reading files/objects from disk.

Functions

read_bpmn(file_path)

Reads a BPMN model from a .bpmn file

read_dfg(file_path)

Reads a DFG object from a .dfg file.

read_ocel(file_path[, objects_path])

Reads an object-centric event log from a file (see: http://www.ocel-standard.org/).

read_ocel_csv(file_path[, objects_path])

Reads an object-centric event log from a CSV file (see: http://www.ocel-standard.org/).

read_ocel_json(file_path)

Reads an object-centric event log from a JSON-OCEL file (see: http://www.ocel-standard.org/).

read_ocel_sqlite(file_path)

Reads an object-centric event log from a SQLite database (see: http://www.ocel-standard.org/).

read_ocel_xml(file_path)

Reads an object-centric event log from a XML-OCEL file (see: http://www.ocel-standard.org/).

read_pnml(file_path[, auto_guess_final_marking])

Reads a Petri net object from a .pnml file.

read_ptml(file_path)

Reads a process tree object from a .ptml file

read_xes(file_path[, variant, ...])

Reads an event log stored in XES format (see xes-standard) Returns a table (pandas.DataFrame) view of the event log.