gRPC in Python

  • Basic

  • 22 lessons

  • 8 hours

Learn to build gRPC services in Python: define schemas, write servers and clients, handle errors, and work with streams.

Course overview

This course helps you learn gRPC in Python from scratch for backend development. You will define APIs with Protobuf, generate code, implement unary and streaming methods, and work with metadata, statuses, and deadlines. In UPSHELL lessons, you get theory, browser-based coding tasks, autograding, SSH access, and an AI mentor.

You will learn
  • Define services and messages in Protobuf

  • Build gRPC servers and clients in Python

  • Implement unary and streaming methods

  • Test and debug gRPC services

Table of contents

What gRPC Is and How It Works

Practice

Writing the First Proto File

Practice

Generating Python Code from Proto

Practice

Launching the First gRPC Server

Practice

Creating the First gRPC Client

Practice

Debugging Requests and Responses

Practice

Unary RPC with CRUD Example

Practice

Lists and Nested Fields

Practice

Input Data Validation

Practice

gRPC Status Codes and Errors

Practice

Context, Metadata and Deadline

Practice

Mini Project: Notes Service

Practice

Server Streaming in Python

Practice

Client Streaming in Python

Practice

Bidirectional Streaming

Practice

Managing Message Flow

Practice

Streaming Errors and Completion

Practice

Async gRPC with asyncio

Practice

Interceptors and Logging

Practice

Authentication via Metadata

Practice

Testing gRPC Services

Practice

Final Project: gRPC API in Python

Practice

  • image-loading

  • image-loading

  • image-loading

  • image-loading

Frequently Asked Questions

A subscription to the platform gives you unlimited access to all courses, as well as access to an online trainer with practical exercises.

Additionally, with a Premium subscription or higher, you also get access to all pet projects and the opportunity to take technical interviews with an AI mentor.

You can cancel your subscription at any time, and you will still have access to the platform for the paid period. You can do this through your personal account in the 'Subscription Management' section.

Yes, you can upgrade to a new plan at any time. We will provide a discount based on the unused time of your current plan. You can change your plan in your personal account.

To request a refund for a paid plan, please contact us at support@upshell.io. We will process your refund for the unused portion of your subscription within 5 business days.

Get access to 23+ courses for backenders with Subscription

Get access to *23+ courses* for backenders with *Subscription*
Have an account?