State-of-the-art-process mining in Python

Designed to be used in both academia and industry, PM4Py is the leading open source process mining platform written in Python, implementing: .
A little sneak peak of PM4Py's simple application:
from pm4py.algo.discovery.alpha import algorithm as alpha_miner
from pm4py.objects.log.importer.xes import importer
from pm4py.visualization.petrinet import visualizer
log = importer.apply('<path-to-xes-log-file.xes>')
net, initial_marking, final_marking = alpha_miner.apply(log)
gviz = visualizer.apply(net, initial_marking, final_marking)
visualizer.view(gviz)
						

Process Mining Made Easy

Discovering a process model using less than 10 lines of code!
Extendable
PM4Py is available through Python pip and is easily integrated with several other applications.
Fully Documented
What's the use of a library without proper documentation? Read all about it on the Documentation page!
Happy to Help
We are happy to help you in case you have any questions, just drop us a message!

PM4Py featured on the "A Side of Data" Podcast

Our founder, Sebastiaan van Zelst, was interviewed by Anton Yeshchenko about PM4Py and novel developments in process mining. You can listen to it here, or, on SoundCloud.

Watch the PM4Py Introduction at PyData Eindhoven 2019

We gave an introduction talk on process mining and using PM4Py at PyData Eindhoven 2019. You can watch it here, or, on YouTube.

Get Started

What are you still waiting for? Install PM4Py now and start playing around!