grpcio-reflection
Standard Protobuf Reflection Service for gRPC
What it is and what it does
grpcio-reflection is the standard reflection service implementation for gRPC Python. It allows a running gRPC server to expose metadata about its service definitions—the available RPC methods, their input and output message types, and other schema information—so that clients can dynamically discover and call methods without having the .proto files or generated stubs in advance.
The package is a thin wrapper around protobuf reflection capabilities, designed to integrate directly into grpcio servers. It depends on grpcio and protobuf as runtime dependencies and is maintained as part of the official gRPC project. It's classified as production-stable and actively maintained, with support for current Python versions.
Use it for:
- Build dynamic gRPC clients that discover service methods at runtime without pre-generated stubs.
- Enable interactive gRPC debugging tools and CLI utilities that need to introspect live services.
- Support polyglot environments where clients in different languages need to query a Python gRPC service schema.
- Implement gRPC API gateways or proxies that route calls based on dynamically discovered method signatures.
- Create testing frameworks that validate gRPC services by reflecting on their available endpoints.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Enables gRPC Python services to expose runtime reflection of their service definitions, allowing clients to discover available methods and message types without prior knowledge of the service schema.
Yes. This is the standard reflection implementation for gRPC Python, maintained as part of the official project, with low install friction and no known vulnerabilities. Install it if you need clients to discover gRPC service methods dynamically or if you're building tooling that requires runtime introspection of gRPC schemas.
Install
grpcio-reflection on PyPI
pip
pip install grpcio-reflectionuv
uv add grpcio-reflectionpoetry
poetry add grpcio-reflectionInstalling grpcio-reflection
Before you install
Low friction install with only two runtime dependencies (grpcio and protobuf). Active maintenance with a release 22 days ago. Supports modern Python versions from 3.10 through 3.14.
License in practice
Licensed under Apache-2.0 (permissive), allowing use in commercial and open-source projects with minimal restrictions.
Quickstart
pip install grpcio-reflection
from grpcio_reflection.v1 import reflection
reflection.enable_server_reflection(server)
Requires grpcio and protobuf to be installed; Python 3.10 or later.
Verify before relying
- Whether reflection service adds measurable latency or memory overhead to running gRPC servers.
- Support for reflection of custom service extensions or non-standard protobuf message types.
Package facts
| License | Apache-2.0 (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 2 — protobuf, grpcio |
| Maintenance | actively maintained — 22 days since the last release |
| First released | |
| Downloads | 9,918,529/month — #1,495 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: grpcio_reflection-1.83.0-py3-none-any.whl
Tags
More Internet packages
Botocore provides low-level, data-driven access…
permissive · top 100 on PyPI
aiobotocoreProvides an async client for AWS services using…
permissive · top 100 on PyPI
pydanticPydantic validates Python data structures…
permissive · top 100 on PyPI
filelockProvides a platform-independent file locking…
permissive · top 100 on PyPI
fastapiFastAPI is a Python web framework for building…
permissive · top 100 on PyPI
googleapis-common-protosProvides common Protocol Buffer message…
permissive · top 100 on PyPI
grpc-requestsA Python client library that uses gRPC…
permissive · top 15,000 on PyPI
grpcio-statusProvides Python protobuf definitions for…
permissive · top 100 on PyPI
types-grpcio-reflectionProvides type hints for grpcio-reflection,…
permissive · top 15,000 on PyPI
yagrcYagrc is a gRPC reflection client that lets you…
permissive · top 15,000 on PyPI
grpcio-testingProvides testing utilities and fixtures for…
permissive · top 15,000 on PyPI
grpcio-channelzProvides live debugging and introspection of…
permissive · top 15,000 on PyPI
grpciogRPC Python is an HTTP/2-based RPC framework…
permissive · top 100 on PyPI
grpcio-health-checkingProvides a standard health-checking service…
permissive · top 1,000 on PyPI
grpcio-adminExposes debugging and monitoring services for…
permissive · top 15,000 on PyPI
types-grpcioProvides type stubs for the grpcio package,…
permissive · top 5,000 on PyPI