Skip to main content

Yet Another RPC Framework.

Project description

Method Working Remotely

Yet Another RPC Framework :D

Proposal

License PyPI PyPI - Downloads

MWRNB MWRNB

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)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page