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
  • Danil Prisiazhnyi

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.5.tar.gz (27.5 kB view hashes)

Uploaded Source

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