Skip to main content

Epidemic network simulations in Python

Project description


epydemic is a Python library that implements simulations of epidemic (and other) processes over networks. Epidemic processes are very important in both network science and its applications. The most common application is to study the was in which diseases progress in different network conditions, depending on their infectiousness and other properties.

epydemic provides the basic simulation machinery for performing epidemic simulations under two different simulation regimes: synchronous simulation in which time proceeds in discrete time intervals, and stochastic or Gillespuie simulations which are better for handling a wider range of probabilities (but which are slightly harder to specify).


You can install epydemic directly from PyPi using pip:

pip install epydemic

The master distribution of epydemic is hosted on GitHub. To obtain a copy, just clone the repo:

git clone
cd epydemic
python install


The doc/ directory contains an IPython notebook that describes the use of epydemic in detail. You can also read it directly online <>.

Author and license

Copyright (c) 2017, Simon Dobson <>

Licensed under the GNU General Public Licence v.2.0 <>.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for epydemic, version 0.3.1
Filename, size File type Python version Upload date Hashes
Filename, size epydemic-0.3.1.tar.gz (42.6 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page