The C based gRPC (C++, Python, Ruby, Objective-C, PHP, C#)
https://grpc.io/
|
10 years ago | |
---|---|---|
.. | ||
interop | 10 years ago | |
src | 10 years ago | |
README.md | 10 years ago |
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
- Build the gRPC core from the root of the gRPC git repo
$ 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
-
Install gRPC Python's dependencies
$ pip install enum34==1.0.4 futures==2.2.0 protobuf==3.0.0-alpha-1
- Install gRPC Python
$ pip install src/python/src