grpc client for python
Project description
#Python GRPC Client
A simple GRPC client to easy use.
##Requirements:
grpcio
protobuf
##How to use:
from grpc_client.bbase_client import BaseClient
def CallbackFunction(response):
return response
client = BaseClient(
host='Host',
port='Port',
stub_class=GrpcStubClass,
call_func='stub_function_name',
data={'request': GrpcRequestFunction},
response_callback=CallbackFunction
).execute()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
grpc-client-0.0.2.tar.gz
(2.6 kB
view hashes)
Built Distribution
Close
Hashes for grpc_client-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2fd25006c1727c739b31a28fef67112612133c72ab6517059d3af6a193171886 |
|
MD5 | 993aee07a2194846109c0f71c3cbc49c |
|
BLAKE2b-256 | 62ffb34173548ce81c56f81a3ccc3097df20dd920cd657ae04bc059960d3d955 |