Skip to main content

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

Metadata

Release files for mwrpc 0.1.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mwrpc 0.1.7
File Size Uploaded
mwrpc-0.1.7.tar.gz 3.0 kB Details

Release files / mwrpc-0.1.7.tar.gz

Download URL mwrpc-0.1.7.tar.gz
Size 3.0 kB
Tags Source
SHA-256 checksum
How to use checksums
4a529100912262889be68dda922984542d0ccc16c3296522b4f75d9a913f06aa
BLAKE2b-256 checksum
How to use checksums
14616816c469f2de1a339334f264477a6196c19c0224c1eaedff57e8d090fe8e
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.1.7 This release

1 release file

0.1.6

1 release file

0.1.5

2 release files

0.1.4

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page