Skip to main content
https://badge.fury.io/py/epydemic.svg https://readthedocs.org/projects/pyepydemic/badge/?version=latest https://github.com/simoninireland/epydemic/actions/workflows/ci.yaml/badge.svg https://pepy.tech/badge/epydemic https://zenodo.org/badge/DOI/10.5281/zenodo.6875267.svg https://www.gnu.org/graphics/gplv3-88x31.png

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

Author and license

Copyright (c) 2017-2024, Simon Dobson <simoninireland@gmail.com>

Licensed under the GNU General Public Licence v3.

Metadata

Release files for epydemic 1.14.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for epydemic 1.14.1
File Size Uploaded
epydemic-1.14.1.tar.gz 103.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for epydemic 1.14.1
File Interpreter ABI Platform
epydemic-1.14.1-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 220.7 kB

Release files / epydemic-1.14.1.tar.gz

Download URL epydemic-1.14.1.tar.gz
Size 103.3 kB
Tags Source
SHA-256 checksum
How to use checksums
067f8b33f77059494c464fb25e45886444262a7f902b3719f663be3c05e64ba7
BLAKE2b-256 checksum
How to use checksums
970690036a9b7d4b4d29a28c6272b7909470dce4458c8b349e9404b7063e1f30
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / epydemic-1.14.1-py2.py3-none-any.whl

Download URL epydemic-1.14.1-py2.py3-none-any.whl
Size 117.4 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
0e9f1bf22a3cd36dec6971330605ad635432f4275b276df2de2562f4b1e678c8
BLAKE2b-256 checksum
How to use checksums
5c058ce2ec30313460eead36312c81676363dd09400530685895494d0600bbb3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release history Release notifications | RSS feed

This release

1.14.1 This release

2 release files

1.12.1

2 release files

1.11.1

2 release files

1.10.1

2 release files

1.9.4

2 release files

1.9.3

2 release files

1.9.2

2 release files

1.9.1

2 release files

1.8.1

2 release files

1.7.2

2 release files

1.7.1

2 release files

1.6.1

2 release files

1.5.1

2 release files

1.4.2

2 release files

1.4.1

2 release files

1.3.2

2 release files

1.3.1

2 release files

1.2.1

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.0

2 release files

0.99.8

2 release files

0.99.7

2 release files

0.99.6

2 release files

0.99.5

2 release files

0.99.4

2 release files

0.99.3

2 release files

0.99.2

2 release files

0.99.1

1 release file

0.5.1

1 release file

0.4.2

1 release file

0.4.1

1 release file

0.3.1

1 release file

0.3.0

1 release file

0.2.0

1 release file

0.1.1

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page