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.11.0
0.10.2
0.10.1
0.10.0
0.9.1
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

Oct 31, 2025 at 20:54

License

GPL-3.0-or-later

Total Downloads

718.8K

Supported Platforms

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