Skip to content

jeffsawatzky/mypy-protobuf-bufbuild

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mypy-protobuf-bufbuild

This repository contains files for creating a bufbuild plugin from mypy-protobuf.

The default address for the plugin is: buf.build/jeffsawatzky/plugins/mypy-protobuf for the protobuf plugin and buf.build/jeffsawatzky/plugins/mypy-grpc-protobuf for the grpc plugin

To use the plugin with buf simply add the plugin to your buf.gen.yaml file. Here is an example of a config that generates protobuf, grpc and typing stubs to the directory ./gen.

version: v1
plugins:
  - remote: buf.build/grpc/plugins/python:v1.44.0-1
    opt: paths=source_relative
  - remote: buf.build/protocolbuffers/plugins/python:v3.19.3-1
    out: gen
  - remote: buf.build/jeffsawatzky/plugins/mypy-protobuf:v3.2.0-1
    out: gen
  - remote: buf.build/jeffsawatzky/plugins/mypy-grpc-protobuf:v3.2.0-1
    out: gen

About

This repository contains files for creating bufbuild plugins from mypy-protobuf

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published