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 factory as alpha_miner
from pm4py.objects.log.importer.xes import factory as importer
from pm4py.visualization.petrinet import factory as 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!

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.


Companies using PM4Py

Join thousands of process mining enthusiasts around the world using PM4Py!
logo
logo

Get Started

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