comod-0.2.1
توضیحات
Compartmental modelling Python package
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | comod-0.2.1 |
| نام | comod |
| نسخه کتابخانه | 0.2.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Dih5 |
| ایمیل نویسنده | dihedralfive@gmail.com |
| آدرس صفحه اصلی | https://github.com/dih5/comod |
| آدرس اینترنتی | https://pypi.org/project/comod/ |
| مجوز | - |
# comod
[](https://github.com/dih5/comod/releases/latest)
[](https://pypi.python.org/pypi/comod)
[](https://raw.githubusercontent.com/Dih5/comod/master/LICENSE.txt)
[](https://travis-ci.org/Dih5/comod)
[](http://comod.readthedocs.io/en/latest/?badge=latest)
Compartmental modelling Python package
## Preview


Check the [docs](https://comod.readthedocs.io/en/latest/) to see more.
## Features
- Define a model with simple rules as strings or with custom functions.
- Pre-defined models like SIR, SIS, SEIR, ...
- Community-extensions of models.
- Solve numerically for fixed or time-dependent parameters.
- Best-fit to existing data, posibly using time windows.
- Create compartment graphs.
- Export LaTeX.
- Export to Wolfram Language (Mathematica).
## Installation
Assuming you have a [Python3](https://www.python.org/) distribution with [pip](https://pip.pypa.io/en/stable/installing/), the latest pypi release can be installed with:
```
pip3 install comod
```
To install the optional dependencies you can run
```
pip3 install 'comod[extras]'
```
Mind the quotes.
## Developer information
### Instalation
To install a development version, cd to the directory with this file and:
```
pip3 install -e '.[test]'
```
As an alternative, a virtualenv might be used to install the package:
```
# Prepare a clean virtualenv and activate it
virtualenv -p /usr/bin/python3.6 venv
source venv/bin/activate
# Install the package
pip3 install -e '.[test]'
```
### Documentation
To generate the documentation, the *docs* extra dependencies must be installed.
To generate an html documentation with sphinx run:
```
make docs
```
To generate a PDF documentation using LaTeX:
```
make pdf
```
### Test
To run the unitary tests:
```
make test
```
نیازمندی
| مقدار | نام |
|---|---|
| - | numpy |
| - | scipy |
| - | pandas |
| - | nbsphinx |
| - | sphinx-rtd-theme |
| - | IPython |
| - | sympy |
| - | network2tikz |
| - | pdf2image |
| - | python-igraph |
| - | sympy |
| - | network2tikz |
| - | pdf2image |
| - | python-igraph |
| - | pytest |
| - | sympy |
| - | network2tikz |
| - | pdf2image |
| - | python-igraph |
نحوه نصب
نصب پکیج whl comod-0.2.1:
pip install comod-0.2.1.whl
نصب پکیج tar.gz comod-0.2.1:
pip install comod-0.2.1.tar.gz