Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 450 Bytes

File metadata and controls

27 lines (20 loc) · 450 Bytes

Python gRPC Client Example

This example demonstrates a simple gRPC client in Python.

Prerequisites

  • Python 3.9+
  • uv

Running

  1. Setup environment and install dependencies:

    uv venv
    source .venv/bin/activate
    uv pip install grpcio grpcio-tools protobuf
  2. Compile protobufs:

    ./compile_protobuf.sh
  3. Run:

    python main.py