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 supported

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.1.tar.gz (27.1 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: pip_services3_grpc-3.2.1.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.1.tar.gz
Algorithm Hash digest
SHA256 397b251591c1667921fed03e1f30bbec181590f8ae779f94cf032c7be9ccf15f
MD5 70f14bb4cde673055cb1fe669b2d50c2
BLAKE2b-256 4aaa3d446491c7b8a8ad80bf55f288bb36382431cfcfd1a3e4c62f4fa62c848e

See more details on using hashes here.

Supported by

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