Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

easy_communication-0.0.1.tar.gz (2.0 kB view hashes)

Uploaded Source

Built Distribution

easy_communication-0.0.1-py3-none-any.whl (2.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page