Installation
covsirphy
library supports Python 3.8 and newer versions.
Warning
We cannot usecovsirphy
on Google Colab, which uses Python 3.7. Binder is recommended.
Please use covsirphy
with a virtual environment (venv/poetry/conda etc.) because it has many dependencies as listed in “tool.poetry.dependencies” of pyproject.toml.
If you have any concerns, kindly create issues in CovsirPhy: GitHub Issues page. All discussions are recorded there.
Stable version
The latest stable version of CovsirPhy is available at PyPI (The Python Package Index): covsirphy.
pip install --upgrade covsirphy
Please check the version number as follows.
import covsirphy as cs
cs.__version__
Development version
You can find the latest development in GitHub repository: CovsirPhy and install it with pip
command.
pip install --upgrade "git+https://github.com/lisphilar/covid19-sir.git#egg=covsirphy"
If you have a time to contribute CovsirPhy project, please refer to Guideline of contribution. Always welcome!
Installation with Anaconda
Anaconda users can install covsirphy
in a conda environment (named “covid” for example). To avoid version conflicts of dependencies, fiona
, ruptures
and pip
should be installed with conda command in advance.
conda create -n covid python=3 pip
conda activate covid
conda install -c conda-forge fiona ruptures
pip install --upgrade covsirphy
To exit this conda environment, please use conda deactivate
.
Start analysis
What to do next? Please refer to tutorials of this documentation. The first tutorial is Data preparation. If you have any questions and any advice, feel free to contact developers and users via GitHub Issues.