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-2.0.1.tar.gz (299.9 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.0.1-cp39-cp39-win_amd64.whl (656.6 kB view details)

Uploaded CPython 3.9Windows x86-64

infomap-2.0.1-cp39-cp39-macosx_10_15_x86_64.whl (757.0 kB view details)

Uploaded CPython 3.9macOS 10.15+ x86-64

infomap-2.0.1-cp38-cp38-win_amd64.whl (655.1 kB view details)

Uploaded CPython 3.8Windows x86-64

infomap-2.0.1-cp38-cp38-macosx_10_14_x86_64.whl (757.7 kB view details)

Uploaded CPython 3.8macOS 10.14+ x86-64

infomap-2.0.1-cp37-cp37m-win_amd64.whl (654.3 kB view details)

Uploaded CPython 3.7mWindows x86-64

infomap-2.0.1-cp37-cp37m-macosx_10_14_x86_64.whl (757.2 kB view details)

Uploaded CPython 3.7mmacOS 10.14+ x86-64

infomap-2.0.1-cp36-cp36m-win_amd64.whl (654.3 kB view details)

Uploaded CPython 3.6mWindows x86-64

infomap-2.0.1-cp36-cp36m-macosx_10_14_x86_64.whl (757.2 kB view details)

Uploaded CPython 3.6mmacOS 10.14+ x86-64

File details

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

File metadata

  • Download URL: infomap-2.0.1.tar.gz
  • Upload date:
  • Size: 299.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for infomap-2.0.1.tar.gz
Algorithm Hash digest
SHA256 53c127f420d36b3709074610896f035ed5db23047067599942c276ad055568e6
MD5 2a424edd4ce44e18106d5c01d9046f95
BLAKE2b-256 5997be3325a380d2bc6e5e94bf1a68e12f6952fdab29504722befbe435f368a0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: infomap-2.0.1-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 656.6 kB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for infomap-2.0.1-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 8142e039c996e0de174cd567ba28d5cc163d39b9098b7389f28a465b798ec82e
MD5 c1bbefe8b65b454c1ab1c8ef1d3d55a5
BLAKE2b-256 b7c87befb1a82dbbf5376e07785c35436a1b2dbda4158b0d240181a2607496ab

See more details on using hashes here.

File details

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

File metadata

  • Download URL: infomap-2.0.1-cp39-cp39-macosx_10_15_x86_64.whl
  • Upload date:
  • Size: 757.0 kB
  • Tags: CPython 3.9, macOS 10.15+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for infomap-2.0.1-cp39-cp39-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 752e3525b2bd6aebf8953155926ca3dd07907c8ba233e30b744fbd3942815dad
MD5 1655346859ec37522afa1e111598fb69
BLAKE2b-256 a43c893ecb1c38c3231d4229e3a10d4bbcced627f170cc465794fefa6ee9e4fb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: infomap-2.0.1-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 655.1 kB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for infomap-2.0.1-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 842a8df7259c7acc286df5f588b689268d654bb8958ffcbf3282d64818fee2ad
MD5 f772f6aeaf4142ce50f50a4f02c1f585
BLAKE2b-256 78018d8910a361e301ea5dc6fbb12dd4ac21bfa0e6e07f9bb2e9cd663484fd7a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: infomap-2.0.1-cp38-cp38-macosx_10_14_x86_64.whl
  • Upload date:
  • Size: 757.7 kB
  • Tags: CPython 3.8, macOS 10.14+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for infomap-2.0.1-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 8245323b1d1eb15fabe6f53146906b012868e4d1858ecc19eaae432390a6c5f2
MD5 89a9f9306adef54c51a0f42f884b2c0a
BLAKE2b-256 5dcef390b00823cb909f9414a53f6eeb716e373fdac194539a7f1c51181dccbe

See more details on using hashes here.

File details

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

File metadata

  • Download URL: infomap-2.0.1-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 654.3 kB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for infomap-2.0.1-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 ee9c09f1a04d5e869b43e205403857d450235814c1a12d4c5ad8238ca0348913
MD5 1a93803dcfdaf2111c3ee5427bc1329c
BLAKE2b-256 3d2ebfb88311737859655840ddd157c5764ddfb9bcd3a1a92d75760012e4c149

See more details on using hashes here.

File details

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

File metadata

  • Download URL: infomap-2.0.1-cp37-cp37m-macosx_10_14_x86_64.whl
  • Upload date:
  • Size: 757.2 kB
  • Tags: CPython 3.7m, macOS 10.14+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for infomap-2.0.1-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 7b58c8acb208cbf96c213cea8f8b349d16d508746f09d13d3dd24c499b23f174
MD5 b6ac4fbb52249ef2fe199d496ba12281
BLAKE2b-256 904f184e011b3c91ce98d7e2b2f99320629073cc0ffa000944923165329e053c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: infomap-2.0.1-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 654.3 kB
  • Tags: CPython 3.6m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for infomap-2.0.1-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 925bd29d1d42e4fec63a45bbcc4d275edcc6b82499f93395ed69e2c1f07a0704
MD5 84065ac8ed20d59a212db4eb920edbe4
BLAKE2b-256 2e8f5e0a69f52cba674a5d621a369f0ef193d5062ae9103a4c081427346e5fce

See more details on using hashes here.

File details

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

File metadata

  • Download URL: infomap-2.0.1-cp36-cp36m-macosx_10_14_x86_64.whl
  • Upload date:
  • Size: 757.2 kB
  • Tags: CPython 3.6m, macOS 10.14+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for infomap-2.0.1-cp36-cp36m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 bd4b51233eaaf478349b5da0171b12e97035ad77cfb96a7d838feb895a780c36
MD5 9efdef7e231e031bbdb67e1e209ed0ac
BLAKE2b-256 c90a8d6ffb10771a880c554e2734e7f77d548ede5a9bbae266ddbe917118e450

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