There is a grpcio-reflection package that enables reflection services for servers. See example: https://github.com/grpc/grpc/blob/master/examples/python/helloworld/greeter_server_with_reflection.py .
For client-side checking services list, here is the proto definition for service reflection API: https://github.com/grpc/grpc/blob/master/src/proto/grpc/reflection/v1alpha/reflection.proto You can get all the details in the descriptor proto. Another option is using the CLI tool: https://github.com/fullstorydev/grpcurl. On Sat, Apr 4, 2020 at 8:21 PM Louis Yang <[email protected]> wrote: > > Like grpcox tool, > > Given a service endpoint: 1.2.3.4:50001, return the all services list and > rpc api under these services > is there an existing api for this in grpc-python? > > -- > You received this message because you are subscribed to the Google Groups " > grpc.io" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/grpc-io/005f21b7-76ef-48fa-9be5-f270b52adf9b%40googlegroups.com > <https://groups.google.com/d/msgid/grpc-io/005f21b7-76ef-48fa-9be5-f270b52adf9b%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "grpc.io" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/CAMC1%3DjdmynvYMvejt5KvwDGG0Dd7DxGoOaW5hGWJntN4kY1%2BEQ%40mail.gmail.com.
