Skip to content

Repository files navigation

gRPC Hello World

"Hello, world" example with gRPC in Python to remind myself how to use it.

Commands

Generate Python gRPC code:

uv run python -m grpc_tools.protoc \
    -Iprotos \
    --python_out=generated_grpc \
    --pyi_out=generated_grpc \
    --grpc_python_out=generated_grpc \
    helloworld.proto

Start server:

uv run greeter_server.py

Run client script:

uv run greeter_client.py

About

"Hello, world" example with gRPC in Python

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages