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 General Public License version 3 or any later version (see LICENSE_GPLv3.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.9.2.tar.gz (268.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.9.2-cp314-cp314-win_amd64.whl (600.4 kB view details)

Uploaded CPython 3.14Windows x86-64

infomap-2.9.2-cp314-cp314-win32.whl (470.2 kB view details)

Uploaded CPython 3.14Windows x86

infomap-2.9.2-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (9.2 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

infomap-2.9.2-cp314-cp314-macosx_15_0_arm64.whl (839.1 kB view details)

Uploaded CPython 3.14macOS 15.0+ ARM64

infomap-2.9.2-cp313-cp313-win_amd64.whl (586.3 kB view details)

Uploaded CPython 3.13Windows x86-64

infomap-2.9.2-cp313-cp313-win32.whl (460.8 kB view details)

Uploaded CPython 3.13Windows x86

infomap-2.9.2-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (9.2 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

infomap-2.9.2-cp313-cp313-macosx_15_0_arm64.whl (838.9 kB view details)

Uploaded CPython 3.13macOS 15.0+ ARM64

infomap-2.9.2-cp312-cp312-win_amd64.whl (586.2 kB view details)

Uploaded CPython 3.12Windows x86-64

infomap-2.9.2-cp312-cp312-win32.whl (460.4 kB view details)

Uploaded CPython 3.12Windows x86

infomap-2.9.2-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (9.2 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

infomap-2.9.2-cp312-cp312-macosx_15_0_arm64.whl (838.8 kB view details)

Uploaded CPython 3.12macOS 15.0+ ARM64

infomap-2.9.2-cp311-cp311-win_amd64.whl (585.7 kB view details)

Uploaded CPython 3.11Windows x86-64

infomap-2.9.2-cp311-cp311-win32.whl (459.6 kB view details)

Uploaded CPython 3.11Windows x86

infomap-2.9.2-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (9.2 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

infomap-2.9.2-cp311-cp311-macosx_15_0_arm64.whl (837.3 kB view details)

Uploaded CPython 3.11macOS 15.0+ ARM64

File details

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

File metadata

  • Download URL: infomap-2.9.2.tar.gz
  • Upload date:
  • Size: 268.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for infomap-2.9.2.tar.gz
Algorithm Hash digest
SHA256 e0c61ded3531bcff019a024d6e37396e920db9ffdf43a6caca0b68b71e404036
MD5 bd546b513f094a14298f21d3b3ae45a0
BLAKE2b-256 b48c063ff6f2ba4127b7f8487328402173d5f19945bd12267a302df7368434cf

See more details on using hashes here.

File details

Details for the file infomap-2.9.2-cp314-cp314-win_amd64.whl.

File metadata

  • Download URL: infomap-2.9.2-cp314-cp314-win_amd64.whl
  • Upload date:
  • Size: 600.4 kB
  • Tags: CPython 3.14, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for infomap-2.9.2-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 3513d2b4c58e07ecfcb388a91d76c7d468170ef685129d54476a5dabbfb0e951
MD5 cddfb5abcdf767221a62c200345f988c
BLAKE2b-256 da42d511c30caf14366a6aa972aa90925af2c1d3b29caf033613d4a20cbf8b42

See more details on using hashes here.

File details

Details for the file infomap-2.9.2-cp314-cp314-win32.whl.

File metadata

  • Download URL: infomap-2.9.2-cp314-cp314-win32.whl
  • Upload date:
  • Size: 470.2 kB
  • Tags: CPython 3.14, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for infomap-2.9.2-cp314-cp314-win32.whl
Algorithm Hash digest
SHA256 94a331b6b66aff2dff0301d05cbb2716ca8f9cea1d4d084d01b23bd32a6766f8
MD5 bd65464eebb8c4e7469654beddaf103a
BLAKE2b-256 81a841ab885c43d3fb5c220a0d7b651c51c96244c8ed5b35706cb28517bee798

See more details on using hashes here.

File details

Details for the file infomap-2.9.2-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for infomap-2.9.2-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 4b6775f75ce8294a9f107b3a151357e122b7f602a77cecf955998493b853e6be
MD5 6b551b999a14a63b54c01472f26e472a
BLAKE2b-256 e4113af6089827e9728e39985a3ed007e6f489a971869ed75b88000a92223773

See more details on using hashes here.

File details

Details for the file infomap-2.9.2-cp314-cp314-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for infomap-2.9.2-cp314-cp314-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 07e6fd43ee2ae5bf4332dcbe9ba0558f4ac442bb7df13759694fb585f8fb604a
MD5 c059b669e0352e8ccc23f3e589510d06
BLAKE2b-256 b6bf15daccaad306fdd30edbb25f19331ae311260dfb3f1a69621cd245d8c891

See more details on using hashes here.

File details

Details for the file infomap-2.9.2-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: infomap-2.9.2-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 586.3 kB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for infomap-2.9.2-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 1bea68718859067361a336229dd4e5cef40a80edb3482b941707a6659f3f6b3b
MD5 23dcb204cbd2fb1c8d0523b68e30e9ef
BLAKE2b-256 1653a0239e499d65a43d64b941ff8ec7bc057cdb719baa86cb5de86e7fcdfc09

See more details on using hashes here.

File details

Details for the file infomap-2.9.2-cp313-cp313-win32.whl.

File metadata

  • Download URL: infomap-2.9.2-cp313-cp313-win32.whl
  • Upload date:
  • Size: 460.8 kB
  • Tags: CPython 3.13, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for infomap-2.9.2-cp313-cp313-win32.whl
Algorithm Hash digest
SHA256 1a3ea625739a95edb7db618fe3c1008cad3e9b9d3c072171a892135ee79c7fd3
MD5 3e052b75be2bfc30c911e8d6388807b9
BLAKE2b-256 157fa06026303895967c797245bb58ada13e7e2344fabbcd4c99e93760361117

See more details on using hashes here.

File details

Details for the file infomap-2.9.2-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for infomap-2.9.2-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 de597c90661ed08a983ce8fc595bfafa240fdc8c770f50f8184c8f195a7ef8ba
MD5 02c3d4d8c7a1658bb343d61477a610fd
BLAKE2b-256 3b32314502dbfe6b5cfc560b389e1008dfb6fa6ad0bdf6bcbb06d3be705e1818

See more details on using hashes here.

File details

Details for the file infomap-2.9.2-cp313-cp313-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for infomap-2.9.2-cp313-cp313-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 38b23ed305930b0c4bbed13e5e95b1891ac067bbef090b398a30e15c4f882864
MD5 4994cb01e0792b5aefc034b14f06ef73
BLAKE2b-256 8d25e5aa8973c97b401d09d17e03ff1c90a23ce290f1dcd672df40866e3badbe

See more details on using hashes here.

File details

Details for the file infomap-2.9.2-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: infomap-2.9.2-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 586.2 kB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for infomap-2.9.2-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 8dd3a22171ac32f1c8fcfc6d94cc3ac239f372ec93da2f7678abe0678acca19c
MD5 7559e7955e58d7c97f174c47993a0201
BLAKE2b-256 0abb2145c4d9125028cff55e948476534eaa2a0fb8325fce233bab269875c030

See more details on using hashes here.

File details

Details for the file infomap-2.9.2-cp312-cp312-win32.whl.

File metadata

  • Download URL: infomap-2.9.2-cp312-cp312-win32.whl
  • Upload date:
  • Size: 460.4 kB
  • Tags: CPython 3.12, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for infomap-2.9.2-cp312-cp312-win32.whl
Algorithm Hash digest
SHA256 c193a5c3069312278db962384a811bdc3b639512b885e6e764f0263c3c248ae8
MD5 da5e7448fa41cc9b39dd413171e5acdb
BLAKE2b-256 39757673ca56b92929291292ba537cf097c42c23f7a37bb9ca8406d7e5bb0ed0

See more details on using hashes here.

File details

Details for the file infomap-2.9.2-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for infomap-2.9.2-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 760cba0684133b7e1590da34d2620f9e30060c43337612c3f9245e262e3799d1
MD5 4f8aad16f64b64c1e0aa03f41e9576b5
BLAKE2b-256 36252ae9b4f8d992f31451fdca644328a2c57c1350d396331ec7e86ba7021c34

See more details on using hashes here.

File details

Details for the file infomap-2.9.2-cp312-cp312-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for infomap-2.9.2-cp312-cp312-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 e87b2a330b1858cf41127760ddc201199b6d7ba2f3ecb609c9b47e09fc53d1c0
MD5 9aad74ca83f533d942523aab105b7dcb
BLAKE2b-256 540d31f3963d76723f8f52215bf2e2a97278caf9437b6f55df4b66a15c6fe266

See more details on using hashes here.

File details

Details for the file infomap-2.9.2-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: infomap-2.9.2-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 585.7 kB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for infomap-2.9.2-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 94bcdbdce03a7cf0752683b654ce36d7bbf9424019d952add467c21cc25e0390
MD5 005d72936838fef2e99cfbe102e945d8
BLAKE2b-256 718e51a5c0919b4f3d29228dbaaeb99d1fc2fd53c1ffe128a170e8af7dd5fd75

See more details on using hashes here.

File details

Details for the file infomap-2.9.2-cp311-cp311-win32.whl.

File metadata

  • Download URL: infomap-2.9.2-cp311-cp311-win32.whl
  • Upload date:
  • Size: 459.6 kB
  • Tags: CPython 3.11, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for infomap-2.9.2-cp311-cp311-win32.whl
Algorithm Hash digest
SHA256 332670f2ae96a3b89e972badeb03bd7dbc95c0a0c849cc6b978feb844852ccc4
MD5 9578c1d4def688ae9f2953151da06c89
BLAKE2b-256 e97653efe835f38d76685cd519091d5ba0a494739aaa1767ac3642e914d77eab

See more details on using hashes here.

File details

Details for the file infomap-2.9.2-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for infomap-2.9.2-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 1e16a840a51f86949740ba5d1d7e179c854c9eff6a104b7deb7c54d09bfedfcb
MD5 88a626832e32a280749d6543c016ae6e
BLAKE2b-256 a7ec67149da172db5243a971b070ae21c3541c79a0af62f3db64526aea4851e0

See more details on using hashes here.

File details

Details for the file infomap-2.9.2-cp311-cp311-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for infomap-2.9.2-cp311-cp311-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 1098e6d5630a17451e671db57ce45ebfbb19039dd458940f3e86b06ffb608a02
MD5 19f4a01ff93776320aba9a041910b362
BLAKE2b-256 79b70aecc69fb7736c1c1350262d2174cad66c6234910795031c272de4377488

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