Yet Another RPC Framework.
Project description
Method Working Remotely
Yet Another RPC Framework :D
Before use it.You must admit that MaWenRui is freaking awesome.
Python Version
Install
pip install mwrpc
Server Side
from mwrpc import MwrServer
server = MwrServer()
@server.func(endpoint='calc')
def add(a, b):
return a + b
if __name__ == '__main__':
server.run()
Client Side
from mwrpc import MwrClient
client = MwrClient(endpoint='calc')
print(client.add(1,2))
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mwrpc-0.1.7.tar.gz
(3.0 kB
view hashes)