diff options
author | kpayson64 <kpayson@google.com> | 2016-08-22 19:43:13 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-22 19:43:13 -0700 |
commit | 1dfeee3487afb1dd4e27b29b50a105c33dce35f9 (patch) | |
tree | e261922be85bb0d23e9fd88857adb7ffbe2f5be5 | |
parent | dd8ddf158547785d6ce7f935517d9389a577108e (diff) | |
parent | 6c09b3b29e667fa7dbb96e272edf4db947e069d5 (diff) |
Merge pull request #7805 from nathanielmanistaatgoogle/python-example-readmes
Truncate Python example READMEs to grpc.io links
-rw-r--r-- | examples/python/README.md | 57 | ||||
-rw-r--r-- | examples/python/helloworld/README.md | 2 | ||||
-rw-r--r-- | examples/python/multiplex/README.md | 2 |
3 files changed, 4 insertions, 57 deletions
diff --git a/examples/python/README.md b/examples/python/README.md index 9992baa842..d801d0dbca 100644 --- a/examples/python/README.md +++ b/examples/python/README.md @@ -1,56 +1 @@ -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: -```sh - $ pip install grpcio -``` -Or, to install it system wide: -```sh - $ sudo pip install grpcio -``` - -If you're on Windows, make sure you installed the `pip.exe` component when you -installed Python. Invoke as above but with `pip.exe` instead of `pip` (you may -also need to invoke from a `cmd.exe` ran as administrator): -```sh - $ pip.exe install grpcio -``` - -Download the example -```sh - $ # 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 - - ```sh - $ python2.7 greeter_server.py & - ``` - -- Run the client - - ```sh - $ python2.7 greeter_client.py - ``` - -Tutorial --------- - -You can find a more detailed tutorial in [gRPC Basics: Python][] - -[helloworld.proto]:../protos/helloworld.proto -[Install gRPC Python]:../../src/python#installation -[gRPC Basics: Python]:http://www.grpc.io/docs/tutorials/basic/python.html +[This code's documentation lives on the grpc.io site.](http://www.grpc.io/docs/quickstart/python.html) diff --git a/examples/python/helloworld/README.md b/examples/python/helloworld/README.md index e889863a23..d801d0dbca 100644 --- a/examples/python/helloworld/README.md +++ b/examples/python/helloworld/README.md @@ -1 +1 @@ -[This code's documentation lives on the grpc.io site.](http://www.grpc.io/docs) +[This code's documentation lives on the grpc.io site.](http://www.grpc.io/docs/quickstart/python.html) diff --git a/examples/python/multiplex/README.md b/examples/python/multiplex/README.md index bad3a42b37..5931be392a 100644 --- a/examples/python/multiplex/README.md +++ b/examples/python/multiplex/README.md @@ -1 +1,3 @@ An example showing two stubs sharing a channel and two servicers sharing a server. + +More complete documentation lives at [grpc.io](http://www.grpc.io/docs/tutorials/basic/python.html). |