The C based gRPC (C++, Python, Ruby, Objective-C, PHP, C#) https://grpc.io/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Craig Tiller 6169d5f7b0 Update copyrights 9 years ago
..
helloworld Update copyrights 9 years ago
route_guide Update copyrights 9 years ago
README.md Update README.md with new installation flow 9 years ago

README.md

gRPC in 3 minutes (Python)

Background

For this sample, we've already generated the server and client stubs from helloworld.proto and we'll be using a specific reference platform.

Install gRPC:

$ pip install grpcio

Or, to install it system wide:

	$ sudo pip install grpcio

Download the example

  $ # Clone the repository to get the example code:
  $ git clone https://github.com/grpc/grpc
  $ # Navigate to the "hello, world" Python example:
  $ cd grpc/examples/python/helloworld

Try it!

  • Run the server

    $ python2.7 greeter_server.py &
    
  • Run the client

    $ python2.7 greeter_client.py
    

Tutorial

You can find a more detailed tutorial in gRPC Basics: Python