distsim-0.3.0
توضیحات
Simulator of distributed system
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | distsim-0.3.0 |
| نام | distsim |
| نسخه کتابخانه | 0.3.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Tomáš Mikula |
| ایمیل نویسنده | mail@tomasmikula.cz |
| آدرس صفحه اصلی | https://github.com/mikulatomas/distsim |
| آدرس اینترنتی | https://pypi.org/project/distsim/ |
| مجوز | MIT license |
# distsim
Simulator of distributed system based on Python `multiprocessing.Process` and `multiprocessing.Pipe` communication.
## Installation
```bash
$ pip install distsim
```
## Examples
See `examples/` folder.
* `simple_network/` - basic network with two interconnected nodes. One message per node is sent and received.
* `nodes_with_arguments/` - two nodes, no links, each accepts one argument.
* `receive_any/` - demonstration of `Node.receive_any()` method.
* `threads/` - demonstration of spawning threads inside `Node` instance.
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl distsim-0.3.0:
pip install distsim-0.3.0.whl
نصب پکیج tar.gz distsim-0.3.0:
pip install distsim-0.3.0.tar.gz