go-protoc-gen-connect-py
go-protoc-gen-connect-py is a distribution of protoc-gen-connect-py, that can be built with Go. It does not actually reimplement any
functionality of protoc-gen-connect-py in Go, instead packaging it with the WASI build of Python, and
executing with the pure Go Wasm runtime wazero. This means that go install or go run
can be used to execute it, with no need to rely on separate package managers such as pnpm,
on any platform that Go supports.
See go-protoc-gen-connect-py for the corresponding module for
protobuf-py message stubs.
Installation
Precompiled binaries are available in the releases.
Alternatively, install the plugin you want using go install.
$ go install github.com/wasilibs/go-protoc-gen-connect-py/cmd/protoc-gen-connectrpc@latest
To avoid installation entirely, it can be convenient to use go run
$ go run github.com/wasilibs/go-protoc-gen-connect-py/cmd/protoc-gen-connectrpc@latest .