Python Grpc Skeleton

Minimal GRPC implementation in Python

Pure Nim score 15/100 · last commit 2022-01-10 · 1 stars · tests present · no docs generated

Summary

Latest Version Unknown
License Unknown
CI Status Failing
Stars 1
Forks 0
Open Issues 0
Last Commit 2022-01-10
Downloads 0
Last Indexed 2026-08-10 05:05

Installation

nimble install Python Grpc Skeleton
choosenim install Python Grpc Skeleton
git clone https://gitlab.com/jclosure/py-grpc-skel

OS Compatibility

Platform Linux macOS Windows FreeBSD OpenBSD NetBSD Android iOS WASM Embedded
Python Grpc Skeleton - - - - - - -

README

Sample minimal python GRPC starter app

Installation

make install

Demo usage

Open 2 terminals - term1 = server - term2 = client

Run the server in term1

make run-server

Run the client in term2

make run-client

Notables

Protos

See ./protobufs/*.proto

service Sample {
  rpc MakeRequest (Request) returns (Response);
  rpc StreamRequests (stream Request) returns (Response);
  rpc StreamResponses (Request) returns (stream Response);
  rpc StreamBidi (stream Request) returns (stream Response);
}

See make protos

Implementation

See SampleService in ./sample/sample_server.py