Metadata-Version: 2.4
Name: protoc-runner
Version: 35.1
Summary: Packaged protoc and conformance_test_runner for internal testing.
Keywords: protobuf
License-Expression: Apache-2.0
License-File: LICENSE
License-File: vendor-licenses/.gitkeep
License-File: vendor-licenses/protobuf.txt
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Console
Classifier: Operating System :: MacOS :: MacOS X
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Typing :: Typed
Requires-Python: >=3.10
Description-Content-Type: text/markdown

# protoc-runner

protoc-runner is a wheel package published with binaries from [protocolbuffers/protobuf](https://github.com/protocolbuffers/protobuf) for:

- `protoc` - the Protocol Buffers compiler
- `conformance_test_runner` - the official conformance test suite for Protocol Buffers

This package is for use testing internal projects.

## Usage

```python
from protoc import get_protoc_path, get_conformance_test_runner_path
subprocess.run([get_protoc_path(), "-h"], check=True)
subprocess.run([get_conformance_test_runner_path(), "-h"], check=True)
```

## Include protos

`.proto` files for the protoc Well-Known Types and conformance test protos are also packaged.

```python
import shutil

from protoc import get_include_protos_path

shutil.copytree(get_include_protos_path(), ".tmp")
```
