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/). The
OCEL
object is returned by this method- Parameters:
file_path (
str
) – file path of the SQLite database (.sqlite)encoding (
str
) – the encoding to be used (default: utf-8)
- Return type:
OCEL
import pm4py ocel = pm4py.read_ocel_sqlite("<path_to_ocel_file.sqlite>")