Skip to content

synamine

AI-powered process mining for Python. Fully open source, fully flexible, lightning fast.


  • Event Log Handling

    Read and write event logs in CSV, XES (IEEE 1849), or directly from pandas DataFrames.

  • Process Discovery

    Discover process models using Alpha Miner, Heuristic Miner, Inductive Miner, DFG, and Variant Trie algorithms.

  • Statistics & Analysis

    Variants, activity frequencies, case durations, sojourn times, waiting times, rework detection, and resource analytics.

  • Visualization

    Render Petri Nets, Process Trees, DFGs (Graphviz), variant trie dendrograms, and statistics charts (Matplotlib).

  • Filtering

    Filter cases by activity presence, time range, or variant.

  • Fully Typed

    Complete type annotations with py.typed marker for IDE support.

Install

pip install synamine

Hello, Process Mining

import synamine

log = synamine.read_csv("events.csv")
print(f"Cases: {log.num_cases}, Events: {log.num_events}")

dfg = synamine.discover_dfg(log)
synamine.save_visualization(dfg, "dfg.png")

Get Started API Reference Examples