grpc-stubs
Mypy stubs for gRPC
Decision gist · record as of 2026-08-14
No. The package is archived and abandoned; the maintainer explicitly directs users to typeshed for ongoing support. While it has no known vulnerabilities and low install friction, installing a stub package with no active maintenance creates a maintenance debt. Install typeshed's gRPC stubs instead, or use a tool that automatically pulls stubs from typeshed.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires grpcio to be installed; intended for development/type-checking workflows, not runtime.
- Low install friction with a single runtime dependency on grpcio.
- However, the package is archived as of 2025-04-28 and marked abandoned; active development has moved to typeshed.
License · maintenance · safety
MIT (permissive) — MIT license is permissive and imposes no restrictions on use, modification, or distribution.
last release 2025-04-28 (473 days) · last repo commit 2025-04-28 · 41 stars · archived
0 known vulnerabilities (OSV.dev, 2026-08-14) · 3,398,091 downloads/mo, #2,635 on PyPI
Alternatives
Verify before relying
pip install grpc-stubs
Then use with mypy or another PEP 561-compliant type checker to validate gRPC code:
mypy your_grpc_code.py- Whether typeshed's gRPC stubs are a drop-in replacement or require migration steps.
- Current compatibility with Python versions beyond 3.8, given the package is archived.
- Whether the stubs remain accurate for recent grpcio versions post-abandonment.
What it is and what it does
grpc-stubs is a PEP 561-compliant stub-only package that provides type information for the gRPC library, allowing developers to use static type checkers like mypy to validate gRPC code. It depends only on grpcio and installs as a pure Python wheel with no compiled dependencies.
The package is now archived and abandoned as of 2025-04-28. The maintainer has transferred active development to typeshed, the community-maintained repository of type stubs for the Python ecosystem. While the last release was recent, no new features or fixes should be expected from this repository; users should plan to migrate to typeshed's gRPC stubs for ongoing support.
Use it for
- Type-check gRPC service definitions and client code with mypy before runtime.
- Enable IDE autocompletion and inline type hints for gRPC imports and calls.
- Validate gRPC message and service definitions in a CI/CD pipeline using mypy.
- Provide type safety for gRPC-based microservices during development.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No.
The package is archived and abandoned; the maintainer explicitly directs users to typeshed for ongoing support. While it has no known vulnerabilities and low install friction, installing a stub package with no active maintenance creates a maintenance debt. Install typeshed's gRPC stubs instead, or use a tool that automatically pulls stubs from typeshed.
Install
grpc-stubs on PyPI
Before you install
Low install friction with a single runtime dependency on grpcio. However, the package is archived as of 2025-04-28 and marked abandoned; active development has moved to typeshed. The last release was 473 days ago.
Requires grpcio to be installed; intended for development/type-checking workflows, not runtime.
License in practice
MIT license is permissive and imposes no restrictions on use, modification, or distribution.
Quickstart
pip install grpc-stubs
Then use with mypy or another PEP 561-compliant type checker to validate gRPC code:
mypy your_grpc_code.py
Verify before relying
- Whether typeshed's gRPC stubs are a drop-in replacement or require migration steps.
- Current compatibility with Python versions beyond 3.8, given the package is archived.
- Whether the stubs remain accurate for recent grpcio versions post-abandonment.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.6 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagegrpcio |
| Maintenance | Abandoned 473 days since the last release |
| Last repo commit | repository archived |
| First released | |
| Downloads | 3,398,091 / month, #2,635 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 3 - AlphaLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8 |
Evidence: grpc_stubs-1.53.0.6-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “grpc type stubs”
- grpc-stubsProvides type stubs for gRPC Python, enabling static type checking of…
- types-grpcio-reflectionProvides type hints for grpcio-reflection, enabling static type…
- types-grpcio-health-checkingProvides type stubs for grpcio-health-checking, enabling static type…
Give your agent the search over MCP, or paste the wish link into any chat.
More Software Development packages
Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.
See also types-grpcio · types-grpcio-health-checking · types-grpcio-reflection · types-grpcio-status · pytest-mypy-plugins · sortedcontainers-stubs · types-redis · django-filter-stubs · types-dataclasses · pydub-stubs