https://github.com/takara2314/grpc-server-sample-python
サイコロの値を返すgRPCサーバーのサンプル (Python版)
https://github.com/takara2314/grpc-server-sample-python
Last synced: 3 months ago
JSON representation
サイコロの値を返すgRPCサーバーのサンプル (Python版)
- Host: GitHub
- URL: https://github.com/takara2314/grpc-server-sample-python
- Owner: takara2314
- Created: 2023-06-18T06:15:58.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-06-18T06:18:03.000Z (almost 2 years ago)
- Last Synced: 2025-01-19T08:17:03.619Z (5 months ago)
- Language: Python
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# gRPC Server Sample Python
サイコロの値を返すgRPCサーバーのサンプル (Python版)
[参考サイト](https://qiita.com/ny7760/items/1c793e7cd651c4c9e449)
## 開発環境の構築
1. Protocol Bufferをインストール
[https://github.com/protocolbuffers/protobuf/releases](https://github.com/protocolbuffers/protobuf/releases)2. grpcio-tools をインストール
```shell
pip install grpcio-tools
```## コード生成
```shell
python codegen.py
```## クライアントのサンプル
[https://github.com/takara2314/grpc-client-sample](https://github.com/takara2314/grpc-client-sample)