<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/generated-python-sdks-are-now-available-in-the-bsr-buf-1yphu2j1g" -->

---
title: Generated Python SDKs are now available in the BSR · Buf
description: Buf Schema Registry now supports generated Python SDKs, letting Python developers install pre-packaged Protobuf-generated code directly via pip, Poetry, Conda,...
canonical: https://daily.dev/posts/generated-python-sdks-are-now-available-in-the-bsr-buf-1yphu2j1g
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Generated Python SDKs are now available in the BSR · Buf | daily.dev
og:description: Buf Schema Registry now supports generated Python SDKs, letting Python developers install pre-packaged Protobuf-generated code directly via pip, Poetry, Conda,...
og:url: https://daily.dev/posts/generated-python-sdks-are-now-available-in-the-bsr-buf-1yphu2j1g
og:image: https://api.daily.dev/og/posts/1yPhU2J1g.png
og:image:alt: Generated Python SDKs are now available in the BSR · Buf
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Generated Python SDKs are now available in the BSR · Buf

**[Buf Blog](https://daily.dev/sources/buf)** · 2 min read · 0 upvotes · 0 comments

## Summary

Buf Schema Registry now supports generated Python SDKs, letting Python developers install pre-packaged Protobuf-generated code directly via pip, Poetry, Conda, or any PEP 503-compliant tool, instead of running a local Protobuf toolchain. Packages update automatically when schema changes are pushed. This joins existing generated SDK support for Go, JavaScript/TypeScript, Java/Kotlin, and Swift. The post walks through creating a virtual environment, installing a package from the Buf Python Repository, calling the Connect Demo API, and setting up type-stub packages (via pyi and mypy-protobuf plugins) for type checking with mypy or pyright.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://buf.build/blog/python-generated-sdks>

## Questions this post answers

### How do I get generated Python code for my Protobuf schemas without running protoc locally?

The Buf Schema Registry (BSR) now generates Python SDKs automatically whenever schema changes are pushed, letting you install them with pip, Poetry, or Conda using any tool that supports PEP 503. You install the package while specifying the Buf Python Repository as an extra index, avoiding the need to manage a local Protobuf toolchain or run codegen yourself.

_Developers tracking new SDK and tooling releases like this follow the updates on daily.dev._

### How do I get type checking working with mypy for Protobuf-generated Python code?

Install a type-stub package generated by plugins such as pyi or mypy-protobuf alongside the main generated package, then run mypy against your script as usual. These stub packages provide the type annotations mypy or pyright need to validate code that uses Protobuf-generated Python classes.

_Anyone wiring up type safety for generated code can follow tooling changes like this on daily.dev._

## Similar posts on daily.dev

- [protobuf-py: Protobuf for Python, without compromises · Buf](https://daily.dev/posts/protobuf-py-protobuf-for-python-without-compromises-buf-twtgzw6ex) · Hacker News · 3 upvotes · 0 comments
- [Protobuf, JSON Schema, and OpenAPI · Buf](https://daily.dev/posts/protobuf-json-schema-and-openapi-buf-00wgyenfv) · Buf Blog · 7 upvotes · 0 comments
- [The modern Protobuf workflow · Buf](https://daily.dev/posts/the-modern-protobuf-workflow-buf-c2m7gywhe) · Buf Blog · 1 upvotes · 0 comments
- [Tinybird, now Python-native too](https://daily.dev/posts/tinybird-now-python-native-too-tfeyjhzz2) · Tinybird · 15 upvotes · 0 comments
- [A modern alternative to Protocol Buffer](https://daily.dev/posts/a-modern-alternative-to-protocol-buffer-k1dw3nil7) · Hacker News · 28 upvotes · 3 comments

---

Tags: [#python](https://daily.dev/tags/python), [#backend](https://daily.dev/tags/backend), [#grpc](https://daily.dev/tags/grpc)

[View this post on daily.dev](https://daily.dev/posts/generated-python-sdks-are-now-available-in-the-bsr-buf-1yphu2j1g)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Generated Python SDKs are now available in the BSR · Buf","url":"https://daily.dev/posts/generated-python-sdks-are-now-available-in-the-bsr-buf-1yphu2j1g","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/generated-python-sdks-are-now-available-in-the-bsr-buf-1yphu2j1g"},"datePublished":"2026-08-23T07:20:20.536Z","dateModified":"2026-08-23T07:21:20.213Z","description":"Buf Schema Registry now supports generated Python SDKs, letting Python developers install pre-packaged Protobuf-generated code directly via pip, Poetry, Conda,...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/3fc20dc8d909247d00f7e48172a7ec30?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/3fc20dc8d909247d00f7e48172a7ec30?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Buf Blog","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Buf Blog","logo":"https://media.daily.dev/image/upload/s--2YBgo_Nm--/f_auto,q_auto/v1787469605/logos/buf?_a=BAMAMicg0","url":"https://daily.dev/sources/buf"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/generated-python-sdks-are-now-available-in-the-bsr-buf-1yphu2j1g","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"python,backend,grpc","timeRequired":"PT2M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Buf Blog","item":"https://daily.dev/sources/buf"},{"@type":"ListItem","position":3,"name":"Generated Python SDKs are now available in the BSR · Buf"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/generated-python-sdks-are-now-available-in-the-bsr-buf-1yphu2j1g#faq","mainEntity":[{"@type":"Question","name":"How do I get generated Python code for my Protobuf schemas without running protoc locally?","acceptedAnswer":{"@type":"Answer","text":"The Buf Schema Registry (BSR) now generates Python SDKs automatically whenever schema changes are pushed, letting you install them with pip, Poetry, or Conda using any tool that supports PEP 503. You install the package while specifying the Buf Python Repository as an extra index, avoiding the need to manage a local Protobuf toolchain or run codegen yourself. Developers tracking new SDK and tooling releases like this follow the updates on daily.dev."}},{"@type":"Question","name":"How do I get type checking working with mypy for Protobuf-generated Python code?","acceptedAnswer":{"@type":"Answer","text":"Install a type-stub package generated by plugins such as pyi or mypy-protobuf alongside the main generated package, then run mypy against your script as usual. These stub packages provide the type annotations mypy or pyright need to validate code that uses Protobuf-generated Python classes. Anyone wiring up type safety for generated code can follow tooling changes like this on daily.dev."}}]}
```

