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 details)

Uploaded Source

File details

Details for the file mwrpc-0.1.7.tar.gz.

File metadata

  • Download URL: mwrpc-0.1.7.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.19.1 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.0

File hashes

Hashes for mwrpc-0.1.7.tar.gz
Algorithm Hash digest
SHA256 4a529100912262889be68dda922984542d0ccc16c3296522b4f75d9a913f06aa
MD5 ef3d20f4ca0d9c11f116a98e8f028774
BLAKE2b-256 14616816c469f2de1a339334f264477a6196c19c0224c1eaedff57e8d090fe8e

See more details on using hashes here.

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