pm4py.read#

The pm4py.read module contains all functionality related to reading files and objects from disk.

Functions

read_bpmn(file_path[, encoding])

Reads a BPMN model from a .bpmn file.

read_dfg(file_path[, encoding])

Reads a Directly-Follows Graph (DFG) from a .dfg file.

read_ocel(file_path[, objects_path, encoding])

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

read_ocel2(file_path[, variant_str, encoding])

Reads an OCEL 2.0 event log.

read_ocel2_json(file_path[, variant_str, ...])

Reads an OCEL 2.0 event log from a JSON-OCEL2 file.

read_ocel2_sqlite(file_path[, variant_str, ...])

Reads an OCEL 2.0 event log from a SQLite database.

read_ocel2_xml(file_path[, variant_str, ...])

Reads an OCEL 2.0 event log from an XML file.

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[, encoding])

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

read_ocel_sqlite(file_path[, encoding])

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

read_ocel_xml(file_path[, encoding])

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

read_pnml(file_path[, ...])

Reads a Petri net object from a .pnml file.

read_ptml(file_path[, encoding])

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).