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

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.1.tar.gz (263.1 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.1-cp310-cp310-win_amd64.whl (562.0 kB view details)

Uploaded CPython 3.10Windows x86-64

infomap-2.7.1-cp310-cp310-macosx_11_0_x86_64.whl (715.2 kB view details)

Uploaded CPython 3.10macOS 11.0+ x86-64

infomap-2.7.1-cp39-cp39-win_amd64.whl (608.6 kB view details)

Uploaded CPython 3.9Windows x86-64

infomap-2.7.1-cp39-cp39-macosx_11_0_x86_64.whl (715.2 kB view details)

Uploaded CPython 3.9macOS 11.0+ x86-64

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

Uploaded CPython 3.8Windows x86-64

infomap-2.7.1-cp38-cp38-macosx_10_15_x86_64.whl (720.3 kB view details)

Uploaded CPython 3.8macOS 10.15+ x86-64

infomap-2.7.1-cp37-cp37m-win_amd64.whl (605.8 kB view details)

Uploaded CPython 3.7mWindows x86-64

infomap-2.7.1-cp37-cp37m-macosx_10_15_x86_64.whl (719.7 kB view details)

Uploaded CPython 3.7mmacOS 10.15+ x86-64

File details

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

File metadata

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

File hashes

Hashes for infomap-2.7.1.tar.gz
Algorithm Hash digest
SHA256 e23d52dffdb68646fcdcd9c7c7a6760ec26038c21107c47336604ee66ea74c18
MD5 85581ed9c880a385721a711fb4b3dc41
BLAKE2b-256 cebb32a2f3bbea80407ec1af1d0730d8d46208f8be0bb797d0e1d1e4da4128e4

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for infomap-2.7.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 6e9369e43d8347c3b141abb6b060e8fd4bcef89a676a98b7109d37c29d798563
MD5 01e7274ff476131af84f594b70ae48f9
BLAKE2b-256 07fea65690be53ac967cf038e4a84379433fed7068611aad37fc8f5e6fd5c79b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for infomap-2.7.1-cp310-cp310-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 167f87da8b72d22dea9c3c6d5245fe5c45a60e68579f729edb7aa5bcb7325e21
MD5 60bc6a8c4b040af93a5bbaa47107d56e
BLAKE2b-256 f332c71f0f6963b7d5b71ae0fb31d70354eff9916dd68eb1a5425191ed59a8ce

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for infomap-2.7.1-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 b65a48614a33c37a4d671d04378cb4147e99468d0cbf945568bee05b148058df
MD5 1471fa148e744725cabb1db2d5035eb8
BLAKE2b-256 c0005ff34d5f0fdd8f6410b34ba3850786af5e60b523540c631bb59e2388a3a5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for infomap-2.7.1-cp39-cp39-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 37b91d20610c3ff089eef418a058635f805f1239e2fd8859cce22219059041b6
MD5 7c235f5276cb1b8ab4ee8001967fe04a
BLAKE2b-256 ccbb9bfbaaa8bc68fccdc687bfab328e80d4c12c66e70956e3d88ca543b87e79

See more details on using hashes here.

File details

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

File metadata

  • Download URL: infomap-2.7.1-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.11

File hashes

Hashes for infomap-2.7.1-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 85d4fe148693ca5dca03d5069836eda535c0246abf2f175c2e418fa5dc47fb93
MD5 f8ee942e29b58318f77a631e605101e6
BLAKE2b-256 a2035e4417bbcba06988e1a79dca962c928ad1fb95ff7fda51564fcd66961812

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for infomap-2.7.1-cp38-cp38-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 a0371c09f06f0562eaa497204c8c5276a06b2c4d8fb466e850fff53c9e0ca02c
MD5 b2efdccd2adf6cac15d35845e7855bc9
BLAKE2b-256 026e4b3ab6fa202b04eb68baa87761501a2e5e6436cd0522dff0fdf9f2438b2d

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for infomap-2.7.1-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 52aba7e9df564c8a05d5c48bf12626b892ac5e9e5fc519cbd100a8f705b4528e
MD5 e9184f0d8926c83b2209335270733195
BLAKE2b-256 0582cb268b2d43a087861f9bb82b7138f26d60983c734933f33811bfb49f6c01

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for infomap-2.7.1-cp37-cp37m-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 188ad76d3b7087224498326977e8711ebcc9526738d4a79d2d8ed5c166688207
MD5 8acc199bb27ddce0c4a17ebec87bee05
BLAKE2b-256 c4d24291671127f3cb7d8fcf399bcda557a746581998ce81ab8e120d2242159b

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