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 Holmgren, 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.7.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.7.0.tar.gz (262.9 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.7.0-cp310-cp310-win_amd64.whl (561.9 kB view details)

Uploaded CPython 3.10Windows x86-64

infomap-2.7.0-cp310-cp310-macosx_11_0_x86_64.whl (719.0 kB view details)

Uploaded CPython 3.10macOS 11.0+ x86-64

infomap-2.7.0-cp39-cp39-win_amd64.whl (608.4 kB view details)

Uploaded CPython 3.9Windows x86-64

infomap-2.7.0-cp39-cp39-macosx_11_0_x86_64.whl (719.0 kB view details)

Uploaded CPython 3.9macOS 11.0+ x86-64

infomap-2.7.0-cp38-cp38-win_amd64.whl (606.8 kB view details)

Uploaded CPython 3.8Windows x86-64

infomap-2.7.0-cp38-cp38-macosx_10_15_x86_64.whl (725.0 kB view details)

Uploaded CPython 3.8macOS 10.15+ x86-64

infomap-2.7.0-cp37-cp37m-win_amd64.whl (605.7 kB view details)

Uploaded CPython 3.7mWindows x86-64

infomap-2.7.0-cp37-cp37m-macosx_10_15_x86_64.whl (724.5 kB view details)

Uploaded CPython 3.7mmacOS 10.15+ x86-64

File details

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

File metadata

  • Download URL: infomap-2.7.0.tar.gz
  • Upload date:
  • Size: 262.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.10

File hashes

Hashes for infomap-2.7.0.tar.gz
Algorithm Hash digest
SHA256 01321ab3022ad4ce8b7b5febad520f5a3b37b9ea51275be65216d2914c5d57d8
MD5 4abb8d2d7fd94d6ba6c326b51ec0dc1c
BLAKE2b-256 a9c6f1fe812aa254a9d322aa18a1dbe7096239d3617b8579b3b929e3a99e9cf4

See more details on using hashes here.

File details

Details for the file infomap-2.7.0-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: infomap-2.7.0-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 561.9 kB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.10

File hashes

Hashes for infomap-2.7.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 4cb648d35dcc9caed94de48019a4f98f670d14813dec5d433776b7d90bfe0e6e
MD5 377aa1852f3b9e69cfd6e9b4cd6c8c9e
BLAKE2b-256 6cf90bdea9624a9be2a13e487f3131b110f546a6b4519fade86e0a7840f9da42

See more details on using hashes here.

File details

Details for the file infomap-2.7.0-cp310-cp310-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for infomap-2.7.0-cp310-cp310-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 6b1b2a7a31fd1b719a270e04d2bcb36d67643765c2aa27708a9a4dc9eb54c132
MD5 476044254d65816117d08d16f20c2063
BLAKE2b-256 ed81b10e77d5901141d8c358a1e46d7cc5020a5afb80475d19c38d9c4ced4017

See more details on using hashes here.

File details

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

File metadata

  • Download URL: infomap-2.7.0-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 608.4 kB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.10

File hashes

Hashes for infomap-2.7.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 81271573854c07315e62a9f68a7ec8f4a1942a1e3aa139f36f921e5a893a28f6
MD5 d4b7ee1918978445c959ea93f7331fca
BLAKE2b-256 9bbb6f5f2c7f944bdc80d01c0c44e92ebdce7f3ee547f774a5b77f2c4e26a043

See more details on using hashes here.

File details

Details for the file infomap-2.7.0-cp39-cp39-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for infomap-2.7.0-cp39-cp39-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 c6af647d761eabf6ec2308f5004516bcc51485e6741c132ae8d7b6221d9f890d
MD5 21329d241ad98ac5c1d661c3fa8e4546
BLAKE2b-256 42a87530417b4474e9d717f95acf99e082e0f5974385093fd40f24edf03151e3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: infomap-2.7.0-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 606.8 kB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.10

File hashes

Hashes for infomap-2.7.0-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 6a3f4f9498d68a3f3d5c6a7cd3724c2181faf0db6e15741a6da4a8100f2579a7
MD5 17874eab2b5e480c9657dc40ba72b039
BLAKE2b-256 7ee457338cf289e860621dfe452520896d09a1a9bbe3d35fac1e351e9d5aeff3

See more details on using hashes here.

File details

Details for the file infomap-2.7.0-cp38-cp38-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for infomap-2.7.0-cp38-cp38-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 54070a8fad54b3bede55cf186deb9bf9edf6959b1b34435de7f618c68041d378
MD5 f9980ee6de81ec1c80907dd04e5d1749
BLAKE2b-256 6cbac258c5873e83c601d306e175c14865a895c06e1f795eaa3188cfcc0e2641

See more details on using hashes here.

File details

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

File metadata

  • Download URL: infomap-2.7.0-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 605.7 kB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.10

File hashes

Hashes for infomap-2.7.0-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 44dccddcdd7256fd1028e389301529630b36aadb213074e9a6af7e2303f7fce0
MD5 2cf5e1ef8e0a43bf803d7f7432c19126
BLAKE2b-256 adb29ce7e2fff35eb75e87b2f0b2eaa09c8d5c93810390939a50badb0defda7a

See more details on using hashes here.

File details

Details for the file infomap-2.7.0-cp37-cp37m-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for infomap-2.7.0-cp37-cp37m-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 1841f5326817220c483295d6f470cd7bb010b29871f22343b03cd94443675ba9
MD5 4446996820bb409273d034122b6ea81d
BLAKE2b-256 67232e4f679fa40dfde11abf9cb6fbbf53557ef87e33424e322b7a2e12bc5171

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