Plugin request for Buf Schema Registry: protoc-gen-pydantic
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
まず https://github.com/cjermain/protoc-gen-pydantic のプラグインソースと、このリポジトリが BSR プラグインをどのように登録しているかを確認します。レジストリエントリで Go バイナリ v0.10.0、その Pydantic v2 ランタイム依存関係、および Python 3.10 要件を表現できることを確認します。完了とは、プラグインが受け入れられ、Buf Schema Registry で発見可能になることです。
索引モデルが issue の本文から書いたものです。
説明
Mandatory
Where is the source code for the plugin?
https://github.com/cjermain/protoc-gen-pydantic
Optional
Does the plugin have a valid semver version?
Yes. Latest version is v0.10.0, from GitHub Releases.
Does the plugin have a dependency on another plugin?
No. The plugin generates standalone Pydantic models and does not depend on output from any other plugin (e.g., protoc-gen-python is not required).
Does the output of this plugin depend on any other external libraries?
Yes — the generated Python (≥ 3.10) files have a runtime dependency on Pydantic v2:
pydantic>=2.0
No other runtime dependencies. The plugin binary itself is a self-contained Go binary.
Additional details:
- The plugin is a Go binary (
protoc-gen-pydantic) that reads.protodescriptors and emits*_pydantic.pyfiles — no Python runtime needed in the Docker image. - It translates
buf.validatefield constraints directly to PydanticField()kwargs andAfterValidatorannotations - Generated files require Python ≥ 3.10 for
T | Noneunion syntax.
- 主要言語
- Dockerfile
- スター
- 73
- フォーク
- 25
- 平均マージ
- 5時間 50分
- マージ済み PR(30日)
- 52
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
bufbuild/plugins のほかの issue
-
Feature
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
bufbuild/plugins#2255 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Feature
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
メンテナーはふだん 1 日以内に返信
-
Feature
難易度 3/5 1〜2日 初心者へのやさしさ 42/100
メンテナーはふだん 1 日以内に返信
-
Feature
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
bufbuild/plugins#2037 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Feature
難易度 3/5 1〜2日 初心者へのやさしさ 42/100
メンテナーはふだん 1 日以内に返信
bufbuild/plugins の issue をすべて見る
似ている issue
-
難易度 2/5 1時間未満 初心者へのやさしさ 82/100
SublimeText/LaTeXTools#1717 ·
-
A helper package that registers two plugins (LSP-R) is not applied to the window after a live install対応中かも @rchl が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
sublimelsp/LSP#3074 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Do not throw `WordPress.Security.EscapeOutput.OutputNotEscaped` on `apply_shortcodes()`対応中かも @tbradsha が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
fsprojects/Paket#4455 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
nuxt-modules/better-auth#578 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信