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.1.0.tar.gz (299.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.1.0-cp39-cp39-win_amd64.whl (656.5 kB view details)

Uploaded CPython 3.9Windows x86-64

infomap-2.1.0-cp39-cp39-macosx_10_15_x86_64.whl (757.1 kB view details)

Uploaded CPython 3.9macOS 10.15+ x86-64

infomap-2.1.0-cp38-cp38-win_amd64.whl (654.9 kB view details)

Uploaded CPython 3.8Windows x86-64

infomap-2.1.0-cp38-cp38-macosx_10_14_x86_64.whl (757.6 kB view details)

Uploaded CPython 3.8macOS 10.14+ x86-64

infomap-2.1.0-cp37-cp37m-win_amd64.whl (654.2 kB view details)

Uploaded CPython 3.7mWindows x86-64

infomap-2.1.0-cp37-cp37m-macosx_10_14_x86_64.whl (757.1 kB view details)

Uploaded CPython 3.7mmacOS 10.14+ x86-64

infomap-2.1.0-cp36-cp36m-win_amd64.whl (654.2 kB view details)

Uploaded CPython 3.6mWindows x86-64

infomap-2.1.0-cp36-cp36m-macosx_10_14_x86_64.whl (757.1 kB view details)

Uploaded CPython 3.6mmacOS 10.14+ x86-64

File details

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

File metadata

  • Download URL: infomap-2.1.0.tar.gz
  • Upload date:
  • Size: 299.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12

File hashes

Hashes for infomap-2.1.0.tar.gz
Algorithm Hash digest
SHA256 84efdeea6cb3664edad563d0027548a93016b0abf5bef5dbdeea7e49a5493e86
MD5 c528856f90e65510d67a8719ef9eeabf
BLAKE2b-256 22c7897da0282c9e88f5d2fb668fbd2b86600ff6a02778d203ebfa11b6659ba7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: infomap-2.1.0-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 656.5 kB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12

File hashes

Hashes for infomap-2.1.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 d0ff23473794aecf97bdc967c0f2fa1c7886b5fc9c31de5864a7f4184f7bf1e6
MD5 245d89d30f886645ec17cd8a373c49d9
BLAKE2b-256 c6c6e32f8be7d4aaee3a95cc4b578896fa43fb9975ced0cb3f6b2abdc5824171

See more details on using hashes here.

File details

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

File metadata

  • Download URL: infomap-2.1.0-cp39-cp39-macosx_10_15_x86_64.whl
  • Upload date:
  • Size: 757.1 kB
  • Tags: CPython 3.9, macOS 10.15+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12

File hashes

Hashes for infomap-2.1.0-cp39-cp39-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 5b559b460c61e2d18234c4c5b26a5c051346ed1cf93826a1fd78f8f88954336a
MD5 a54b8f82ee6075a321d13cc38b17b9af
BLAKE2b-256 517d82fe37809e1629f0548964546dcd6f964b1d1d7b95dd907e6de12abb24b3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: infomap-2.1.0-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 654.9 kB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12

File hashes

Hashes for infomap-2.1.0-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 c2f5b3f3611941b98c093f055e8636d64b7faea70c458404f5c5689c82e29323
MD5 627aa6ed51c8fd7e5059a46bd5d3d459
BLAKE2b-256 b29e3de9732b2151596887792d94814a282379c900b8ca7564a6b3eb28bd83dd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: infomap-2.1.0-cp38-cp38-macosx_10_14_x86_64.whl
  • Upload date:
  • Size: 757.6 kB
  • Tags: CPython 3.8, macOS 10.14+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12

File hashes

Hashes for infomap-2.1.0-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 a6d386fae146ebb8a6b7237a9e4bfbe55071fb351f40674c5ae47b819be5ad1c
MD5 8819e7a795b185e289af9983a12cd2ff
BLAKE2b-256 4017723cead438bc5d3f872297abae741428f2c75fbcfb3c891ac7cc9633ddfb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: infomap-2.1.0-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 654.2 kB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12

File hashes

Hashes for infomap-2.1.0-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 3a75a37f9298cb2d7caac1f81c1043d4292a6d8fbf8e76b8310b1428a7d5d4d8
MD5 8befead9f434b4a467101139bd5e2a78
BLAKE2b-256 3f4197e57346bc48c4d3c211f61eb95c50550bf132ab74d7906b97a9f4ab7c62

See more details on using hashes here.

File details

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

File metadata

  • Download URL: infomap-2.1.0-cp37-cp37m-macosx_10_14_x86_64.whl
  • Upload date:
  • Size: 757.1 kB
  • Tags: CPython 3.7m, macOS 10.14+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12

File hashes

Hashes for infomap-2.1.0-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 95b5b9dbf7fd532f74b845e1d606c719905c11fafed6dfaac9b4f5afa6ddad4e
MD5 5f1877fa2e78b9259f5cb3998cd1ffa8
BLAKE2b-256 02e918d381aac96dea0a6b353e806984c49ce6bb96973a6a6bf46b0bdb05a799

See more details on using hashes here.

File details

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

File metadata

  • Download URL: infomap-2.1.0-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 654.2 kB
  • Tags: CPython 3.6m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12

File hashes

Hashes for infomap-2.1.0-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 2c2580983d4517f18d0d53c1feeb2d812fce76e7aa9c54a964eac893ffdf82dd
MD5 97dc295ca550c28345c7e345bfccdc1e
BLAKE2b-256 4b1d96623509ae740089acacb6f42cec5a0ca1b54bfdf7a6ad7ff626e474a131

See more details on using hashes here.

File details

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

File metadata

  • Download URL: infomap-2.1.0-cp36-cp36m-macosx_10_14_x86_64.whl
  • Upload date:
  • Size: 757.1 kB
  • Tags: CPython 3.6m, macOS 10.14+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12

File hashes

Hashes for infomap-2.1.0-cp36-cp36m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 8305bafbd511620f5b2bc465032645b660721bde2da9ecbabf6dbed4b1274421
MD5 7266ecdc299a9d46b02a81173cfa0983
BLAKE2b-256 55de6cd9efc649e356fb5f7ca2f50581770a8a74818e630789eb89390c9d5a15

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