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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

infomap-1.7.2.tar.gz (290.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-1.7.2-cp39-cp39-win_amd64.whl (636.5 kB view details)

Uploaded CPython 3.9Windows x86-64

infomap-1.7.2-cp39-cp39-macosx_10_14_x86_64.whl (731.2 kB view details)

Uploaded CPython 3.9macOS 10.14+ x86-64

infomap-1.7.2-cp38-cp38-win_amd64.whl (634.9 kB view details)

Uploaded CPython 3.8Windows x86-64

infomap-1.7.2-cp38-cp38-macosx_10_14_x86_64.whl (731.4 kB view details)

Uploaded CPython 3.8macOS 10.14+ x86-64

infomap-1.7.2-cp37-cp37m-win_amd64.whl (634.2 kB view details)

Uploaded CPython 3.7mWindows x86-64

infomap-1.7.2-cp37-cp37m-macosx_10_14_x86_64.whl (731.1 kB view details)

Uploaded CPython 3.7mmacOS 10.14+ x86-64

infomap-1.7.2-cp36-cp36m-win_amd64.whl (634.2 kB view details)

Uploaded CPython 3.6mWindows x86-64

infomap-1.7.2-cp36-cp36m-macosx_10_14_x86_64.whl (731.1 kB view details)

Uploaded CPython 3.6mmacOS 10.14+ x86-64

File details

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

File metadata

  • Download URL: infomap-1.7.2.tar.gz
  • Upload date:
  • Size: 290.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for infomap-1.7.2.tar.gz
Algorithm Hash digest
SHA256 bafab44b0e984fcbb1481528972965118cf9393806bfb2bfe55d445acb51df11
MD5 da25db5df6ed7097bfbb77b290069779
BLAKE2b-256 5c66f8887c49e3efce9e5a254ebdba859ffe8e24edf9dc658f01dc92d1ed0fdf

See more details on using hashes here.

File details

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

File metadata

  • Download URL: infomap-1.7.2-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 636.5 kB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for infomap-1.7.2-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 ef9954c113541a08aec1cfda3104552bc93b004925ec29de83ccfbfd5bd56d7e
MD5 ddb60ce86570e71e6597d547e07108dc
BLAKE2b-256 c0c8b168eaee1139816670219f54dbd377f0e636fc607b7ba22d915d9a81c532

See more details on using hashes here.

File details

Details for the file infomap-1.7.2-cp39-cp39-macosx_10_14_x86_64.whl.

File metadata

  • Download URL: infomap-1.7.2-cp39-cp39-macosx_10_14_x86_64.whl
  • Upload date:
  • Size: 731.2 kB
  • Tags: CPython 3.9, macOS 10.14+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for infomap-1.7.2-cp39-cp39-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 1bb37e6ad15690ea91b311052e382333efa3380d9ea1ada01bdce79c607ed9b2
MD5 4e62e077e2c8df883f5ddf8d4e813af1
BLAKE2b-256 4f8778085c0f62e9d77ee408be3fc18b014905c85079c20a7dfd56f820647cfc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: infomap-1.7.2-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 634.9 kB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for infomap-1.7.2-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 0d70e6c8fdb7e9874a336e9394ceed15058c9d8e82ca4375807b41e76b3499c3
MD5 183f7d2c31a720d5f2f9a76312a63a3e
BLAKE2b-256 e3de9a4315b318fc9b0f79e619509a82e6c61fe1959ae3577331891973376d8d

See more details on using hashes here.

File details

Details for the file infomap-1.7.2-cp38-cp38-macosx_10_14_x86_64.whl.

File metadata

  • Download URL: infomap-1.7.2-cp38-cp38-macosx_10_14_x86_64.whl
  • Upload date:
  • Size: 731.4 kB
  • Tags: CPython 3.8, macOS 10.14+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for infomap-1.7.2-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 fac8c2c8528d10017101af66d5cb91e3c6315142ce6f997fb7ff397a42043a3a
MD5 ac44f61f8b133ca5f53171b6f6e64ea7
BLAKE2b-256 22c589bc922b5f2c2c54636ea5c391526560591bae43c9fd3e363e7a969e8300

See more details on using hashes here.

File details

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

File metadata

  • Download URL: infomap-1.7.2-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 634.2 kB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for infomap-1.7.2-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 794071266391946e80de6c4f0e590c7ae622c632ee5057709019db0efc5689e2
MD5 b7ef2f94e8b48bff5dee31e61b914339
BLAKE2b-256 919d3dfcf03587169b833e9d6427fcb1dd3602989b6a6bf76ff5849d20222282

See more details on using hashes here.

File details

Details for the file infomap-1.7.2-cp37-cp37m-macosx_10_14_x86_64.whl.

File metadata

  • Download URL: infomap-1.7.2-cp37-cp37m-macosx_10_14_x86_64.whl
  • Upload date:
  • Size: 731.1 kB
  • Tags: CPython 3.7m, macOS 10.14+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for infomap-1.7.2-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 91216453d62333d90996ec4858c8b02f3b68e6119b0a70aa98c9e39f8b4bf5e6
MD5 6f556aa14da948ecf5d8f9e00ca6ab4b
BLAKE2b-256 928c66e8b60148571dbc2e2c59d7dea9ddf226292f4072c39c241d3729465677

See more details on using hashes here.

File details

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

File metadata

  • Download URL: infomap-1.7.2-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 634.2 kB
  • Tags: CPython 3.6m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for infomap-1.7.2-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 fa7f5a84a9bf8517ec0039d589b094100c379975f83cce72b061325612e9ba20
MD5 49ee6564919a6ff99c1b150ac49722f2
BLAKE2b-256 3f8f8dbda201e44b032f698d78add462337882f5bb1dbe8f3144846c8e1b77da

See more details on using hashes here.

File details

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

File metadata

  • Download URL: infomap-1.7.2-cp36-cp36m-macosx_10_14_x86_64.whl
  • Upload date:
  • Size: 731.1 kB
  • Tags: CPython 3.6m, macOS 10.14+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for infomap-1.7.2-cp36-cp36m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 c889290891f1a7c7c376e2ee134603dcdf976199e3c9067423ece43033ca083c
MD5 1b21fd3208d96ccc68b1f0526d98631e
BLAKE2b-256 b020285313766ae19c446d20b1484e860a9159436234ad818904f598f2774b50

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