Arnaudon, AlexisSchindler, Dominik J.Peach, Robert L.Gosztolai, AdamHodges, MaxwellSchaub, Michael T.Barahona, Mauricio2025-01-242025-01-242025-01-242024-06-2810.1145/36512252-s2.0-85197263586https://infoscience.epfl.ch/handle/20.500.14299/243381We present PyGenStability, a general-use Python software package that provides a suite of analysis and visualization tools for unsupervised multiscale community detection in graphs. PyGenStability finds optimized partitions of a graph at different levels of resolution by maximizing the generalized Markov Stability quality function with the Louvain or Leiden algorithm. The package includes automatic detection of robust graph partitions and allows the flexibility to choose quality functions for weighted undirected, directed, and signed graphs and to include other user-defined quality functions.trueAdditional Key Words and PhrasesMultiscale community detectiongeneralized Markov Stabilitygraph clusteringgraphsLeiden algorithmLouvain algorithmmodularitynetwork sciencePythonunsupervised learningAlgorithm 1044: PyGenStability, a Multiscale Community Detection with Generalized Markov Stabilitytext::journal::journal article::research article