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.6.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.6.0.tar.gz (261.8 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.6.0-cp310-cp310-win_amd64.whl (612.0 kB view details)

Uploaded CPython 3.10Windows x86-64

infomap-2.6.0-cp310-cp310-macosx_10_15_x86_64.whl (692.5 kB view details)

Uploaded CPython 3.10macOS 10.15+ x86-64

infomap-2.6.0-cp39-cp39-win_amd64.whl (611.8 kB view details)

Uploaded CPython 3.9Windows x86-64

infomap-2.6.0-cp39-cp39-macosx_10_15_x86_64.whl (692.4 kB view details)

Uploaded CPython 3.9macOS 10.15+ x86-64

infomap-2.6.0-cp38-cp38-win_amd64.whl (610.1 kB view details)

Uploaded CPython 3.8Windows x86-64

infomap-2.6.0-cp38-cp38-macosx_10_15_x86_64.whl (693.3 kB view details)

Uploaded CPython 3.8macOS 10.15+ x86-64

infomap-2.6.0-cp37-cp37m-win_amd64.whl (609.7 kB view details)

Uploaded CPython 3.7mWindows x86-64

infomap-2.6.0-cp37-cp37m-macosx_10_15_x86_64.whl (692.7 kB view details)

Uploaded CPython 3.7mmacOS 10.15+ x86-64

infomap-2.6.0-cp36-cp36m-win_amd64.whl (609.7 kB view details)

Uploaded CPython 3.6mWindows x86-64

infomap-2.6.0-cp36-cp36m-macosx_10_14_x86_64.whl (692.6 kB view details)

Uploaded CPython 3.6mmacOS 10.14+ x86-64

File details

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

File metadata

  • Download URL: infomap-2.6.0.tar.gz
  • Upload date:
  • Size: 261.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.13

File hashes

Hashes for infomap-2.6.0.tar.gz
Algorithm Hash digest
SHA256 76d2b8c77f49c7a8fb70fd4758c205150c372212b13ccbe96f05f18a72dc69a3
MD5 5e19369ad1b9f515896101e10c1a603c
BLAKE2b-256 65bb2d12847373a8f729cbf1544e103d6cb752b151aff40eaf6c5e80cee71497

See more details on using hashes here.

File details

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

File metadata

  • Download URL: infomap-2.6.0-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 612.0 kB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.13

File hashes

Hashes for infomap-2.6.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 c2a09c07692b9d61d1c1690a0e57b40257696405e666ac8c69e1a10ed726b32e
MD5 e58d96473f9cd039a5b2a8f40b7f2b92
BLAKE2b-256 4a629776b2defc84f2f4e53ea54b22dceefac63950fc910cf101786094a09806

See more details on using hashes here.

File details

Details for the file infomap-2.6.0-cp310-cp310-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for infomap-2.6.0-cp310-cp310-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 92752d54b784b22ab1bb60e82a92163f40398112c6fddbb7840db006e8fcec60
MD5 4f17b9f6faec436ff973e2aff5ea5ceb
BLAKE2b-256 d73dcb8bcaa845e4d7006d3d6de518233fdd0bf548347d7b664c0e1dcc7be92b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: infomap-2.6.0-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 611.8 kB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.13

File hashes

Hashes for infomap-2.6.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 d031504c9d723b5753665b773f3a728d18dc45a474e113e5f6b18d06e75d64c8
MD5 6aeb39e36820a16324d599ac417a2d8e
BLAKE2b-256 b7fccee5f4eec7bbb0559dbd170f5567dc51d5f7714ac9f46f234013327d4eb0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for infomap-2.6.0-cp39-cp39-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 253ce73553081f5da8ec0e313115153f68cfd2580e0f86b7ddecbbef04034097
MD5 8885d63d7b4ac1d9ca7b3f4c4fbd8260
BLAKE2b-256 d5ff4e6d2b541a6a9e37100d3c3d5fcd140187374a49e713f109ed0f886872e9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: infomap-2.6.0-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 610.1 kB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.13

File hashes

Hashes for infomap-2.6.0-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 9050d3b7dba667afe69229f813d2ee300210f45a3b8a30d298caa4cda9c449c8
MD5 dd48b31b46de4ebc521c2b9e5fa91169
BLAKE2b-256 a59e199d4e8b7e955b18cc0844d597b35a43d4b7c244547b00266e3f4617b58d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for infomap-2.6.0-cp38-cp38-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 5ce1c588c9b76814c9940bc10dc7268c5d21016788d0b1b7222d7cccf74d53cf
MD5 9d5beaef0ad7dea138e0e050c7f86781
BLAKE2b-256 1a836fa8ccc9e1409bc90899b1a11a219eb2c3cdfaf99a386deff7a1d32df1de

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for infomap-2.6.0-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 c011a1597fb889a562790a86728380ed4be4d05cb08e52b625fc21f8bbad59bc
MD5 0c7808e2e2af4047e7f89e2379760b86
BLAKE2b-256 1847e182d58f309b075da9f3c8f63a417856bef0b4337ea213e2bc54c1b9bc7e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for infomap-2.6.0-cp37-cp37m-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 dfa0250cea5ffe7f507b6dab4689750dfeb2ac148d3abd80134acb1f79dc9008
MD5 b2b118d60993c392e62906551a43453d
BLAKE2b-256 db817891f314798f4b32348240c3d81f8b9dc279f19bf67ca57fd92a186e9fae

See more details on using hashes here.

File details

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

File metadata

  • Download URL: infomap-2.6.0-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 609.7 kB
  • Tags: CPython 3.6m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.13

File hashes

Hashes for infomap-2.6.0-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 bf48e11f837e3b960540b038bc4b41c6485cfbeff409b2a07ce0a5bb6553e0c3
MD5 57eabc857748a0f8f460329ab1197911
BLAKE2b-256 e5a7dbbc81c6603767ec44a90b7a3ecaa8b2ee154fab5282a709b0af517abdac

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for infomap-2.6.0-cp36-cp36m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 1f57e5f42a590ef7233c66909c8fc977f3ff82f2590eccb35766ddef4967b066
MD5 91da07092df7aff8f78bf4e6d54d6043
BLAKE2b-256 9e74b3ddfd32ce56fa7f9c75441945eaaee3eb0aab6afa7176931f92f552d8b8

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