Skip to main content

Infomap network clustering algorithm

Project description

https://github.com/mapequation/infomap/actions/workflows/build.yml/badge.svg

Infomap

Infomap is a network clustering algorithm based on the Map equation.

For detailed documentation, see mapequation.org/infomap.

For a list of recent changes, see CHANGELOG.md in the source directory.

Getting started

Infomap can be installed either from PyPI using pip or by compiling from source.

An experimental Javascript version for browsers is available on NPM.

Using pip

A pre-compiled version is available for macOS users.

Installing on other operating systems requires a working gcc or clang compiler.

To install, run:

pip install infomap

To upgrade, run:

pip install --upgrade infomap

When the Python package is installed, an executable called infomap (with lowercase i) is available from any directory.

To get started, read Infomap Python API.

Using Docker

There are currently two Docker images available on Docker Hub.

  • mapequation/infomap

  • mapequation/infomap:notebook based on jupyter/scipy-notebook

The image mapequation/infomap can be started with

docker run -it --rm \
    -v `pwd`:/data \
    mapequation/infomap
    [infomap arguments]

You can also use the supplied docker-compose.yml:

docker-compose run --rm infomap

The image mapequation/infomap:notebook can be started with

docker run \
    -v `pwd`:/home/jovyan/work \
    -p 8888:8888 \
    mapequation/infomap:notebook \
    start.sh jupyter lab

Or similarly, using docker-compose:

docker-compose up notebook

Compiling from source

Installing Infomap from source requires a working gcc or clang compiler.

To download and compile the newest version from Github, clone the repository by running

git clone git@github.com:mapequation/infomap.git
cd infomap
make

This creates the binary Infomap, run it using:

./Infomap [options] network_data destination

For a list of options, run:

./Infomap --help

Read the documentation to learn more about the different options.

Npm package

An experimental Javascript web worker is available on NPM.

To install it, run

npm install @mapequation/infomap

Feedback

If you have any questions, suggestions or issues regarding the software, please add them to GitHub issues.

Authors

Daniel Edler, Anton Eriksson, Martin Rosvall

For contact information, see mapequation.org/about.html.

Terms of use

Infomap is released under a dual licence.

To give everyone maximum freedom to make use of Infomap and derivative works, we make the code open source under the GNU Affero General Public License version 3 or any later version (see LICENSE_AGPLv3.txt).

For a non-copyleft license, please contact us.

Project details


Release history Release notifications | RSS feed

This version

2.2.0

Download files

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

Source Distribution

infomap-2.2.0.tar.gz (300.4 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

infomap-2.2.0-cp39-cp39-win_amd64.whl (665.3 kB view details)

Uploaded CPython 3.9Windows x86-64

infomap-2.2.0-cp39-cp39-macosx_10_15_x86_64.whl (758.4 kB view details)

Uploaded CPython 3.9macOS 10.15+ x86-64

infomap-2.2.0-cp38-cp38-win_amd64.whl (663.1 kB view details)

Uploaded CPython 3.8Windows x86-64

infomap-2.2.0-cp38-cp38-macosx_10_14_x86_64.whl (759.0 kB view details)

Uploaded CPython 3.8macOS 10.14+ x86-64

infomap-2.2.0-cp37-cp37m-win_amd64.whl (662.9 kB view details)

Uploaded CPython 3.7mWindows x86-64

infomap-2.2.0-cp37-cp37m-macosx_10_14_x86_64.whl (758.5 kB view details)

Uploaded CPython 3.7mmacOS 10.14+ x86-64

infomap-2.2.0-cp36-cp36m-win_amd64.whl (662.9 kB view details)

Uploaded CPython 3.6mWindows x86-64

infomap-2.2.0-cp36-cp36m-macosx_10_14_x86_64.whl (758.5 kB view details)

Uploaded CPython 3.6mmacOS 10.14+ x86-64

File details

Details for the file infomap-2.2.0.tar.gz.

File metadata

  • Download URL: infomap-2.2.0.tar.gz
  • Upload date:
  • Size: 300.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12

File hashes

Hashes for infomap-2.2.0.tar.gz
Algorithm Hash digest
SHA256 ce33677268841b1eca8e148d6882a7352588b19d15cdb8ec1fde884c89bf7a34
MD5 2472e2515335db46acfac3aa5861bf82
BLAKE2b-256 0b25174eb025f09fece796cc9b2ac520f9cf4c9c6388f5ca9462f71143bdf639

See more details on using hashes here.

File details

Details for the file infomap-2.2.0-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: infomap-2.2.0-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 665.3 kB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12

File hashes

Hashes for infomap-2.2.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 da7db988825e83ed9373452617dc1d36a86868e78c0ea4364fed2c0d222916fa
MD5 6f7c4a8b2334f34cecb1b554f55cc8ac
BLAKE2b-256 3535ec7582cbc8cb9fe0601699736844a980f49c63dde74f672eec01a9ae669d

See more details on using hashes here.

File details

Details for the file infomap-2.2.0-cp39-cp39-macosx_10_15_x86_64.whl.

File metadata

  • Download URL: infomap-2.2.0-cp39-cp39-macosx_10_15_x86_64.whl
  • Upload date:
  • Size: 758.4 kB
  • Tags: CPython 3.9, macOS 10.15+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12

File hashes

Hashes for infomap-2.2.0-cp39-cp39-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 2653a11c62527da58664457758f3af677155278c16d7431851a2eef501ce1c9e
MD5 bc706ef09e157364918fb82ced33e8dd
BLAKE2b-256 f9daa0a68f842fe3ec117fc3bc3193d9ff2fc5452900a345bae25d0f05e6b34e

See more details on using hashes here.

File details

Details for the file infomap-2.2.0-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: infomap-2.2.0-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 663.1 kB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12

File hashes

Hashes for infomap-2.2.0-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 2747d1084696bd7157e32a37b9ae3e77fe5f614d8e832f489680c52b78bb54d7
MD5 0c6f6d4ac2b4498dff452b228fc57eab
BLAKE2b-256 a6b14194f638e245f76e170da4415003749463fdc69c82ed98aa728dcf95ba19

See more details on using hashes here.

File details

Details for the file infomap-2.2.0-cp38-cp38-macosx_10_14_x86_64.whl.

File metadata

  • Download URL: infomap-2.2.0-cp38-cp38-macosx_10_14_x86_64.whl
  • Upload date:
  • Size: 759.0 kB
  • Tags: CPython 3.8, macOS 10.14+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12

File hashes

Hashes for infomap-2.2.0-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 e3e9b5a8be226830b2b8cfcef6c907cf168a99ebb72752ba357239ec84913c99
MD5 f7a2f9fa8ccbcf8d64a48747aaf967d8
BLAKE2b-256 b5e7dbdf27e635b2d1cb5852e67427675d7e0bb39ee7739953c2dab16eca71e2

See more details on using hashes here.

File details

Details for the file infomap-2.2.0-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: infomap-2.2.0-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 662.9 kB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12

File hashes

Hashes for infomap-2.2.0-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 50326ca53625b9ca4ab071c49d728cc116c5af19ad67837acc5f819fb235773b
MD5 5a96e79da8f29c9e5b5059a25fe43bf5
BLAKE2b-256 1ed3b50b3f657ec2fb713e060af654bfd5dc0c5d96093709763bd94b296aad60

See more details on using hashes here.

File details

Details for the file infomap-2.2.0-cp37-cp37m-macosx_10_14_x86_64.whl.

File metadata

  • Download URL: infomap-2.2.0-cp37-cp37m-macosx_10_14_x86_64.whl
  • Upload date:
  • Size: 758.5 kB
  • Tags: CPython 3.7m, macOS 10.14+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12

File hashes

Hashes for infomap-2.2.0-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 12aa4bf9f7522f1c72238dd734260a47e47a89c3b5edc2b85332782d50f901ee
MD5 6ffa70ba692c4d06744437b12cdcb141
BLAKE2b-256 92e225c2eeded1041f17582f0ca16b88ab6d773b0cf8a65da92b566957737476

See more details on using hashes here.

File details

Details for the file infomap-2.2.0-cp36-cp36m-win_amd64.whl.

File metadata

  • Download URL: infomap-2.2.0-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 662.9 kB
  • Tags: CPython 3.6m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12

File hashes

Hashes for infomap-2.2.0-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 e095700faac587d81ba73e065823173072a3187ead7da715b4af77f84edf6bab
MD5 01904c27c20e442f3c1f8c9430b82b2c
BLAKE2b-256 a6226b33905fa083eefde28b7bc0b5399a830a9a424a8fdf76abe2272f0094fd

See more details on using hashes here.

File details

Details for the file infomap-2.2.0-cp36-cp36m-macosx_10_14_x86_64.whl.

File metadata

  • Download URL: infomap-2.2.0-cp36-cp36m-macosx_10_14_x86_64.whl
  • Upload date:
  • Size: 758.5 kB
  • Tags: CPython 3.6m, macOS 10.14+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12

File hashes

Hashes for infomap-2.2.0-cp36-cp36m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 f1432d3bcca60d2e77f0f6b2e96ba4e873fde7736f7da3baf6307b5655771ee6
MD5 8b78151867596c6045b285437bd9186c
BLAKE2b-256 edb2f7d228d0c0bce9bd2c0bd72805b1d81ba8384e5cedf7347c52268fa3533e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page