Metadata-Version: 2.1
Name: integra
Version: 0.0.5
Summary: ZeroMQ Zeroconf RPC
Author-email: pmus <pmus.me@yandex.ru>
Project-URL: Homepage, https://github.com/pmus/integra
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE

# Integra
## Small convenient IPC based on

[![N|Solid](https://zeromq.org/images/logo.gif)](https://zeromq.org/)

and [Python-zeroconf](https://python-zeroconf.readthedocs.io/en/latest/)

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
```
