Best for
Frequent Subgraph Mining Workflows
Use `submine` when you want one consistent interface over multiple graph mining backends.
Tool
A research-grade library for frequent subgraph mining with a unified interface over multiple mining backends and graph formats.
Best for
Use `submine` when you want one consistent interface over multiple graph mining backends.
Stack
Built for Python-first workflows while handling the backend-specific friction for you.
submine helps users focus on what to mine instead of manually adapting graph data for each
mining backend. It validates inputs, detects supported graph formats, and routes execution
through a unified Python API.
pip install submine
For development work:
pip install -e ".[dev]"
from submine.api import mine_subgraphs
results = mine_subgraphs(
data="graphs.data",
algorithm="gspan",
min_support=5
)
Further Reading
I wrote a companion article on why subgraph mining matters and how it shifts attention from isolated nodes to recurring structural patterns in complex networks.