https://github.com/purplesmoke05/grpc-python-sample
https://github.com/purplesmoke05/grpc-python-sample
client grpc protobuf python server
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/purplesmoke05/grpc-python-sample
- Owner: purplesmoke05
- Created: 2018-01-04T12:42:40.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-01-04T13:37:12.000Z (over 8 years ago)
- Last Synced: 2025-07-03T08:08:39.594Z (12 months ago)
- Topics: client, grpc, protobuf, python, server
- Language: Python
- Size: 5.86 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# grpc-Python-sample
## Description
- This is grpc server / client sample for Python.
## HOW TO USE
### INSTALL
```bash
$ git clone https://github.com/airking05/grpc-python-sample
$ cd grpc-python-sample
$ pip install -r requirements.txt
$ make build
```
### Use
#### in one terminal
```bash
$ python protos/server.py
```
#### in the other terminal
```bash
$ python protos/client.py
----- client is sending Ping to server -----
hage: "me too"
------------- response returned ------------
----- client is sending Ding to server -----
(Empty)
------------- response returned ------------```