Versions in this module Expand all Collapse all v2 v2.0.0 Feb 20, 2026 Changes in this version + func DefaultExcludeImports() []string + func ValidateWorkDir(workDir string) error + type Compiler struct + func New(log *logger.Logger, opts *Options) *Compiler + func (c *Compiler) Compile(ctx context.Context, files []compiler.ProtoFile, opts compiler.CompileOptions) (*compiler.CompileResult, error) + func (c *Compiler) GetOutputPath(file compiler.ProtoFile, opts compiler.CompileOptions) string + func (c *Compiler) Name() string + func (c *Compiler) RequiredTools() []string + func (c *Compiler) Validate() error + type Options struct + ExcludeImports []string + GenerateGrpc bool + GenerateInit bool + GenerateTyping bool + GrpcPythonPluginPath string + ProtocPath string + PythonPackagePrefix string + WorkDir string + func DefaultOptions() *Options