PackagesPackages
Generated protobuf/Connect stubs
Python 3.13 generated protobuf and ConnectRPC stubs from proto/
nest-protos is a generated Python 3.13 package that centralizes protobuf messages and
ConnectRPC stubs used by backend services and clients.
Package profile
| Field | Value |
|---|---|
| Location | packages/python/nest_protos/ |
| Runtime | Python 3.13 |
| Install | uv sync --all-packages |
| Import | dev_api.*, raven.*, spanner.* |
| Type | Generated library (no runtime entrypoint) |
Source of truth
- Proto definitions live in
proto/. - Workspace config and plugin mappings live in
buf.yamlandbuf.gen.yaml.
Generated outputs
- Python protobuf messages (
*_pb2.py) and typing stubs (*_pb2.pyi). - ConnectRPC client/server helpers (
*_connect.py). - Dart stubs for Raven are generated into
apps/raven/lib/genby the samebuf generate.
Modules
dev_api.v1: stubs for the dev-api service.raven.raven.v1: stubs for the Raven ConnectRPC service.spanner: shared Spanner-related protobuf messages.
Local development
- Never hand-edit generated code.
- After changing
.protofiles, runbuf generatefrom the repo root. - Ensure access to
buf.buildfor the remote plugins used by generation.
Ownership
- Shared platform asset; changes should be coordinated with service owners.
References
- Proto sources:
proto/ - Generation config:
buf.yaml,buf.gen.yaml
Last updated on