A very rustic way to do remoting object invocation call via HTTP.
# Server side
from pyremote import ObjectServer
class TestObject:
def do_something(self, param):
return f'Hola!!!{param}'
server = ObjectServer()
server.add_object(TestObject(),'test_object')
server.run()
# Client side
from pyremote import ObjectClient
test_object = ObjectClient('http://localhost:8080/test_object')
print(test_object.do_something('XXXX'))