Skip to main content

The nightly version of the epispot package.

Project description

epispot


epispot nightly

A Python package for the mathematical modeling of infectious diseases via compartmental models. Originally designed for epidemiologists, epispot can be adapted for almost any type of modeling scenario.

This is a nightly version of epispot and may contain possibly unstable code.
Please see usage instructions prior to adding this project as a dependency
If you prefer to use the stable version of epispot, please see the project on PyPI

Installation

The epispot package can be installed from PyPI, Anaconda, or be built from the source. However, as epispot's nightly versions cannot be released per-commit to the conda packaging registry, using Anaconda means that epispot will have to be installed via the built-in pip installer. Instructions for each platform are listed below.

PyPI

This is the easiest way to install epispot nightly. Fire up a terminal and type:

pip install epispot-nightly

Pip will ask you to install numpy and matplotlib as dependencies if you haven't already. Additionally, it may require you to install fire for the CLI. These can be installed beforehand with:

pip install numpy
pip install matplotlib
pip install fire

Update the package regularly with:

pip install epispot-nightly --upgrade

Anaconda

Please note that the nightly version is not available on the conda package registry. However, it is still possible to install on conda-based systems with

pip install epispot-nightly

which uses pip from Anaconda to install it. All dependencies are available on the conda package registry, but you may prefer to install them via pip to avoid cross-referencing packages installed on different registries.

Update the package regularly with:

pip install epispot-nightly --upgrade

If you installed the dependencies on conda instead of pip you may have to update them too after major releases. You can do that with:

conda update numpy
conda update matplotlib
conda update fire

Building from the source

This is the hardest way to install epispot-nightly but it can be particularly useful if you plan on helping out with the development process. The main downside of this approach is that you will have to continuously run git pull and then rerun the steps listed below to get the latest version.

Clone the repository with:

git clone https://github.com/epispot/epispot  # clone epispot/epispot
cd epispot  # open project
pip install -r requirements.txt  # install package requirements
pip install -r bin/requirements.txt  # Install CLI requirements

Then, build the nightly version with:

python setup-nightly.py install

If you're working on a patch, you may find it helpful to use

python setup-nightly.py develop

instead because it will greatly simplify the constant reinstallation of the package.

Usage

It is important to note that this package was designed specifically for getting releases out as soon as possible when modeling is important. During the COVID-19 pandemic, this strategy has allowed epispot to distribute versions quickly on PyPI, however, this package may be idle for long periods of time when there is no need for this kind of rapid distribution.

Please also note that security updates are not provided on previous nightly versions. To make sure that your version has no vulnerabilities, upgrade to the latest published version regularly. The latest version of the nightly package is the one that is maintained by our development team.

Getting Started

Make sure you are already familiar with epispot. If not, you can find epispot's auto-generated documentation here. Additionally, we highly recommend reading the epispot manual to get a better understanding of the documentation and how to use epispot.

Statuses

Pipeline Status
Travis CI Build Status
CodeCov codecov
PyPI main latest-release
PyPI nightly latest-release
Security GitHub issue custom search in repo

Contributing

Contributions are always welcome! See CONTRIBUTING.md for instructions on how to get started, including environment setup and instructions to build from the source. Please note also that epispot has many guides dedicated to certain types of contributions. Please see

Thank you to all contributors!


epispot's open-source contributors

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

epispot-nightly-2.1.1.15.tar.gz (19.6 kB view details)

Uploaded Source

Built Distribution

epispot_nightly-2.1.1.15-py3-none-any.whl (16.6 kB view details)

Uploaded Python 3

File details

Details for the file epispot-nightly-2.1.1.15.tar.gz.

File metadata

  • Download URL: epispot-nightly-2.1.1.15.tar.gz
  • Upload date:
  • Size: 19.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5

File hashes

Hashes for epispot-nightly-2.1.1.15.tar.gz
Algorithm Hash digest
SHA256 89b87c03589339da06cb00401c588ce55426dc859ad24bd46c98cfde31cd9a9e
MD5 40d402490824d60ee022bb156a8b52f1
BLAKE2b-256 b610bdc3f0c4145f57ecc47d576bd199d58a5000b7d5c64d0aed9844cf374d57

See more details on using hashes here.

File details

Details for the file epispot_nightly-2.1.1.15-py3-none-any.whl.

File metadata

  • Download URL: epispot_nightly-2.1.1.15-py3-none-any.whl
  • Upload date:
  • Size: 16.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5

File hashes

Hashes for epispot_nightly-2.1.1.15-py3-none-any.whl
Algorithm Hash digest
SHA256 f775a7469512311784873a8155ce470663760248c1b5afaa81d381fe4f2f0026
MD5 3e28b88882454b16954d9de7e93dbafd
BLAKE2b-256 1699958ab86ba06299a999e4c9af66170bdb01ab8765d0039d7e29247ae7bd49

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page