easy-communication-0.0.1
توضیحات
A simple communication between processes
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | easy-communication-0.0.1 |
| نام | easy-communication |
| نسخه کتابخانه | 0.0.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Mikel de Velasco |
| ایمیل نویسنده | develascomikel@gmail.com |
| آدرس صفحه اصلی | https://github.com/develask/easy_communication |
| آدرس اینترنتی | https://pypi.org/project/easy-communication/ |
| مجوز | - |
## Easy Communication
It is a simmple module to create communication between diferent processes.
#### A Server sample:
```python
import easy_communication
s = easy_communication.Server()
def echo(x):
print(x)
return "New message"
s.handler = echo
s.start()
```
#### How to send data from other proccess:
```python
import easy_communication
data = "my data"
returned_data = easy_communication.send_data(data)
assert returned_data == "New message"
```
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl easy-communication-0.0.1:
pip install easy-communication-0.0.1.whl
نصب پکیج tar.gz easy-communication-0.0.1:
pip install easy-communication-0.0.1.tar.gz