rpc.py:基于ASGIWSGI的快速强大的RPC框架

时间:2021-04-22 18:06:08
【文件属性】:
文件名称:rpc.py:基于ASGIWSGI的快速强大的RPC框架
文件大小:40KB
文件格式:ZIP
更新时间:2021-04-22 18:06:08
json annotation rpc msgpack cbor rpc.py 一个基于ASGI / WSGI的快速而强大的RPC框架。 基于WSGI / ASGI,您可以将rpc.py服务器部署到任何服务器,并使用http2获得更好的性能。 并且基于httpx对多种http协议的支持,客户端还可以使用http / 1.0,http / 1.1或http2。 您可以*地将普通函数和异步函数用于一次响应。 您还可以使用生成器函数或异步生成器函数来流式传输响应。 安装 从PyPi安装: pip install rpc.py # need use client pip install rpc.py[client] # need use pydantic type hint or OpenAPI docs pip install rpc.py[type] # need use msgpack to serializer pip install rpc.p
【文件预览】:
rpc.py-master
----.gitattributes(12B)
----.github()
--------workflows()
----poetry.lock(48KB)
----rpcpy()
--------exceptions.py(78B)
--------openapi.py(4KB)
--------__init__.py(48B)
--------application.py(11KB)
--------client.py(6KB)
--------__version__.py(63B)
--------typing.py(1KB)
--------serializers.py(4KB)
----script()
--------upload.py(628B)
--------check.py(363B)
----examples()
--------sync_server.py(581B)
--------sync_client.py(482B)
--------async_server.py(621B)
--------async_client.py(515B)
----LICENSE(11KB)
----README.md(5KB)
----.editorconfig(260B)
----tests()
--------test_client.py(3KB)
--------test_application.py(12KB)
--------__init__.py(0B)
--------test_serializers.py(517B)
--------test_version.py(159B)
----.gitignore(1KB)
----pyproject.toml(2KB)

网友评论