tree: 5cc6969e0b6079223ff5d687aa3010bef2cac756 [path history] [tgz]
  1. interop/
  2. src/
  3. README.md
  4. requirements.txt
src/python/README.md

gRPC Python

The Python facility of gRPC.

Status

Usable with limitations, Pre-Alpha

Prerequisites

Python 2.7, virtualenv, pip, libprotobuf-dev, and libprotoc-dev.

Building from source

$ make shared_c static_c
  • Use build_python.sh to build the Python code and install it into a virtual environment
$ tools/run_tests/build_python.sh

Testing

  • Use run_python.sh to run gRPC as it was installed into the virtual environment
$ tools/run_tests/run_python.sh

Installing

$ pip install -r src/python/requirements.txt
  • Install gRPC Python
$ pip install src/python/src