Structsยง
- Proto
Input ๐ - Python
Info ๐ - Probe the active python3 for
grpc_tools.protoc. Bails with a single, copy-pasteable install instruction if either is missing โ this is the only Python deprbnx codegenreaches for, so making it explicit up front is the entire UX cost of not vendoring protoc + grpc_python_plugin. - Python
Selection ๐
Constantsยง
- MANAGED_
GRPCIO ๐ - MANAGED_
GRPC_ ๐TOOLS - MANAGED_
PROTOBUF ๐
Functionsยง
- build_
codegen_ ๐cmd - Build a fresh
Commandinvokingrobonix-codegeneither directly (preferred โ picks up$ROBONIX_CODEGEN_BIN/ installed bin / target/ in that order) or viacargo run -p robonix-codegenas a last resort. Caller appends the actual--lang โฆ -I โฆ -o โฆargs. - clean_
codegen_ ๐outputs - collect_
proto_ ๐inputs - ensure_
success ๐ - execute
- fingerprint_
proto_ ๐inputs - locate_
codegen_ ๐bin - Locate a runnable
robonix-codegenbinary without going through cargo. Search order: - managed_
codegen_ ๐python - A Python with the pinned codegen toolchain, under the robonix home, created with uv on first use and reused after that.
- managed_
python_ ๐ready - The managed Python exists and still has exactly the pinned versions; an older one is rebuilt rather than reused.
- pinned_
mismatch ๐ - What differs from the pinned toolchain, if anything.
- probe_
python_ ๐grpc_ tools - publish_
directory ๐ - python_
command ๐ - A command running
pythonwith the user site off, so packages under ~/.local never mix into the toolchain. - resolve_
pkg_ ๐root - resolve_
python_ ๐selection - The Python named by
--python, else byRBNX_CODEGEN_PYTHON;Nonemeans the managed toolchain. - run_cmd ๐
- select_
codegen_ ๐python - temporary_
sibling ๐ - validate_
generated_ ๐imports - write_
toolchain_ ๐metadata