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.
Confirm Installation
To confirm that simfection was successfully installed, execute simfection -h at command line. You should see a list of available parameters.
To execute a model run, (1) change our of the .venv directory and (2) execute simfection.
cd $HOME
simfection
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file simfection-0.1.0.tar.gz.
File metadata
- Download URL: simfection-0.1.0.tar.gz
- Upload date:
- Size: 12.3 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fae11efcd0ea19f216b1e1b27728559a95effbc054fde627f20e5360b4077f97
|
|
| MD5 |
4ef04fe59f776e03365bffaabf7cb5ec
|
|
| BLAKE2b-256 |
f306c9779a09250982180dc25bef5c4365440281ddd261fbf4f9bad15023d884
|
File details
Details for the file simfection-0.1.0-py3-none-any.whl.
File metadata
- Download URL: simfection-0.1.0-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ccc8f0e18566f6b15253d90b6a5219a342fca275683f4c8c55b49910ef7980d8
|
|
| MD5 |
9de76e99edca03887539f231ecda861b
|
|
| BLAKE2b-256 |
3a64ab181cc0406254faf5f8596c043791a9c1205abff649be9198cbbef1ba26
|