Metadata-Version: 2.1
Name: grpc-client
Version: 0.0.2
Summary: grpc client for python
Home-page: https://github.com/josephyin/grpc_client
Author: Joseph Yin
Author-email: josephyin@outlook.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown

#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()
```

