pytest-grpc icon indicating copy to clipboard operation
pytest-grpc copied to clipboard

Where is the explanation about to compile it with grpcio-tools?

Open manel00 opened this issue 4 years ago • 1 comments
trafficstars

Didn't see anywhere, after googling for a while

Thank you

manel00 avatar Aug 09 '21 09:08 manel00

Hi, @manel00, to perform this step you need to install the grpc tools library and run the following command: python -m grpc_tools.protoc -I. --python_out=. --grpc_python_out=. example.proto. Where example.proto is your file

I created an example of how to use gRPC in python and I think it can help you with that: https://github.com/arielroque/gRPC-python.

arielroque avatar Sep 22 '21 17:09 arielroque