light-weight support for connecting different python scripts
EComs: easy handling of communication between python scripts
This library is a light-weight support for connecting different python scripts
The minimal required python version is
The easiest installation can be done by
pip3 install datesy.
Once installed, just
import ecoms the package.
For exchanging data between two endpoints (the scripts), one must be the master and the other one the slave.
The master must open the connection first for the slave to connect to it. Once the scripts are connected, communication is completely bi-directional.
Initialize the communication and send "abc" as payload to the slave and wait infinitely until answering:
communication = EasyCommunicationMaster(some_port)
data = master.wait_until_receiving()
Initialize the communication and return the acceptance and echo received payload "abc":
slave = EasyCommunicationSlave(master_ip, master_port)
data = slave.wait_until_receiving()
For further guidance and help look at the documentation
Requests & contribution
If you desire anything changed in the package or need another feature please just create an issue.
I am happy for everybody wanting to contribute. Simplest way is to start writing issues, forking the repository and contacting me ;)
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size EasyCommunications-0.1.0-py3-none-any.whl (10.2 kB)||File type Wheel||Python version py3||Upload date||Hashes View hashes|
|Filename, size EasyCommunications-0.1.0.tar.gz (5.3 kB)||File type Source||Python version None||Upload date||Hashes View hashes|
Hashes for EasyCommunications-0.1.0-py3-none-any.whl