InteractionFree for Python
InteractionFree is a remote procedure call (RPC) protocol based on ZeroMQ. It allows the developers to build their own distributed and cross-languige program easily. The protocol is config-less and extremly easy to use. Currently, MessagePack is used for binary serialization.
Please refer to here for the full doc.
Quick Start
Install
$ pip install interactionfreepy
Start the broker
from interactionfreepy import IFBroker
broker = IFBroker('tcp://*:port')
IFLoop.join()
replace port to any port number that is available.
IFLoop.join() is a utility function to prevent the program from finishing.
Start a server
from interactionfreepy import IFWorker
class Target():
def tick(self, message):
return "tack %s" % message
worker = IFWorker('tcp://address:port', 'TargetService', Target())
IFLoop.join()
replace address and 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'))
Metadata
Release files for interactionfreepy 1.8.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| interactionfreepy-1.8.4.tar.gz | 32.9 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| interactionfreepy-1.8.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 69.8 kB
Release files / interactionfreepy-1.8.4.tar.gz
| Download URL | interactionfreepy-1.8.4.tar.gz |
|---|---|
| Size | 32.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3430f0b8324cd0ab33ef552fc913c9bbfb6e83433ac2f99beceb3e3e7eedcb33
|
|
BLAKE2b-256 checksum How to use checksums |
151ec5135e5e9b1443f59ee9e4a6e1e6e6ae561aca95ab1c8db445affbf155bc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.19
|
Release files / interactionfreepy-1.8.4-py3-none-any.whl
| Download URL | interactionfreepy-1.8.4-py3-none-any.whl |
|---|---|
| Size | 37.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
82629450495e7c9a7cee3ed5bce8884e7afc12bdb56c3d3a710a90a9463cefa7
|
|
BLAKE2b-256 checksum How to use checksums |
3992cf0939ce393c1a896759405ebf504b0993346c2751f70e69c304de7a8159
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.19
|
Security for interactionfreepy 1.8.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.