python bindings?
Hi,
Is there a plan to make python bindings? Given how easy to use the shell api is i'm guessing it could be quite easy. I can see this really be used a ton for many python projects that are multiuser.
This combined with conflict free replicated data types really opens up a lot of possibilities :)
Thanks and have a nice day!
I figured the easiest way if nothing is done on edgevpn's side to increase usability is to simply expose a service on all the devices and make them interact this way.
https://mudler.github.io/edgevpn/docs/concepts/overview/services/
Would be awesome if there were more details on how to use edgevpn as a library. Any help or example would help as I might be able to extend this via LLMs?
I just found out about a neat python library called sh that seems to allow exactly what I had in mind: https://sh.readthedocs.io/en/latest/sections/asynchronous_execution.html#background
So i'm addinv to my todo list to do that someday.
The idea is to have a python class that calls edgevpn and opens a port. Then we can have pure python remote script to script connections!
I stumbled upon a great example by prime-iroh of how to use two single string IDs to identify uniquely two nodes to create an encrypted communication channel with hole punching etc:
https://github.com/PrimeIntellect-ai/prime-iroh/blob/main/python/examples/bidirectional.py
So it solves my use case I think.