grpc/tools/distrib/python/xds_protos
Stanley Cheung f4fd20cd36
[Release] Bump version to 1.61.0-pre3 (on v1.61.x branch) (#35677)
Change was created by the release automation script. See
go/grpc-release.
2024-01-25 19:32:06 -08:00
..
MANIFEST.in [packaging] Publish xds-protos as part of the standard package pipeline (#33797) 2023-07-25 16:41:02 -07:00
README.rst Fix some issues with the xds-protos package (#25999) 2021-04-20 09:23:07 -07:00
build.py [Python run_test] Revert "Revert "[Python run_test] Fix run_test"" (#34671) 2023-10-19 09:47:17 -07:00
build_validate_upload.sh Remove Python 2.7 binary wheel generations (#26691) 2021-07-23 08:20:39 -07:00
grpc_version.py [Release] Bump version to 1.61.0-pre3 (on v1.61.x branch) (#35677) 2024-01-25 19:32:06 -08:00
setup.py [packaging] Publish xds-protos as part of the standard package pipeline (#33797) 2023-07-25 16:41:02 -07:00

README.rst

Package "xds-protos" is a collection of ProtoBuf generated Python files for xDS protos (or the `data-plane-api <https://github.com/envoyproxy/data-plane-api>`_). You can find the source code of this project in `grpc/grpc <https://github.com/grpc/grpc>`_. For any question or suggestion, please post to https://github.com/grpc/grpc/issues.

Each generated Python file can be imported according to their proto package. For example, if we are trying to import a proto located at "envoy/service/status/v3/csds.proto", whose proto package is "package envoy.service.status.v3", then we can import it as:

::

  # Import the message definitions
  from envoy.service.status.v3 import csds_pb2
  # Import the gRPC service and stub
  from envoy.service.status.v3 import csds_pb2_grpc