grpc/tools/distrib/python/xds_protos
Xuan Wang bb3edd22b3 [Python Modernization] Deprecate pkg_resources (#35849)
Discuss thread about this change: [link](https://mail.google.com/mail/u/0/#sent/QgrcJHsBpWNGRlrMktwbppGGfFTVCFLcQgL?compose=new)
<!--

If you know who should review your pull request, please assign it to that
person, otherwise the pull request would get assigned randomly.

If your pull request is for a specific language, please add the appropriate
lang label.

-->

Closes #35849

PiperOrigin-RevId: 607144827
2024-02-14 16:44:42 -08:00
..
bazel/cc_proto_descriptor_library/testdata [build] Update `envoy-api` and `xds` dependencies (#35603) 2024-01-23 15:15:47 -08:00
contrib/envoy/extensions [build] Update `envoy-api` and `xds` dependencies (#35603) 2024-01-23 15:15:47 -08:00
envoy [build] Update `envoy-api` and `xds` dependencies (#35603) 2024-01-23 15:15:47 -08:00
google Fix breakage when built against protobuf head (#34945) 2024-01-19 12:43:14 -08:00
opencensus Fix breakage when built against protobuf head (#34945) 2024-01-19 12:43:14 -08:00
opentelemetry Fix breakage when built against protobuf head (#34945) 2024-01-19 12:43:14 -08:00
udpa Fix breakage when built against protobuf head (#34945) 2024-01-19 12:43:14 -08:00
validate Fix breakage when built against protobuf head (#34945) 2024-01-19 12:43:14 -08:00
xds [build] Update `envoy-api` and `xds` dependencies (#35603) 2024-01-23 15:15:47 -08:00
BUILD.bazel Fix breakage when built against protobuf head (#34945) 2024-01-19 12:43:14 -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
__init__.py Fix breakage when built against protobuf head (#34945) 2024-01-19 12:43:14 -08:00
build.py [Python Modernization] Deprecate pkg_resources (#35849) 2024-02-14 16:44:42 -08:00
generated_file_import_test.py [build] Update `envoy-api` and `xds` dependencies (#35603) 2024-01-23 15:15:47 -08:00
grpc_version.py [Release] Bump version to 1.63.0-dev (on master branch) (#35899) 2024-02-13 16:09:36 -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