Installation#

Quick install#

Install from PyPI:

pip install networkx-backbone

Full installation#

For full functionality, install with optional dependencies. NumPy and SciPy are needed for statistical methods (marginal_likelihood_filter(), ecm_filter()), bipartite methods (sdsm(), fdsm()), doubly_stochastic_filter(), local_path_index(), and KS measures (ks_degree(), ks_weight()):

pip install networkx-backbone[full]

Conda installation#

Install from anaconda.org:

conda install -c brianckeegan networkx-backbone

Development installation#

Clone the repository and install in editable mode:

git clone https://github.com/brianckeegan/networkx_backbone.git
cd networkx_backbone
pip install -e ".[full,test]"

Run the test suite to verify the installation:

pytest

Requirements#

Package

Version

Status

Python

>= 3.10

Required

NetworkX

>= 3.0

Required

NumPy

>= 1.23

Optional (for [full])

SciPy

>= 1.9

Optional (for [full])