Skip to content

A very rustic way to do remoting object invocation call via HTTP.

Notifications You must be signed in to change notification settings

Carlos-Descalzi/pyremote

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

pyremote

A very rustic way to do remoting object invocation call via HTTP.

Sample of use

# 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'))

About

A very rustic way to do remoting object invocation call via HTTP.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages