Freedom251 › Process Mining Software
PM4Py

What PM4Py is
PM4Py is a Python library for developers, data scientists, and researchers who want to run process mining algorithms from code. Given event data, it can derive directly-follows graphs, Petri nets, BPMN models, and process trees. It also compares observed behavior with process models using replay and alignment-based measures. Object-centric mining supports logs where events are related to multiple object types, such as orders, items, and deliveries. PM4Py imports and exports event logs, with support for XES and OCEL 1.0 and 2.0. It can extract machine-learning features for use with pandas and scikit-learn. The free Community Version is under AGPL v3; work using PM4Py that is distributed or made available over a network must be published under AGPL. A Commercial Version permits closed-source use, includes regular releases, early feature access, and dedicated professional support, and is priced by quote. A specific evaluation license can be requested for commercial evaluation without open-sourcing code. The library is available for Windows, Linux, and macOS, and the maker recommends pip installation. Graphviz must be installed and configured for visualization features.
Who it suits
PM4Py suits developers, data scientists, and researchers working with event logs and Python. Those who need closed-source commercial use can request details about its commercial license.
What it does well
- Discovers several process models from event data.
- Supports replay and alignment-based conformance measures.
- Handles object-centric logs and multiple event-log formats.
- Feature extraction works with pandas and scikit-learn.
- Commercial version includes dedicated professional support.
What to know first
- Graphviz must be installed and configured for visualization.
- AGPL-covered work must be published under AGPL when distributed or network-accessible.
- Commercial version pricing is available by quote.
- Community version lists no support.
Limits
The free Community Version is covered by AGPL v3: covered work using PM4Py must be published under AGPL when distributed or made available over a network. Visualization features require Graphviz to be installed and configured.
Plans
| Plan | Billed and limits | Price |
|---|---|---|
| Community Version | Free of charge · AGPL v3 · teaching, research, and open-source projects · covered work must be published under AGPL | Free |
| Commercial Version | Request a Quote ([email protected]) · Closed-source commercial use · regular releases · early feature access · dedicated professional support | On request |
As processintelligence.solutions lists them, read 7 Oct 2026. The maker's own page has the final word.
Getting started
- Visit the PM4Py website.
- Install PM4Py with pip, as recommended by the maker.
- Use the Windows or Linux installation instructions where applicable.
- Install and configure Graphviz to use visualization features.
- Choose the Community Version for AGPL use, or request a quote for commercial use.
- Request the specific evaluation license for commercial evaluation without open-sourcing code.
Overview
PM4Py brings process mining into Python code, making it a natural fit for developers, data scientists, and researchers who want to work directly with event data. Its breadth—from model discovery to object-centric analysis—is a strong draw, but the AGPL publication obligation can rule it out for proprietary deployments.
Key features
Discover and compare process models
PM4Py can derive directly-follows graphs, Petri nets, BPMN models, and process trees from event data. That choice of representations suits technical teams investigating processes from different angles. Replay and alignment-based measures compare observed behavior with process models, while root-cause analysis adds a way to investigate deviations. Data refresh is manual, so teams seeking automated recurring updates will need to manage that workflow themselves.
Work with event logs and multiple object types
The library imports and exports event logs, supports XES, and handles OCEL 1.0 and OCEL 2.0. Object-centric mining can analyze events associated with several object types—for example, orders, items, and deliveries—rather than forcing every analysis into a single-object view. That is a useful distinction for researchers and developers working with interconnected event data.
Connect mining to Python data science
PM4Py supports machine-learning feature extraction for use with pandas and scikit-learn, which makes it relevant when process analysis is part of a broader Python data-science workflow. Installation is recommended through pip, with Windows and Linux instructions. Visualization requires Graphviz to be installed and configured, an extra setup step that matters for users who need visual outputs.
Licensing and support
The community version is covered by AGPL v3: covered work using PM4Py must be published under AGPL when distributed or made available over a network. That is a consequential constraint for commercial teams building closed-source software. A commercial license permits closed-source use, and commercial evaluation without open-sourcing code is available by requesting a specific evaluation license. The community version lists no support; the commercial version includes dedicated professional support. Process Intelligence Solutions GmbH has been responsible for development, maintenance, distribution, and licensing since 2024.
Pricing
Community Version
free, billed free of charge. It is intended for teaching, research, and open-source projects under AGPL v3, with covered work published under AGPL. This is the straightforward choice for qualifying users who can meet the license terms; it is not a free route to closed-source commercial deployment.
Commercial Version
Custom pricing, by quote. It permits closed-source commercial use and includes regular releases, early feature access, and dedicated professional support. Commercial teams that need to keep their code proprietary should consider this option; those who only need to evaluate PM4Py commercially can request a specific evaluation license.
Platforms
PM4Py is available as an API for Linux, macOS, and Windows. It is self-hosted, so teams should expect to run it in their own environment rather than use a hosted application. Windows and Linux installation instructions are provided, and Graphviz configuration is required for visualization.
Who it's for
PM4Py suits developers, data scientists, and researchers who are comfortable building analyses in Python and want process discovery, conformance checking, or object-centric mining in their own code. It is less suitable for teams looking for a ready-made graphical application, automated data refresh, or proprietary use without a commercial license.
Pros and cons
- Pros: Multiple discovery outputs, including Petri nets, BPMN models, and process trees, give technical users options for representing event data.
- Pros: XES and both OCEL 1.0 and 2.0 support, alongside object-centric mining, suit work involving events tied to several object types.
- Pros: Feature extraction for pandas and scikit-learn connects process analysis with common Python machine-learning workflows.
- Cons: AGPL publication requirements can conflict with distributed or network-accessible closed-source products.
- Cons: Visualization depends on separately installing and configuring Graphviz.
- Cons: Manual data refresh means recurring analysis needs an update process managed by the team.
- Cons: The community version lists no support; professional support comes with the commercial version.
Alternatives
Compare process mining software if you want to survey options beyond a Python library. Mindzie Process Mining is worth considering if a desktop product with a free edition capped at 1,000 cases better suits your workflow. Celonis Process Mining Platform is another option, with a free plan and API, web, and Windows platforms.
ProcessMind may suit users seeking a web-based option with a free plan for one member, unlimited models, and 20 AI credits per month; its free plan does not include additional seats or viewer seats. ARIS is a paid alternative available through API, self-hosted, web, and Windows platforms. Cortado and RuM are free alternatives for Linux, macOS, and Windows.
Apromore Process Mining is worth considering if you need a paid option with a free plan and free trial, as well as API, self-hosted, and web platforms. Pega CRM is a paid web-based alternative with a free trial.
Verdict
Choose PM4Py if you want a capable process-mining toolkit inside Python and can work within its licensing terms. Its discovery, conformance, and object-centric capabilities make it especially useful for technical analysis of event data. Look elsewhere if you need a graphical, automatically refreshed workflow or must keep a distributed or network-accessible product closed-source without buying a commercial license.
Verdict
PM4Py offers process discovery, conformance checking, and object-centric analysis through a Python library. Check the AGPL publication requirement before using the free version in distributed or network-accessible work; closed-source use requires the commercial license.
Questions
Is PM4Py free?
The Community Version is free of charge under AGPL v3.
Can PM4Py be used in closed-source commercial software?
The Commercial Version permits closed-source commercial use. Its price is available by quote.
Which platforms does PM4Py support?
The listed platforms are Linux, macOS, and Windows; it is also available as an API.
What event log formats does it support?
PM4Py imports and exports event logs and supports XES, OCEL 1.0, and OCEL 2.0.
Who maintains PM4Py?
Process Intelligence Solutions GmbH has been responsible for PM4Py's development, maintenance, distribution, and licensing since 2024.
Is support included?
Dedicated professional support is included with the Commercial Version. The Community Version lists no support.
Facts from PM4Py's own pages
- Audience
- The maker describes PM4Py as built for developers, data scientists, and researchers. · processintelligence.solutions, 7 Oct 2026
- Conformance
- It supports comparing observed behavior with process models, including replay and alignment-based measures. · processintelligence.solutions, 7 Oct 2026
- Discovery
- It can discover directly-follows graphs, Petri nets, BPMN models, and process trees from event data. · processintelligence.solutions, 7 Oct 2026
- Evaluation
- The maker says commercial evaluation without open-sourcing code is available by requesting a specific evaluation license. · processintelligence.solutions, 7 Oct 2026
- Event data
- The feature list states that PM4Py imports and exports event logs, supports XES, and supports OCEL 1.0 and OCEL 2.0. · processintelligence.solutions, 7 Oct 2026
- Installation
- The maker provides Windows and Linux installation instructions and recommends installing with pip. · processintelligence.solutions, 7 Oct 2026
- License limit
- The maker says AGPL-covered software using PM4Py must be published under AGPL when distributed or made available over a network; a commercial license permits closed-source use. · processintelligence.solutions, 7 Oct 2026
- Maintenance
- The maker says Process Intelligence Solutions GmbH has been responsible for PM4Py’s development, maintenance, distribution, and licensing since 2024. · processintelligence.solutions, 7 Oct 2026
- Object-centric mining
- It can analyze event logs where events relate to multiple object types, such as orders, items, and deliveries. · processintelligence.solutions, 7 Oct 2026
- Product
- PM4Py is a Python library that lets developers call process mining algorithms from their own code. · processintelligence.solutions, 7 Oct 2026
- Python ecosystem
- The maker shows machine-learning feature extraction for use with pandas and scikit-learn. · processintelligence.solutions, 7 Oct 2026
- Support
- The commercial version includes dedicated professional support; the community version lists no support. · processintelligence.solutions, 7 Oct 2026
- Visualization requirement
- Graphviz must be installed and configured to use PM4Py’s visualization features. · processintelligence.solutions, 7 Oct 2026
Where PM4Py stands on Freedom251
- Process Mining Software#4 of 28
