Skip to main content

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


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 details)

Uploaded Source

Built Distribution

grpc_client-0.0.2-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file grpc-client-0.0.2.tar.gz.

File metadata

  • Download URL: grpc-client-0.0.2.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/2.7.16

File hashes

Hashes for grpc-client-0.0.2.tar.gz
Algorithm Hash digest
SHA256 8ea78d59d6b1a3c58f467b5fda7a1a74716e12b6f44422713e05e4657e59569a
MD5 fea7909ce3d2ba99015c08b685f63204
BLAKE2b-256 a8ee1d8fdc5808dc0934f57ea84ca782da08dff867463b52ec2bdbde629209a4

See more details on using hashes here.

File details

Details for the file grpc_client-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: grpc_client-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/2.7.16

File hashes

Hashes for grpc_client-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2fd25006c1727c739b31a28fef67112612133c72ab6517059d3af6a193171886
MD5 993aee07a2194846109c0f71c3cbc49c
BLAKE2b-256 62ffb34173548ce81c56f81a3ccc3097df20dd920cd657ae04bc059960d3d955

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page