Louvain Community Detection
Switch branches/tags
Nothing to show
Clone or download
Thomas Aynaud
Thomas Aynaud Update changelog
Latest commit abf039f May 22, 2018


Louvain Community Detection


To build and install run from source:

python setup.py install

You can also install from pip with:

pip install python-louvain

The package name on pip is python-louvain but it is imported as community in python. You will find documentation about this module at http://python-louvain.readthedocs.io/


To use from the command line:

$ community <filename>

filename is a binary file as generated by the convert utility distributed with the C implementation

To use as a python library:

import community


You can find documentation at https://python-louvain.readthedocs.io/

To generate documentation run:

pip install numpydoc sphinx
cd docs


To run tests:

pip install nose
python setup.py test
https://travis-ci.org/taynaud/python-louvain.svg?branch=master Documentation Status