CMD + K

leidenalg

Community

Implementation of the Leiden algorithm for various methods for use with igraph in python.

Installation

To install this package, run one of the following:

Conda
$conda install conda-forge::leidenalg

Usage Tracking

0.12.0
0.11.0
0.10.2
0.10.1
0.10.0
5 / 8 versions selected
Downloads (Last 6 months): 0

Description

This package implements the Leiden algorithm in C++ and exposes it to python. It relies on (python-)igraph for it to function. Besides the relative flexibility of the implementation, it also scales well, and can be run on graphs of millions of nodes (as long as they can fit in memory). The core function is find_partition which is able to optimize a variety of quality functions using the Leiden algorithm.

About

Summary

Implementation of the Leiden algorithm for various methods for use with igraph in python.

Last Updated

May 25, 2026 at 05:41

License

GPL-3.0-or-later

Supported Platforms

macOS-arm64
macOS-64
linux-ppc64le
win-64
linux-64
linux-aarch64