Skip to main content

python porting of the R multinet library

Project description

This is the Python version of the multinet library for the analysis of multilayer networks, first released for the R framework in January 2017 on CRAN.

A simple example

Find the degree of an actor on two layers:

>>> import uunet.multinet as ml
>>> m ="aucs")
>>>, actors = ['U54'], layers = ['leisure', 'facebook'])


Install the latest version of uunet:

$ pip install uunet


  • Python >= 3.8 is required
  • The package is not compatible with conda


This library was originally based on the book: Multilayer Social Networks, by Dickison, Magnani & Rossi, Cambridge University Press (2016). The methods contained in the library and described in the book have been developed by many different authors: extensive references are available in the book, and in the documentation of each function we indicate the main reference we have followed for the implementation. For some methods developed after the book was published we give references to the corresponding literature.

The package uses functions from eclat, for association rule mining, Infomap, for the Infomap community detection method, and Howard Hinnant's date and time library The code from these libraries has been included in our source package.


Released under the GNU General Public Licence.

Contact: Matteo Magnani <>

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

uunet-1.1.4.tar.gz (1.2 MB view hashes)

Uploaded source

Built Distributions

uunet-1.1.4-cp39-cp39-win_amd64.whl (1.2 MB view hashes)

Uploaded cp39

uunet-1.1.4-cp38-cp38-win_amd64.whl (1.2 MB view hashes)

Uploaded cp38

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page