Epidemic network simulations in Python
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 ways 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 Gillespie 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 firstname.lastname@example.org:simoninireland/epydemic.git cd epydemic python setup.py install
API documentation for epydemic is available on ReadTheDocs (please note the slightly different project name).