Skip to main content

A stochastic, interaction-based infectious disease model

Project description

Simfection

Simfection is an open-source, stochastic, interactions-based infectious disease model.

Getting Started

Requirements

simfection has only been tested with Python 3.7.

Installing from PyPI

It is recommended that you install simfection in a virtual environment. A great place to keep your virtual environments is in a $HOME/.venv/ directory. If you do not already have such a directory, (1) navigate to your home directory, (2) create it, and (3) enter into the directory.

cd $HOME # $HOME may not be a defined variable for you. If not, navigate home.
mkdir .venv
cd .venv

First, (1) create the a virtual environment called simfection using the venv module. Next (2) activate the virtual environment and (3) install simfection. Finally, (4) copy the command line executable to your main environment and (5) deactivate the birtual environment. (Note: you may need to change the final path /usr/local/bin if you are running Windows.)

python3 -m venv simfection
source simfection/bin/activate
pip3 install simfection
cp simfection/bin/simfection /usr/local/bin/
deactivate

Installing simfection into a virtual environment and then making it accessible from within your main environment avoids any version conflicts with simfection's dependencies.

Inside the simfection/ directory, execute

python3 setup.py install

To test, change to any other directory and execute simfection -h. If it was install correctly, you should see a list of available flags.

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

simfection-0.0.7.tar.gz (12.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

simfection-0.0.7-py3-none-any.whl (16.7 kB view details)

Uploaded Python 3

File details

Details for the file simfection-0.0.7.tar.gz.

File metadata

  • Download URL: simfection-0.0.7.tar.gz
  • Upload date:
  • Size: 12.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for simfection-0.0.7.tar.gz
Algorithm Hash digest
SHA256 a641d080df6b43e9755068dc17662cf875a7aa6c75368a3b0082b5ee11198afc
MD5 a6b9f8e521a19fa19612d809d550e46f
BLAKE2b-256 a980876dbedbd4ed7e891c8e56de08a5d967f0f952ff0a4b62de12506d587ed5

See more details on using hashes here.

File details

Details for the file simfection-0.0.7-py3-none-any.whl.

File metadata

  • Download URL: simfection-0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 16.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for simfection-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 c60486fb5dff722566d64ac7cfbab931c4f75af174a3d75d4f176b35197a2e0a
MD5 d77aa055aa577ba63afbf57b54aeeb2b
BLAKE2b-256 6660f2fc2b23802378560a0e11cdb34b92e398954f2a36f13172502b6ebcc5ca

See more details on using hashes here.

Supported by

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