Skip to main content

Generated protobuf/gRPC stubs for the vllm-grpc frontend, proxy, and client

Project description

vllm-grpc-gen

Generated protobuf and gRPC Python stubs for the vllm-grpc project. This package is the shared, foundational dependency of vllm-grpc-proxy, vllm-grpc-frontend, and vllm-grpc-client — it carries the compiled message and service definitions (vllm_grpc.v1) that every other package imports.

The stubs are produced at build time from the proto/ source of truth (via a protoc build hook); they are never committed to the repository.

Affiliation: vllm-grpc is an independent, community project and is not affiliated with, endorsed by, or sponsored by the vLLM project. "vLLM" is used here only to identify the inference engine this project works with.

Install

pip install vllm-grpc-gen

It installs transitively when you install any of the leaf packages, so you rarely need to install it directly.

Usage

from vllm_grpc.v1 import chat_pb2, chat_pb2_grpc, completions_pb2, health_pb2

request = chat_pb2.ChatRequest(model="Qwen/Qwen3-0.6B")
# `chat_pb2_grpc.ChatServiceStub(channel)` then calls the service.

Links

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vllm_grpc_gen-0.1.0.tar.gz (8.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vllm_grpc_gen-0.1.0-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

File details

Details for the file vllm_grpc_gen-0.1.0.tar.gz.

File metadata

  • Download URL: vllm_grpc_gen-0.1.0.tar.gz
  • Upload date:
  • Size: 8.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for vllm_grpc_gen-0.1.0.tar.gz
Algorithm Hash digest
SHA256 1f733ea44dc39297a558a721d470cf5f00f33083712b026fc1a2d32e7b2150b5
MD5 0917da364733ce900cea6a0ff011868f
BLAKE2b-256 6a2179f0d07738395b540b97a541f1f4daf650546afab9f21f697c3b9516616b

See more details on using hashes here.

File details

Details for the file vllm_grpc_gen-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: vllm_grpc_gen-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 9.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for vllm_grpc_gen-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 03dc6718f59de99f6c06e22a1df1175611fe7da275bae1c4b2db2565e2401c69
MD5 5cddb1832ba125ebaaba441725686f07
BLAKE2b-256 e9f5c96d5ec9b4420819c34b4ed80f1ace8b78259924956cfbcee15cfbb10c03

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page