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

Uploaded Source

File details

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

File metadata

  • Download URL: pip_services3_grpc-3.2.0.tar.gz
  • Upload date:
  • Size: 27.0 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.0.tar.gz
Algorithm Hash digest
SHA256 b2e2e270ee0ae01c9313adf1202d0086d536bdbc490be7e130ac22da9c779bdd
MD5 cbb5fe3b7d5fa09433b523fd829c062a
BLAKE2b-256 e63770d99d01e252413aae1d730eb5287a118ab68040482c0a8fb582695be56c

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