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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

infomap-2.4.0-cp310-cp310-win_amd64.whl (623.1 kB view details)

Uploaded CPython 3.10Windows x86-64

infomap-2.4.0-cp310-cp310-macosx_10_15_x86_64.whl (700.1 kB view details)

Uploaded CPython 3.10macOS 10.15+ x86-64

infomap-2.4.0-cp39-cp39-win_amd64.whl (622.8 kB view details)

Uploaded CPython 3.9Windows x86-64

infomap-2.4.0-cp39-cp39-macosx_10_15_x86_64.whl (700.1 kB view details)

Uploaded CPython 3.9macOS 10.15+ x86-64

infomap-2.4.0-cp38-cp38-win_amd64.whl (621.0 kB view details)

Uploaded CPython 3.8Windows x86-64

infomap-2.4.0-cp38-cp38-macosx_10_15_x86_64.whl (700.5 kB view details)

Uploaded CPython 3.8macOS 10.15+ x86-64

infomap-2.4.0-cp37-cp37m-win_amd64.whl (620.5 kB view details)

Uploaded CPython 3.7mWindows x86-64

infomap-2.4.0-cp37-cp37m-macosx_10_15_x86_64.whl (700.0 kB view details)

Uploaded CPython 3.7mmacOS 10.15+ x86-64

infomap-2.4.0-cp36-cp36m-win_amd64.whl (620.5 kB view details)

Uploaded CPython 3.6mWindows x86-64

infomap-2.4.0-cp36-cp36m-macosx_10_14_x86_64.whl (699.8 kB view details)

Uploaded CPython 3.6mmacOS 10.14+ x86-64

File details

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

File metadata

  • Download URL: infomap-2.4.0-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 623.1 kB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.8.12

File hashes

Hashes for infomap-2.4.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 97fdf308767dc78c659bf156aed85f22e5ea09312614e4b300977e90fae834f1
MD5 ec2f95604bdfd792babb0b0eb722e55b
BLAKE2b-256 3d1ddbf37dff64d69243305d99046cce99d7f379b609a5433e3725e716cffb09

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for infomap-2.4.0-cp310-cp310-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 f14d4cdff1303aed8a0f114832d639743cbb9d97a53262554e5a14d034be3601
MD5 45caed8ef40335458f484b14dc6c6256
BLAKE2b-256 a3ce55b985ef7721d5c3b39e3c2289eddc232a82838a5a63985e5dce8a417542

See more details on using hashes here.

File details

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

File metadata

  • Download URL: infomap-2.4.0-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 622.8 kB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.8.12

File hashes

Hashes for infomap-2.4.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 2a76397633e37e060b14c0c59c3c4abf62f6f3d105c5faaa41303634a4d9b845
MD5 cdeb814e5f7693a82cde61516ecf6700
BLAKE2b-256 8a0df56f01cc5278165ef41bf8897a5ca4feb061fa98ac9bb2917fcb198f96b6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for infomap-2.4.0-cp39-cp39-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 b40f078a9823b90bc1c040e245a693be040dfe55ca3e6580357583740ea2d31a
MD5 6b65ca85fdb45af54ea5605b855f3869
BLAKE2b-256 db9fe78b48d22da9fa5f02488679f17dbef147caa73ba693160c54f5dd947c97

See more details on using hashes here.

File details

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

File metadata

  • Download URL: infomap-2.4.0-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 621.0 kB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.8.12

File hashes

Hashes for infomap-2.4.0-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 7a1ca2e7b0ebb87ea662f99c6beaaca6beb4ca140608f3384989ddf5d768da60
MD5 3ff44f24429b7c9cf5edb1f70fb1f762
BLAKE2b-256 90197d70e6508a765c7aa675aed1c696b3420814c630dac75b046e4a336623de

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for infomap-2.4.0-cp38-cp38-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 2b4341c57ed1cfd5ea6f92b3499d4a115b1d1bd877a8cdc89579a48ed52806cd
MD5 0f5565d2bd795a534306d6c4aaf6d21b
BLAKE2b-256 2bff0252a9a5f99471ec7e97ec05e4944593edacb83914fe0a889942e67f06a7

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for infomap-2.4.0-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 8914cfedd2a5348b87eed2407f207acaa1b8f8795e5de8b17e1a79236afa61eb
MD5 e14c848eda7892947095d7e3580b113d
BLAKE2b-256 d5583febfc3c7661770bf525598bda48c2db1f8fd89dd0a5eeb8e0d78ebd85c6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for infomap-2.4.0-cp37-cp37m-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 165f2ff0be486f40c3435394ec27101cd5a51f7f5d16a60d609d74695ade2c10
MD5 9a602ae0bc25abce50995d6741ff756f
BLAKE2b-256 3713354c203f3bff02ed24ca4ed574cc333215305e395524c4b905231cb75bbb

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for infomap-2.4.0-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 47f5c856ffe1fe15d2c3f7f2f13d33890bb5ef91d6361a2d03d3e82475702c50
MD5 57610864656208152f74e0e3a67331e5
BLAKE2b-256 f6174b67d2845833fbb1f41d8f1cf8c6552074d4f575597d7f632b98abffd98e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for infomap-2.4.0-cp36-cp36m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 122381639bad35e097037df58cbd21523f4d2fd06438312995e9a98b2e152309
MD5 705a58510abab3d7f14f7b7aa834f41f
BLAKE2b-256 cb2e6575d5c6bca96e3c5b5cd36988c6c1ffdf8458d8a5e2901a379fa994a7fa

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