A process mining tool written in Python3.
It generates a Petri net using the Alpha Algorithm from event logs.
Python3
pip
graphviz-2.38
(Only this version has been tested, other versions may also work).
On Ubuntu, simply type sudo apt install graphviz
, and it will work!
On Windows, you may need this link Graphviz 2.38 Stable Release. Also, you need to add graphviz to your SYSTEM PATH. Just add the /bin/ folder is enough.
Install pyalpha
:
sudo pip3 install pyalpha
Install pyalpha
for development:
python3 setup.py develop
pyalpha name-of-your-file-which-contains-event-logs.txt # e.g. tests/test0.txt
By default, it generates a dot file, a png file shows the Petri Net and a txt file describing the footprint.
e.g. If you want to run unit tests of alpha_test.py
, just type the command below:
python3 -m unittest tests.alpha_test
Please take a look at .txt
files in folder tests/
. Just follow the same style.