contagion-1.3.3
توضیحات
a Python package for node immunization and network contagion simulation
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | contagion-1.3.3 |
| نام | contagion |
| نسخه کتابخانه | 1.3.3 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Lucas McCabe |
| ایمیل نویسنده | lucas.mccabe@jhu.edu |
| آدرس صفحه اصلی | https://github.com/lucasmccabe/contagion |
| آدرس اینترنتی | https://pypi.org/project/contagion/ |
| مجوز | - |
[](https://doi.org/10.5281/zenodo.3993314)
[](https://badge.fury.io/py/contagion)
[](https://contagion.readthedocs.io/en/latest/?badge=latest)
[](https://travis-ci.com/lucasmccabe/contagion)
[](https://lbesson.mit-license.org/)
# contagion
> `contagion` is a Python package supporting node immunization and network contagion simulation
`contagion` is designed to be easy-to-use and full-featured, supporting computer scientists, public health researchers, network theorists, and more. Here are a few things we love about `contagion`:
- accessible interface for incorporating node immunization into contagion simulations
- supports immunization with delayed effect and variable immunity durations
- handles partial immunity and time-varying transmission rates
- can track symptom onset
- implements node testing policies (random, contact tracing)
## Table of Contents
* [Table of Contents](#table-of-contents)
* [Getting Started](#getting-started)
* [Documentation](#documentation)
* [Example Usage](#example-usage)
* [Citing contagion](#citing-contagion)
* [Contributing to contagion](#contributing-to-contagion)
* [Contact](#contact)
* [Requirements](#requirements)
* [License](#license)
## Getting Started
Install `contagion` with [pip](https://pypi.org/project/contagion/):
```bash
pip install contagion
```
Once `contagion` is installed, import `NetworkX` and `contagion`:
```python
import networkx
from contagion import contagion
```
## Documentation
Official documentation - including a [tutorial](https://contagion.readthedocs.io/en/latest/tutorial.html), [API reference](https://contagion.readthedocs.io/en/latest/apiref.html), and a few worked [examples](https://contagion.readthedocs.io/en/latest/examples.html) - is available on [Read the Docs](https://contagion.readthedocs.io).
## Citing contagion
If you find `contagion` useful in your work, please use the [Zenodo](https://zenodo.org/record/3993314) software citation.
## Requirements
This project was created with:
- `matplotlib==3.3.3`
- `numpy==1.19.3`
- `networkx==2.5`
- `scipy>=1.5.0`
- `seaborn==0.11.1`
## Contributing to contagion
We'd love your help! If you'd like to make an addition or improvement, please submit a [pull request](https://github.com/lucasmccabe/contagion/pulls) consisting of an atomic commit and a brief message describing your contribution. If you find something wrong, please submit a bug report to the [issue tracker](https://github.com/lucasmccabe/contagion/issues). For other questions or comments, feel free to [contact me](#citing-contagion) directly.
Thanks for helping make `contagion` better!
## Contact
- Lucas McCabe ([lucas.mccabe@jhu.edu](mailto:lucas.mccabe@jhu.edu))
## License
[MIT](https://choosealicense.com/licenses/mit/)
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl contagion-1.3.3:
pip install contagion-1.3.3.whl
نصب پکیج tar.gz contagion-1.3.3:
pip install contagion-1.3.3.tar.gz