Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

Epidemic network simulations in Python

Project description

https://badge.fury.io/py/epydemic.svg https://readthedocs.org/projects/pyepydemic/badge/?version=latest https://api.travis-ci.org/simoninireland/epydemic.svg?branch=master https://coveralls.io/repos/github/simoninireland/epydemic/badge.svg?branch=master

Overview

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 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.

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
python setup.py install

Documentation

API documentation for epydemic is available on ReadTheDocs (please note the slightly different project name).

Author and license

Copyright (c) 2017-2019, Simon Dobson <simon.dobson@computer.org>

Licensed under the GNU General Public License v2 or later (GPLv2+).

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 1.0.0
Filename, size File type Python version Upload date Hashes
Filename, size epydemic-1.0.0-py2.py3-none-any.whl (50.3 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size epydemic-1.0.0.tar.gz (43.2 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