Skip to content
/ integra Public

You can share your Python classes in Bonjour style!

License

Notifications You must be signed in to change notification settings

pmus/integra

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Integra

Small convenient IPC based on

N|Solid

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

About

You can share your Python classes in Bonjour style!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published