A simple communication between processes
Project description
Easy Communication
It is a simmple module to create communication between diferent processes.
A Server sample:
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:
import easy_communication
data = "my data"
returned_data = easy_communication.send_data(data)
assert returned_data == "New message"
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file easy_communication-0.0.1.tar.gz
.
File metadata
- Download URL: easy_communication-0.0.1.tar.gz
- Upload date:
- Size: 2.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.52.0 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e341974e49d3fbfe4c761435160c0c887d00f3ab54052255361ba5c1cc10106 |
|
MD5 | 2f1e1a4fcd3d90408cfb6288a51bb901 |
|
BLAKE2b-256 | 0bd8070a59b4b84a89eb8c53ab943a72e1ae37ff061fd464377b4a936232baad |
File details
Details for the file easy_communication-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: easy_communication-0.0.1-py3-none-any.whl
- Upload date:
- Size: 2.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.52.0 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 04dffe66e5e6a82a75a35ed4480bcc9e0c0bbc9ac5356021a487742025a6338e |
|
MD5 | a278f59e936282aeb5b207ac7a59fe44 |
|
BLAKE2b-256 | 104f631bbb8d786ab0bba99a1be65b051c9e0a78091a41c826474fc1e09cd223 |