1. Thomas Aynaud
  2. python-louvain

Source

python-louvain /

Filename Size Date modified Message
bin
community
docs
633 B
README edited online with Bitbucket
650 B
Moved code out of __init__.py and restructed slightly
11.2 KB
Add a resolution parameter

Louvain Community Detection

The main repository is now https://github.com/taynaud/python-louvain/

Installing

To build and install run:

python setup.py install

Usage

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

Documentation

To generate documentation run:

pip install numpydoc sphinx
cd docs
make

Tests

To run tests:

pip install nose
python setup.py test