Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

epydemic

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

epydemic

Epidemic network simulations in Python

  • 1.14.1
  • PyPI
  • Socket score

Maintainers
1

epydemic: Epidemic (and other) simulations on networks in Python

.. image:: https://badge.fury.io/py/epydemic.svg :target: https://badge.fury.io/py/epydemic

.. image:: https://readthedocs.org/projects/pyepydemic/badge/?version=latest :target: https://pyepydemic.readthedocs.io/en/latest/index.html

.. image:: https://github.com/simoninireland/epydemic/actions/workflows/ci.yaml/badge.svg :target: https://github.com/simoninireland/epydemic/actions/workflows/ci.yaml

.. image:: https://pepy.tech/badge/epydemic :target: https://pepy.tech/project/epydemic

.. image:: https://zenodo.org/badge/DOI/10.5281/zenodo.6875267.svg :target: https://doi.org/10.5281/zenodo.6875267

.. image:: https://www.gnu.org/graphics/gplv3-88x31.png :target: https://www.gnu.org/licenses/gpl-3.0.en.html

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 <https://pyepydemic.readthedocs.io/en/latest/>_ (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 <https://www.gnu.org/licenses/gpl-3.0.en.html>_.

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc