Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alberto-salinas/grpc_stats_service
https://github.com/alberto-salinas/grpc_stats_service
Last synced: 3 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/alberto-salinas/grpc_stats_service
- Owner: alberto-salinas
- Created: 2020-07-13T05:02:10.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-07-05T21:03:55.000Z (over 1 year ago)
- Last Synced: 2024-11-16T12:18:10.489Z (2 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`