Skip to main content

Documentation PyPI Version Python Version Anaconda Version PyPI Downloads

Sci. Rep. Cited by arXiv DOI Contributor Covenant

Tests Coverage

[!IMPORTANT] ⚡ Rust implementation now available! All core measures have been reimplemented in infomeasure-rs (crate docs) with compile-time type safety, GPU acceleration, and even faster execution. Check out the Rust Guide if you need maximum performance for production or large-scale analysis. Find the benchmark and interactive Rust vs Python performance comparison here.

Continuous and discrete entropy and information measures using different estimation techniques.


For details on how to use this package, see the Guide or the Documentation.

Cited in research

infomeasure is used across research fields (selection, as of August 2026):

See all citations on Semantic Scholar.

Setup

This package can be installed from PyPI using pip:

pip install infomeasure

This will automatically install all the necessary dependencies as specified in the pyproject.toml file. It is recommended to use a virtual environment, e.g. using conda, mamba or micromamba (they can be used interchangeably). infomeasure can be installed from the conda-forge channel.

conda create -n im_env -c conda-forge python
conda activate im_env
conda install -c conda-forge infomeasure

Development Setup

For development, we recommend using micromamba to create a virtual environment (conda or mamba also work) and installing the package in editable mode. After cloning the repository, navigate to the root folder and create the environment with the desired python version and the dependencies.

micromamba create -n im_env -c conda-forge python
micromamba activate im_env

To let micromamba handle the dependencies, use the requirements files

micromamba install -f requirements/build_requirements.txt \
  -f requirements/linter_requirements.txt \
  -f requirements/test_requirements.txt \
  -f requirements/doc_requirements.txt
pip install --no-build-isolation --no-deps -e .

Alternatively, if you prefer to use pip, installing the package in editable mode will also install the development dependencies.

pip install -e ".[all]"

Now, the package can be imported and used in the python environment, from anywhere on the system if the environment is activated. For new changes, the repository only needs to be updated, but the package does not need to be reinstalled.

Set up Jupyter kernel

If you want to use infomeasure with its environment im_env in Jupyter, run:

pip install --user ipykernel
python -m ipykernel install --user --name=im_env

This allows you to run Jupyter with the kernel im_env (Kernel > Change Kernel > im_env)

Acknowledgments

This project has received funding from the European Research Council (ERC) under the European Union's Horizon 2020 research and innovation programme (grant agreement No 851255). This work was partially supported by the María de Maeztu project CEX2021-001164-M funded by the MICIU/AEI/10.13039/501100011033 and FEDER, EU.

Metadata

Release files for infomeasure 0.6.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for infomeasure 0.6.3
File Size Uploaded
infomeasure-0.6.3.tar.gz 173.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for infomeasure 0.6.3
File Interpreter ABI Platform
infomeasure-0.6.3-py3-none-any.whl Python 3 none any Details

Total release size: 436.6 kB

Release files / infomeasure-0.6.3.tar.gz

Download URL infomeasure-0.6.3.tar.gz
Size 173.0 kB
Tags Source
SHA-256 checksum
How to use checksums
2bbdfad86e23f91af788ee36f13d94b6de85c5105266a21247c87e91a96f64ea
BLAKE2b-256 checksum
How to use checksums
2cc125a30ef7fba7791386ec8425819e8903f18c28637a105507bbc254f122b9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 28, 2026.

Transparency log

Release files / infomeasure-0.6.3-py3-none-any.whl

Download URL infomeasure-0.6.3-py3-none-any.whl
Size 263.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
847858a532fdfd63405e9bc5526d793ba8785986919325ee696e2568a1dd53c3
BLAKE2b-256 checksum
How to use checksums
7dd377b531fd2acb665d97e858fa7c6d1ef4610987d654e739b93385a8578a9c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 28, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.6.3 This release

2 release files

0.6.2

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.3

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page