pm4py.write.write_ocel_sqlite#

pm4py.write.write_ocel_sqlite(ocel: OCEL, file_path: str, encoding: str = 'utf-8') None[source]#

Writes an OCEL object to disk to a SQLite database (exported as .sqlite file).

Parameters:
  • ocel (OCEL) – OCEL object.

  • file_path (str) – Target file path to the SQLite database.

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

import pm4py

pm4py.write_ocel_sqlite(ocel, '<path_to_export_to>')