types-grpcio-reflection
Typing stubs for grpcio-reflection
What it is and what it does
This is a type stub package—a collection of type annotations without runtime code—for grpcio-reflection. It allows static type checkers like mypy 1.20.0 and pyright 1.1.408 to understand the types and signatures of the grpcio-reflection library when you use it in your own code. The stubs are maintained as part of the typeshed project.
You install it alongside grpcio-reflection itself. The package has no runtime behavior; its only purpose is to give your type checker the information it needs to validate calls to grpcio-reflection APIs. It depends on types-grpcio and types-protobuf, which provide stubs for their respective libraries.
Use it for:
- Enable mypy or pyright to catch type errors in code that uses grpcio-reflection before runtime.
- Document the expected types of grpcio-reflection function arguments and return values in your IDE.
- Integrate gRPC reflection into a codebase that enforces strict type checking in CI/CD.
- Reduce debugging time by catching reflection API misuse at type-check time rather than runtime.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides type hints for grpcio-reflection, enabling static type checkers like mypy and pyright to validate code using gRPC reflection APIs.
Yes, if you use grpcio-reflection and run a static type checker. Install it as a dev dependency alongside grpcio-reflection. It has no runtime overhead and is actively maintained. If you do not use type checking or do not use grpcio-reflection, it is unnecessary.
Install
types-grpcio-reflection on PyPI
pip
pip install types-grpcio-reflectionuv
uv add types-grpcio-reflectionpoetry
poetry add types-grpcio-reflectionInstalling types-grpcio-reflection
Before you install
Low install friction with a wheel-only distribution. Actively maintained as part of typeshed; last commit 2026-08-14. Requires Python >=3.10.
License in practice
Licensed under Apache-2.0 (permissive), imposing no significant restrictions on use or redistribution in most contexts.
Quickstart
pip install types-grpcio-reflection
# In your type-checked code, type checkers will now understand types-grpcio and types-protobuf APIs
Requires Python >=3.10; grpcio-reflection must be installed separately for runtime functionality.
Verify before relying
- Whether this stub package is kept in sync with all grpcio-reflection 1.* releases or only a subset.
- Whether the stub covers all public APIs of grpcio-reflection or only a subset.
- Specific type-checking workflow integration steps beyond installation.
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 — types-grpcio, types-protobuf |
| Maintenance | actively maintained — 98 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 146,786/month — #11,089 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: types_grpcio_reflection-1.0.0.20260508-py3-none-any.whl
Tags
More Software Development packages
Provides backported and experimental type hints…
permissive · top 100 on PyPI
numpyNumPy provides an N-dimensional array object…
permissive · top 100 on PyPI
fastapiFastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
distlibDistlib provides low-level packaging utilities…
permissive · top 1,000 on PyPI
grpcio-reflectionEnables gRPC Python services to expose runtime…
permissive · top 5,000 on PyPI
types-grpcio-statusProvides type stubs for grpcio-status, enabling…
permissive · top 15,000 on PyPI
types-pyaudioProvides type hints for the pyaudio library,…
permissive · top 15,000 on PyPI
types-nanoidProvides type hints for the nanoid package,…
permissive · top 15,000 on PyPI
optypeoptype provides single-method protocols and…
permissive · top 5,000 on PyPI
types-grpcio-health-checkingProvides type stubs for grpcio-health-checking,…
permissive · top 15,000 on PyPI
grpc-stubsProvides type stubs for gRPC Python, enabling…
permissive · top 5,000 on PyPI
types-Flask-MigrateProvides type hints for Flask-Migrate, enabling…
permissive · top 15,000 on PyPI
types-toposortProvides type hints for the toposort package,…
permissive · top 15,000 on PyPI
types-coloramaProvides type stubs for colorama, enabling…
permissive · top 5,000 on PyPI