Epidemic network simulations in Python
Project description
Overview
epydemic is a Python library that implements simulations of epidemic (and other) processes on 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, but epydemic can be used to study any network processes of interest.
epydemic provides simulation under synchronous and stochastic (Gillespie) dynamics, using the well-known networkx package to represent and manipulate networks. It supports a generic model for compartmented models of disease with several standard models provided and which can be extended to other, more complex, diseases. It also supports other network processes such as addition-deletion networks and pulse-coupled synchronisation, generators for several different ensembles of random networks, and a library for handling generating functions used in network analysis.
epydemic is built on top of the epyc experiment management library, allowing simulations to be conducted at scale on individual machines, multicore machines, and parallel computing clusters.
Installation
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 git@github.com:simoninireland/epydemic.git cd epydemic pip install .
Documentation
API documentation for epydemic is available on ReadTheDocs (please note the slightly different project name).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for epydemic-1.13.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 29731422e7be18fdb63555adba716dbf3f80e5dae6a5b04e0642911fff08d69a |
|
MD5 | a9e3506040e3b3344dc631adf95abe52 |
|
BLAKE2b-256 | 7f8100cb9a86b3ac2dc901070fbce032c5430a2c4d88db61b33def4eacb860b7 |