From 52e90a2bbcdd24317f77bf2aa5e9be8ea2d60ae7 Mon Sep 17 00:00:00 2001 From: riparuk Date: Thu, 4 Dec 2025 13:41:11 +0700 Subject: [PATCH] Add readme --- README.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..fac93ff --- /dev/null +++ b/README.md @@ -0,0 +1,26 @@ +## Overview +This project demonstrates gRPC functionality in Python with four different RPC types, fork from https://github.com/chelseafarley/PythonGrpc : +- Unary RPC (SayHello) +- Server-side streaming (ParrotSaysHello) +- Client-side streaming (ChattyClientSaysHello) +- Bidirectional streaming (InteractingHello) + +## Usage +Clone the repository: +``` +git clone https://github.com/chelseafarley/PythonGrpc.git +cd PythonGrpc +``` + +## Setup Environment +- python3 -m venv venv +- source venv/bin/activate +- python -m pip install --upgrade pip +- python -m pip install grpcio +- python -m pip install grpcio-tools + +## Run Server +- python greet_server.py + +## Run Client +- python greet_client.py