Fast sampling of generalized small-world networks, including self-similar modular hierarchical and modified Kleinberg networks.
Make sure you have a compiler installed that can compile the C++11 dialect.
First, install the header library pybind11
.
$ pip install pybind11
Then, clone and compile the package
$ git clone https://github.com/benmaier/sixdegrees.git
$ pip install ./sixdegrees