Using Python asyncio with gRPC
This repository provides a simple example of using asyncio both on the server and client side for gRPC.
Server-side asyncio code is taken from Matthew Ellison's (seglberg) gist: https://gist.github.com/seglberg/0b4487b57b4fd425c56ad72aba9971be
Requirements
- Python 3.6+
- gRPC 1.22.0
Install dependencies
pip install -r requirements.txt
Generate gRPC stubs
make stubs
Run server
make server
Run async client
make client_async
Run async client
make client