epydemic: Epidemic (and other) simulations on networks in Python
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).
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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| epydemic-1.14.1.tar.gz | 103.3 kB | Without provenance | Details for epydemic-1.14.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| epydemic-1.14.1-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for epydemic-1.14.1-py2.py3-none-any.whl |
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
|
Security for epydemic 1.14.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.