PM4PY Suite is a modern desktop UI for Process Mining with PM4PY, built with Flet.
It provides a comprehensive graphical interface for importing event logs, discovering process models, performing conformance checking, analyzing variants, and exporting results — all without writing code.
The application wraps many core PM4PY features into an easy-to-use UI designed for analysts, researchers, and students.
- Import XES, CSV, and Parquet event logs
- CSV column mapping for case, activity, and timestamp
- Log statistics and overview
- Alpha Miner (Classic / Plus)
- Inductive Miner (IM / IMf / IMd)
- Heuristics Miner
- Directly-Follows Graph (DFG) discovery
- Token-based Replay
- Alignments-based Conformance Checking
- Load external models (PNML, BPMN) or use discovered models
- Variant analysis (Top process variants)
- Event log statistics
- Performance analysis (waiting times)
- Social network analysis of resources
- Time range filtering
- Case size filtering
- Top-K variant filtering
- Simulate event logs from discovered Petri nets
- Export event logs:
- XES
- CSV
- Parquet
- Export process models:
- PNML
- BPMN
- Python
- Flet – Modern Python UI framework
- PM4PY – Process mining library
- Pandas – Data processing
- PyArrow – Parquet support
git clone https://github.com/yourusername/pm4py-suite.git
cd pm4py-suitepip install flet pm4py pandas pyarrowpython app.pyFlet will start the UI and open the application in your browser or desktop window.
| Format | Description |
|---|---|
| XES | Standard process mining event log format |
| CSV | Custom event logs with column mapping |
| Parquet | Efficient columnar data format |
| Column | Meaning |
|---|---|
case:concept:name |
Case identifier |
concept:name |
Activity name |
time:timestamp |
Event timestamp |
Optional:
| Column | Purpose |
|---|---|
org:resource |
Required for Social Network Analysis |
| Module | Description |
|---|---|
| Log Import | Load event logs |
| Alpha Miner | Classic discovery algorithm |
| Inductive Miner | Sound process discovery |
| Heuristics Miner | Frequency-based discovery |
| DFG Discovery | Directly-Follows Graph |
| Token Replay | Basic conformance checking |
| Alignments | Optimal conformance checking |
| Log Filtering | Filter traces and events |
| Variant Analysis | Top process variants |
| Statistics | Event log metrics |
| Social Network | Resource interaction analysis |
| Performance | Waiting time analysis |
| Simulation | Generate synthetic event logs |
| Export | Save logs and models |
- Import an event log
- Run Inductive Miner
- Inspect the Petri net
- Run Token Replay
- Analyze Variants
- Export the resulting BPMN or PNML model
- Python 3.9+
- PM4PY compatible environment
Tested with:
- Python 3.10
- PM4PY latest version
- Flet 0.82+
- Alignments may take several minutes on large logs
- Social network analysis requires
org:resource - Very large logs (>1M events) may require more memory
MIT License
-
PM4PY Team https://pm4py.fit.fraunhofer.de/
-
Flet Framework https://flet.dev/
Pull requests and improvements are welcome.
Possible improvements:
- OCEL support
- Additional discovery algorithms
- Interactive process visualization
- Dashboard charts
- Docker deployment
Process Mining UI built on top of PM4PY using Flet.