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