Skip to content

NEXT-Net

NEXT-Net-Py is a python library that can simulate epidemics with arbitrary infection distributions on large networks in an efficient way. The core algorithms are written in C++, which makes the simulations very fast (link to the original NEXT-Net repository) and wrapped using pybind11. We also have a R package.

Overview

NEXT-Net allows users to efficiently simulate epidemics (SI/SIR/SIS) on networks using various distributions (gamma, Weibull, lognormal, exponential,deterministic).

The main algorithms and their performance are discussed in our preprint.

Installation

Download the latest released version of NEXTNetPy-v\<version>-pkg.tar.gz and install with

pip install NEXTNetPy-v<version>-pkg.tar.gz

Since NEXT-Net is implemented in C++, a C++ compiler is required to install NEXTNetPy. Alternatively, if Git is available, the latest released version of NEXTNetPy can be downloaded, built and installed with

git clone --recurse-submodules --branch latest-release https://github.com/oist/NEXTNetPy.git
cd NEXTNetPy
pip install .

Getting Started

To get started with NEXT-Net, check out the Getting Started guide for installation and basic usage instructions.

Documentation Sections

Contact & Support

For questions, support, or if you think you found a bug, feel free to reach out via GitHub Issues or email us. (samuel.cure@oist.jp)