pip-services3-rpc

Communication components for Pip.Services in Python


License
MIT
Install
pip install pip-services3-rpc==3.3.3

Documentation

Pip.Services Logo
Remote Procedure Calls for Python

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

The rpc module provides the synchronous communication using local calls or the HTTP(S) protocol. It contains both server and client side implementations.

The module contains the following packages:

  • Auth - authentication and authorisation components
  • Build - HTTP service factory
  • Clients - mechanisms for retrieving connection settings from the microservice’s configuration and providing clients and services with these settings
  • Connect - helper module to retrieve connections for HTTP-based services and clients
  • Services - basic implementation of services for connecting via the HTTP/REST protocol and using the Commandable pattern over HTTP

Quick links:

Use

Install the Python package as

pip install pip_services3_rpc

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