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.8.0.tar.gz (264.8 kB view details)

Uploaded Source

Built Distributions

infomap-2.8.0-cp310-cp310-win_amd64.whl (564.1 kB view details)

Uploaded CPython 3.10 Windows x86-64

infomap-2.8.0-cp310-cp310-macosx_11_0_x86_64.whl (725.6 kB view details)

Uploaded CPython 3.10 macOS 11.0+ x86-64

infomap-2.8.0-cp39-cp39-win_amd64.whl (610.9 kB view details)

Uploaded CPython 3.9 Windows x86-64

infomap-2.8.0-cp39-cp39-macosx_11_0_x86_64.whl (725.6 kB view details)

Uploaded CPython 3.9 macOS 11.0+ x86-64

infomap-2.8.0-cp38-cp38-win_amd64.whl (609.1 kB view details)

Uploaded CPython 3.8 Windows x86-64

infomap-2.8.0-cp38-cp38-macosx_11_0_x86_64.whl (730.1 kB view details)

Uploaded CPython 3.8 macOS 11.0+ x86-64

infomap-2.8.0-cp37-cp37m-win_amd64.whl (608.1 kB view details)

Uploaded CPython 3.7m Windows x86-64

infomap-2.8.0-cp37-cp37m-macosx_11_0_x86_64.whl (729.6 kB view details)

Uploaded CPython 3.7m macOS 11.0+ x86-64

File details

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

File metadata

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

File hashes

Hashes for infomap-2.8.0.tar.gz
Algorithm Hash digest
SHA256 17eff0882afa5de9bf68f2fba013b06be43d618191859e6723e008e744944e36
MD5 89d6efacb509412f684d8d2e55055e86
BLAKE2b-256 39c8d8eae845449d397d1371935f2b190945087e663fc54c5a7a527b2e48e37c

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for infomap-2.8.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 fc764da17653a9d3f839e0fd5aef9f9fb17176284c40d19759b5d162b34e5e19
MD5 5df4a063790930e9044b7907eb4a9d23
BLAKE2b-256 60e0f249a6502b13e7675c53fbab7874bf4d300493ee50db3eda00da8f328501

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for infomap-2.8.0-cp310-cp310-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 89aced2632cfcfeba9554cd4c6f890786f43176f79b4e94929b68b5a1fded6f0
MD5 4c6884209c2bbebb5e77db8ca85e72b5
BLAKE2b-256 5b87781b9ad7d31f88192d04ff9c0835d67738d6b3785a5585c76e456cf306c5

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for infomap-2.8.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 3bab9fb1e439447960e15a1fc6d681f66725b8bac9cc07ed564f38e32cc6e73a
MD5 ba9d9443a2f36e815075109f57486767
BLAKE2b-256 ad15385d2fdb7902c83c5573fb69d9c65275d93b807b9f7f58cd02141b2182a6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for infomap-2.8.0-cp39-cp39-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 e359ffed4e57c9ffaf079dfd1093172c0c2874db2b61c016878938656065390d
MD5 678d1b3e79a7044c8aab362cd6b6446a
BLAKE2b-256 c5718293e1f4f27062030ff20bf0c8461e8d126f2923d54973ff1b4c13086a87

See more details on using hashes here.

File details

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

File metadata

  • Download URL: infomap-2.8.0-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 609.1 kB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.10.11

File hashes

Hashes for infomap-2.8.0-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 e188b5622a4dceccdf268d22204e662270b59f5d40b9c59e5356bd0c1f1addbf
MD5 50f54312b51b4cddc12314e9b3a5f37c
BLAKE2b-256 7545674db728730ea703400310f862e2bd2bded58a9bba687e05d151e345412c

See more details on using hashes here.

File details

Details for the file infomap-2.8.0-cp38-cp38-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for infomap-2.8.0-cp38-cp38-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 18aeccbb35ab714b3ef511247d2084901c0b19b0a74ee2d012f3b0af40bd7f2a
MD5 22310a132664c2814d901b9b2dcdb9ed
BLAKE2b-256 b455a92635c8796d312d31e754fb9147cd7af896fd511a798212c579cbf1da77

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for infomap-2.8.0-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 c04304d06c404beb2f4df334dcb6400d68b4b5dbc1bdd8f17dc20af8a5d88cbb
MD5 a11a4abece0b42707a5a4e76fdaab7ad
BLAKE2b-256 1f3e6f1dc54c734b87612840bcf9662947dbb26294f3446004289855ea49cc2b

See more details on using hashes here.

File details

Details for the file infomap-2.8.0-cp37-cp37m-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for infomap-2.8.0-cp37-cp37m-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 2d23ec6c8c6ce5e6e682d8e37c17f0a516ecc0b65fe1ec9a46708cd1e9e4956a
MD5 ba59c87169a83831352a60b140e8106b
BLAKE2b-256 34e471111ad366db2a12a7002e3a4b5c70f26f889c243aa14efb7f0033d68d3b

See more details on using hashes here.

Supported by

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