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

Uploaded Source

File details

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

File metadata

  • Download URL: pip_services3_grpc-3.2.5.tar.gz
  • Upload date:
  • Size: 27.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.10

File hashes

Hashes for pip_services3_grpc-3.2.5.tar.gz
Algorithm Hash digest
SHA256 dd85551262abd1b6dba418047f0a1e668550007b066443aa66a1b7e25fc27b61
MD5 0c89ee5856958d99f68f206ee6c3fec2
BLAKE2b-256 68ec089a550d8e4224d350e5b95a8f72a7b378287abec009014386a4458993c6

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