Comparison
leidenalg vs python-louvain
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Leiden is a general algorithm for methods of community detection in large networks.
Maintained. Last release 6 months ago. Weaker on release cadence.
$
pip install leidenalgLouvain algorithm for community detection
Likely abandoned. No release or commit for years (last release over 4 years ago).
$
pip install python-louvainIn short
- python-louvain looks abandoned: avoid it for new projects.
- leidenalg is the most used: 2M downloads a month, 5.3× more than python-louvain.
- leidenalg also has the best Pythie’s Index (54).
- leidenalg is growing fastest: downloads +50% over the last month.
Side by side
| Metric | leidenalg | python-louvain |
|---|---|---|
| Pythie’s Index | Pythie’s Index: 54 | 20 |