Network Diffusion Library - (for NetworkX and iGraph)
NDlib provides implementations of several spreading and opinion dynamics models.
The project documentation can be found on ReadTheDocs.
If you use
NDlibas support to your research consider citing:
G. Rossetti, L. Milli, S. Rinzivillo, A. Sirbu, D. Pedreschi, F. Giannotti. NDlib: a Python Library to Model and Analyze Diffusion Processes Over Complex Networks. Journal of Data Science and Analytics. 2017. DOI:0.1007/s41060-017-0086-6 (pre-print available on arXiv)
G. Rossetti, L. Milli, S. Rinzivillo, A. Sirbu, D. Pedreschi, F. Giannotti. "NDlib: Studying Network Diffusion Dynamics", IEEE International Conference on Data Science and Advanced Analytics, DSAA. 2017.
To install the library just download (or clone) the current project and copy the ndlib folder in the root of your application.
Alternatively use pip:
bash sudo pip install ndlib
For examples, tutorials and a complete reference visit the project documentation website on ReadTheDocs.
Interested in an extensive tutorial on NDlib? Check out the official Jupyter Notebooks!
NDlibis an active project, any contribution is welcome!
If you like to include your model in NDlib (as well as in NDlib-REST) feel free to fork the project, open an issue and contact us.
Do you want to be part of the NDlib community to discuss enhancements, desiderata, bug fix? Join us on Slack!
We are a welcoming community... just follow the Code of Conduct.