CDlib is a Python language software package for the extraction, comparison, and evaluation of communities from complex networks.

Who uses CDlib?

The potential audience for CDlib includes mathematicians, physicists, biologists, computer scientists, and social scientists.


CDlib is built upon the NetworkX python library and is intended to provide:

  • a standard programming interface and community discovery implementations that are suitable for many applications,
  • a rapid development environment for collaborative, multidisciplinary, projects.

The Python CDlib library

CDlib is a powerful Python package that allows simple and flexible partitioning of complex networks.

Most importantly, CDlib, as well as the Python programming language, is free, well-supported, and a joy to use.

Free software

CDlib is free software; you can redistribute it and/or modify it under the terms of the BSD License. We welcome contributions from the community.

EU H2020

CDlib is a result of an European H2020 project:

  • SoBigData “Social Mining & Big Data Ecosystem”: under the scheme “INFRAIA-1-2014-2015: Research Infrastructures”, grant agreement #654024.