Skip to main content

Python package for epidemiological models relevant to modeling Covid-19 infections

Pre-requisite: Python 3.6 and above

To run the following models, execute (from the top-level covimath directory):

  • SIS model: python3 -m covimath.models.sis N=1000 lambda=0.05 mu=0.15 gamma=0.1 I0=1 tau=30
  • SIR model: python3 -m covimath.models.sir N=1000 I0=1 R0=0 beta=0.2 gamma=0.1 tau=150
  • SEIR model: python3 -m covimath.models.seir N=1000 E0=1 I0=1 R0=0 beta=1.38 sigma=0.19 gamma=0.34 tau=150
  • SEIRD model: python3 -m covimath.models.seird N=1000 E0=1 I0=1 R0=0 D0=0 beta=1.38 sigma=0.19 gamma=0.34 mu=0.03 tau=150

To run the tests, from the top-level covimath directory, run: pytest

A simple method to estimate beta for SIR model has been provided.

Example code can be found in a gist.

Installation: To install this package, run: pip3 install covimath

Metadata

Release files for covimath 0.1.2

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

Source distribution (sdist)

Source distribution for covimath 0.1.2
File Size Uploaded Provenance Actions
covimath-0.1.2.tar.gz 6.6 kB Without provenance Details for covimath-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for covimath 0.1.2
File Interpreter ABI Platform Actions
covimath-0.1.2-py3-none-any.whl Python 3 none any Details for covimath-0.1.2-py3-none-any.whl

Total release size: 21.6 kB

Release files / covimath-0.1.2.tar.gz

Download URL covimath-0.1.2.tar.gz
Size 6.6 kB
Tags Source
SHA-256 checksum
How to use checksums
0ed98c3039ad6329290c91c23414c8cf5fa0607aaac97e3de2291bf351b0a710
BLAKE2b-256 checksum
How to use checksums
9e10a38b6ea5fe82ecb22932cf8e0e5a10335d000f4bec39c8d0629924522957
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.20.0 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.6.8

Release files / covimath-0.1.2-py3-none-any.whl

Download URL covimath-0.1.2-py3-none-any.whl
Size 15.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2643dbd90e18feb9a91efc3d701e067586994921e9d7d6f73b0e4aec6c03c132
BLAKE2b-256 checksum
How to use checksums
63c3c6c7793f1b01b2ef23bb5cf9a13b645b97a3096bf1fdafc19bf5d03391aa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.20.0 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.6.8

Security for covimath 0.1.2

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.

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files No provenance

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