diff --git a/rpcclient.py b/rpcclient.py new file mode 100644 index 0000000..0510fa6 --- /dev/null +++ b/rpcclient.py @@ -0,0 +1,11 @@ +import xmlrpc.client as xrc + + +class RPCClient(xrc.ServerProxy): + + def __init__(self, host, port, *args, **kwargs): + uri = f"http://{host}:{port}/" + super().__init__(uri, *args, **kwargs) + + +