【文件属性】:
文件名称:ASU-CSE531-gRPC
文件大小:78KB
文件格式:ZIP
更新时间:2021-03-26 11:43:29
Python
CSE 531:分布式和多处理器操作系统
gRPC项目
米格尔·亚历杭德罗·门多萨·埃尔南德斯
要求:
> = 3.9.2
> = 20.4.2
安装过程:
git clone git@github.com:m-alejandro-mendoza/ASU-CSE531-gRPC.git
virtualenv -p python3 venv
source venv/bin/activate
pip install -r requirements.txt
确保您的工作目录为ASU-CSE531-gRPC
执行过程:
输入文件必须复制到input目录中。
必须为分支机构和客户都激活虚拟环境。
运行分支进程python branch.py -i input_1.json
运行客户进程python customer.py -i input_1.json -o outpu
【文件预览】:
ASU-CSE531-gRPC-main
----rpc.proto(440B)
----.gitignore(2KB)
----README.md(1KB)
----customer.py(4KB)
----branch.py(6KB)
----util.py(909B)
----rpc_pb2.py(8KB)
----output()
--------output_2.json(1KB)
--------output_1.json(332B)
----input()
--------input_2.json(2KB)
--------input_1.json(638B)
----requirements.txt(19B)
----rpc_pb2_grpc.py(2KB)
----assets()
--------images()