ZeroMQ Zeroconf RPC
Project description
Integra
Small convenient IPC based on
and Python-zeroconf
You can share your Python classes in Bonjour style! (ln 164 lines of code only)
How does it work?
Server:
from integra import ipc
import MySharedClass # Use anything
shared_class = MySharedClass()
ipc["shared_class"] = shared_class # We share it
while True:
...
Client (any machine on LAN or localhost):
from integra import ipc
remote_shared = ipc["shared_class"]
result = remote_shared.awesome_method()
That's all, you find your class or service by name and make calls like it's local. Please note that security is on your own.
How to install?
pip3 install integra
- OR
pip3 install git+https://github.com/pmus/integra.git#egg=integra
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
integra-0.0.5.tar.gz
(4.9 kB
view details)
Built Distribution
File details
Details for the file integra-0.0.5.tar.gz
.
File metadata
- Download URL: integra-0.0.5.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6b5ebc3f9b0a99ab7bfcc8b4015e4146fb37f15e769c3b8bbb58ae32b048ebed |
|
MD5 | 690001436ce825bb2ff5e9b1bad1bbdd |
|
BLAKE2b-256 | 1739f471bb8a471ca430ecff8bbfbc54262013227894d4ee7088aa58b14bfde2 |
File details
Details for the file integra-0.0.5-py3-none-any.whl
.
File metadata
- Download URL: integra-0.0.5-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3960ed515876a0dce2987da1888d1e72ff70c8e0319ab4c6bcecf69ee4156571 |
|
MD5 | 58dc6b8005557eeb452278026c6eaf68 |
|
BLAKE2b-256 | c71879aeb8488f45015b1c09de0849114c589842e551e140ad3620f75fb6a8c7 |