Welcome to PM4Py’s Documentation!#

PM4Py is a Python library implementing a variety of process mining algorithms.

import pm4py

if __name__ == "__main__":
    log = pm4py.read_xes('<path-to-xes-log-file.xes>')
    process_model = pm4py.discover_bpmn_inductive(log)
    pm4py.view_bpmn(process_model)

In this documentation, you can find all relevant information to set up PM4Py and start your process mining journey. Please consult the contents listed below to navigate the documentation.

Happy #ProcessMining!

Getting Started

New to PM4Py? Read through our installation guide or get an introduction to process mining using PM4Py.

API Reference

Explore the PM4Py API by going through all available methods.

Release Notes

Want to know what’s new? Check out the release notes for the latest updates and bug fixes.

GitHub Repository

Want to contribute? Visit our Github Page!