Skip to main content

Process Mining for Python (PM4Py)

Project description

Welcome to Process Mining for Python!

PM4Py is a python library that supports (state-of-the-art) process mining algorithms in python. It is completely open source and intended to be used in both academia and industry projects.

The official website of the library is

You can always check out (changes to) the source code at the github repo.

A very simple example, to whet your appetite:

from pm4py.algo.discovery.alpha import algorithm as alpha_miner from pm4py.objects.log.importer.xes import importer as xes_importer from pm4py.visualization.petrinet import visualizer as petri_visualizer

log = xes_importer.apply(‘<path-to-xes-log-file>’) net, initial_marking, final_marking = alpha_miner.apply(log) gviz = petri_visualizer.apply(net, initial_marking, final_marking) petri_visualizer.view(gviz)

Project details

Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pm4py, version 1.5.1
Filename, size File type Python version Upload date Hashes
Filename, size pm4py-1.5.1-py3-none-any.whl (694.9 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size pm4py-1.5.1.tar.gz (353.7 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page