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 = ml.data("aucs")
>>> ml.degree(m, actors = ['U54'], layers = ['leisure', 'facebook'])
[18]

Install

Install the latest version of uunet:

$ pip install uunet

Notes:

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

Credits

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 https://borgelt.net/eclat.html, for association rule mining, Infomap https://www.mapequation.org, for the Infomap community detection method, and Howard Hinnant's date and time library https://github.com/HowardHinnant/date. The code from these libraries has been included in our source package.

License

Released under the GNU General Public Licence.

Contact: Matteo Magnani <matteo.magnani@it.uu.se>

Project details


Download files

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

Files for uunet, version 1.1.4
Filename, size File type Python version Upload date Hashes
Filename, size uunet-1.1.4-cp38-cp38-macosx_10_9_x86_64.whl (3.3 MB) File type Wheel Python version cp38 Upload date Hashes View
Filename, size uunet-1.1.4-cp38-cp38-manylinux_2_12_i686.manylinux2010_i686.whl (34.0 MB) File type Wheel Python version cp38 Upload date Hashes View
Filename, size uunet-1.1.4-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (35.1 MB) File type Wheel Python version cp38 Upload date Hashes View
Filename, size uunet-1.1.4-cp38-cp38-win_amd64.whl (1.2 MB) File type Wheel Python version cp38 Upload date Hashes View
Filename, size uunet-1.1.4-cp39-cp39-macosx_10_9_x86_64.whl (3.3 MB) File type Wheel Python version cp39 Upload date Hashes View
Filename, size uunet-1.1.4-cp39-cp39-manylinux_2_12_i686.manylinux2010_i686.whl (34.0 MB) File type Wheel Python version cp39 Upload date Hashes View
Filename, size uunet-1.1.4-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (35.1 MB) File type Wheel Python version cp39 Upload date Hashes View
Filename, size uunet-1.1.4-cp39-cp39-win_amd64.whl (1.2 MB) File type Wheel Python version cp39 Upload date Hashes View
Filename, size uunet-1.1.4.tar.gz (1.2 MB) File type Source Python version None Upload date Hashes View

Supported by

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