A intuitive and cross-languige RCP lib for Python.
InteractionFree for Python
- InteractionFree specification: to be drafted.
$ pip install interactionfreepy
Start the sever
from interactionfreepy import IFBroker broker = IFBroker('tcp://*:port') IFLoop.join()
port to any port number that is available.
IFLoop.join() is a utility function to prevent the program from finishing.
Start a worker
from interactionfreepy import IFWorker class Target(): def tick(self, message): return "tack %s" % message worker = IFWorker('tcp://address:port', 'TargetService', Target()) IFLoop.join()
port to the server's net address and port.
Start a client
from interactionfreepy import IFWorker client = IFWorker('tcp://address:port') print(client.TargetService.tick('now'))
Release history Release notifications | RSS feed
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 interactionfreepy-1.1.2.tar.gz (9.9 kB)||File type Source||Python version None||Upload date||Hashes View|