The Python facility of gRPC.
Beta : Core behavior well-used and proven; bugs lurk off the beaten path.
Linux (Debian):
Add Debian jessie-backports to your sources.list
file. Example:
echo "deb http://http.debian.net/debian jessie-backports main" | \ sudo tee -a /etc/apt/sources.list
Install the gRPC Debian package
sudo apt-get update sudo apt-get install libgrpc-dev
Install the gRPC Python module
sudo pip install grpcio
Mac OS X
Install homebrew. Run the following command to install gRPC Python.
$ curl -fsSL https://goo.gl/getgrpc | bash -s python
This will download and run the gRPC install script, then install the latest version of the gRPC Python package. It also installs the Protocol Buffers compiler (protoc) and the gRPC protoc plugin for python.
Please read our online documentation for a Quick Start and a detailed example
Clone this repository
Initialize the git submodules
$ git submodule update --init
$ make
$ CONFIG=opt tools/run_tests/build_python.sh 2.7
$ CONFIG=opt PYVER=2.7 tools/run_tests/run_python.sh
$ pip install setuptools twine
$ ../../tools/distrib/python/submit.py