pm4py.read.read_ocel_sqlite#

pm4py.read.read_ocel_sqlite(file_path: str, encoding: str = 'utf-8') OCEL[source]#

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

Parameters:
  • file_path (str) – Path to the SQLite database file (.sqlite).

  • encoding (str) – Encoding to be used (default: utf-8).

Return type:

OCEL

import pm4py

ocel = pm4py.read_ocel_sqlite("<path_to_ocel_file.sqlite>")