Learn how to use the remote procedure call framework gRPC in Python, the popular open-source programming language.
Overview
Syllabus
Introduction
- Why gRPC?
- What you should know
- Setting up
- RPC in general
- Protocol buffers
- HTTP/2
- gRPC ecosystem
- Writing .proto files
- Compiling .proto to Python
- Using generated code
- Enumerations
- Nested types
- Working with time
- JSON encoding
- Defining the service
- Generating Python code
- Running the server
- Adding reflection
- Using grpcurl to call your server
- Setting errors
- Creating a client
- Generating a request
- Calling the server
- Timeouts
- Streaming overview
- Defining a streaming end point
- Streaming server handler
- Streaming client
- Writing interceptors
- Using HTTPS
- Sharing .proto definitions
- Testing your code
- Using gRPC-Gateway
- Next steps
Taught by
Miki Tebeka