https://github.com/alberto-salinas/grpc_stats_service
https://github.com/alberto-salinas/grpc_stats_service
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/alberto-salinas/grpc_stats_service
- Owner: alberto-salinas
- Created: 2020-07-13T05:02:10.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-07-05T21:03:55.000Z (about 2 years ago)
- Last Synced: 2025-01-17T05:26:52.284Z (6 months ago)
- Language: Python
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Simple gRPC statistics service
### Run steps
* Create a virtual environment: `virtualenv venv`
* source venv/bin/activate
* (To remove pip warnings) python -m pip install --upgrade pip
* pip install -r requirements.txt
* Generate proto files: `python -m grpc_tools.protoc -I./stats --python_out=./stats --grpc_python_out=./stats ./stats/stats.proto`#### Run Server
* `python stats/stats_server.py`
* In another terminal run, `python stats_client.py`