Skip to main content

SMG gRPC proto definitions for SGLang, vLLM, and TRT-LLM

Project description

smg-grpc-proto

Protocol Buffer definitions for SMG (Shepherd Model Gateway) gRPC services.

This package provides the Python gRPC stubs for:

  • SGLang scheduler service
  • vLLM engine service
  • TRT-LLM service

Installation

pip install smg-grpc-proto

Usage

from smg_grpc_proto import sglang_scheduler_pb2, sglang_scheduler_pb2_grpc
from smg_grpc_proto import vllm_engine_pb2, vllm_engine_pb2_grpc
from smg_grpc_proto import trtllm_service_pb2, trtllm_service_pb2_grpc

Development

The proto files are located in grpc_client/proto/ in the SMG repository. A symlink at smg_grpc_proto/proto points to the proto source files. Python stubs are generated at build time using grpcio-tools.

To install in editable mode:

# From repo root (symlink handles proto file discovery)
pip install -e grpc_client/python/

For CI or environments where symlinks don't work:

mkdir -p grpc_client/python/smg_grpc_proto/proto
cp grpc_client/proto/*.proto grpc_client/python/smg_grpc_proto/proto/
pip install -e grpc_client/python/

License

Apache-2.0

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

smg_grpc_proto-0.3.2.tar.gz (13.5 kB view details)

Uploaded Source

Built Distribution

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

smg_grpc_proto-0.3.2-py3-none-any.whl (44.2 kB view details)

Uploaded Python 3

File details

Details for the file smg_grpc_proto-0.3.2.tar.gz.

File metadata

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

File hashes

Hashes for smg_grpc_proto-0.3.2.tar.gz
Algorithm Hash digest
SHA256 2b2932cb4892a44ec639feee0494e4da68d524896047157fc80b5f7fc451ac88
MD5 95065a489ef2af5bfa22add7f3f196e2
BLAKE2b-256 8785a1eea1fa192b1e72a1009f63d881f27a6954cc7be1ab0efd15cc5cbdeffa

See more details on using hashes here.

File details

Details for the file smg_grpc_proto-0.3.2-py3-none-any.whl.

File metadata

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

File hashes

Hashes for smg_grpc_proto-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 926b32dc26d368acf76404ad924d141e6d226e47d58a03a7908f8aa386168922
MD5 824892c08078955a3dc5fba98e8c86b7
BLAKE2b-256 80a57e2c03bd793ad9cb962c9b3d1f6beba182770aad5c2fbbc102e459444c25

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