Metadata-Version: 2.1
Name: distsim
Version: 0.2.2
Summary: Simulator of distributed system
Home-page: https://github.com/mikulatomas/distsim
Author: Tomáš Mikula
Author-email: mail@tomasmikula.cz
License: MIT license
Keywords: distributed system simulator simple education parallelism
Platform: UNKNOWN
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Provides-Extra: docs
License-File: 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.

