PyPhi is a Python library for computing integrated information.

To report issues, please use the issue tracker on the GitHub repository. Bug reports and pull requests are welcome.

Getting started

The object is the main object on which computations are performed. It represents the network of interest.

The pyphi.subsystem object is the secondary object; it represents a subsystem of a network. \(\Phi\) is defined on subsystems.

The pyphi.compute module is the main entry-point for the library. It contains methods for calculating concepts, constellations, complexes, etc.


The best way to familiarize yourself with the software is to go through the examples below, following along in a REPL.


PyPhi can be configured in various important ways; see below for details.