An open API service indexing awesome lists of open source software.

https://github.com/j178/protoc-wrapper

Repackage official protoc compiler as Python wheels
https://github.com/j178/protoc-wrapper

Last synced: over 1 year ago
JSON representation

Repackage official protoc compiler as Python wheels

Awesome Lists containing this project

README

          

A Python wrapper around the [`protoc`](https://github.com/protocolbuffers/protobuf) compiler, you can add it to your dev dependencies to make sure its version
is compititable with the [`protobuf`](https://pypi.org/project/protobuf/) runtime.

## Use `protoc-wrapper` in your project

```console
$ uv add 'protoc-wrapper==30.*' --dev
$ uv add 'protobuf==6.30.*'
$ uv run protoc -I ...
```

## Run a specific version of `protoc`

```console
$ uvx protoc-wrapper@30.0 --version
```

## TODO

- [ ] Workflow to release new version automatically
- [X] Support prereleases