Skip to content

vishaldeep24/python-grpc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Python-gRPC

Example of python-grpc

Creating python virtual environment

python3 -m venv env

Activate environment

source env/bin/activate

Installing required packages

  • pip install grpcio
  • pip install grpcio-tools

Generating client and server code

python -m grpc_tools.protoc -I. --python_out=. --grpc_python_out=. detailservice.proto

Start using the server

python server.py

Starting the client

python client.py

Resources

About

Example of python-grpc

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages