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.1.tar.gz
(2.6 kB
view hashes)
Built Distribution
Close
Hashes for grpc_client-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9560a157df832f8460e58371ab590a5338bc5a1ca893ef49557c28b79bcee6f1 |
|
MD5 | eb6e049f2509dcfb4a131ff729597da7 |
|
BLAKE2b-256 | b82214db9774bd80377e9498059185ff2526280d3a8217f5b130c7d29278a88e |