Skip to main content

gRPC clients and services for Pip.Services in Python

Project description

Pip.Services Logo
GRPC Calls for Python

This module is a part of the Pip.Services polyglot microservices toolkit.

The grpc module is used to organize synchronous data exchange using calls through the gRPC protocol. It has implementations of both the server and client parts.

  • Note: in this version connection Proto files in runtime does not supports

The module contains the following packages:

  • Build - factories for creating gRPC services
  • Clients - basic client components that use the gRPC protocol and Commandable pattern through gRPC
  • Services - basic service implementations for connecting via the gRPC protocol and using the Commandable pattern via gRPC

Quick links:

Use

Install the Python package as

pip install pip_services3_grpc

Develop

For development you shall install the following prerequisites:

  • Python 3.7+
  • Visual Studio Code or another IDE of your choice
  • Docker

Install dependencies:

pip install -r requirements.txt

Run automated tests:

python test.py

Generate GRPC protobuf stubs:

./protogen.ps1

Generate API documentation:

./docgen.ps1

Before committing changes run dockerized build and test as:

./build.ps1
./test.ps1
./clear.ps1

Contacts

The Python version of Pip.Services is created and maintained by Sergey Seroukhov

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

pip_services3_grpc-3.2.2.tar.gz (27.1 kB view details)

Uploaded Source

File details

Details for the file pip_services3_grpc-3.2.2.tar.gz.

File metadata

  • Download URL: pip_services3_grpc-3.2.2.tar.gz
  • Upload date:
  • Size: 27.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.26.0 setuptools/57.4.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.2

File hashes

Hashes for pip_services3_grpc-3.2.2.tar.gz
Algorithm Hash digest
SHA256 36c4fe091f267467cbf1ee3d17533a80f2da0ac7ecbf12d58beb2be65c9a1b22
MD5 9f777be776690fb06cef49826f7cd71a
BLAKE2b-256 43971fe21943b2fd843450b5d1692a236c9509a6a9f1359bfee23303b8f9f4ef

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