Skip to content

AutomatedProcessImprovement/pm4py-wrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

6026d20 · Apr 21, 2023

History

22 Commits
May 20, 2022
Dec 28, 2022
Feb 18, 2022
Feb 18, 2022
Mar 10, 2022
Feb 18, 2022
Mar 21, 2022
Mar 21, 2022
Mar 21, 2022
Apr 21, 2023
Apr 21, 2023

Repository files navigation

pm4py-wrapper

Build & Test

CLI wrapper for pm4py.

Installation

Install using pip:

pip install pm4py-wrapper

Known Issues for macOS with M1

[email protected]: umfpack.h is missing

$ brew info suite-sparse
$ export CPPFLAGS="-I/opt/homebrew/include/"
$ export LDFLAGS="-L/opt/homebrew/lib"
$ pip install cvxopt
  • Discussion is at scipy/scipy#13409
  • Solution: use a newer version starting from 1.7.0

Usage

Usage: pm4py_wrapper [OPTIONS] COMMAND [ARGS]...

Options:
  -i, --input_log PATH   Path to the input event log.  [required]
  -o, --output_dir PATH  Path to the output directory.
  --help                 Show this message and exit.

Commands:
  csv-to-xes
  xes-to-csv

Examples:

$ pm4py_wrapper -i tests/assets/input/Production.xes -o tests/assets/output xes-to-csv
$ pm4py_wrapper -i tests/assets/input/Production.csv -o tests/assets/output csv-to-xes

Links

  • A helpful answer on StackOverflow on how to do CI/CD with Poetry.