skillfed

googleapis-common-protos-stubs

Type stubs for googleapis-common-protos

googleapis-common-protos-stubs v2.3.1 175.5K downloads/30d#10,264 on PyPI5
Permissive license Apache-2.0 DORMANT released

What it is and what it does

This package is a collection of type stubs for googleapis-common-protos, a library that bundles protocol buffer definitions. Type stubs allow static type checkers like Mypy and IDEs to understand the types and structure of protobuf messages without requiring the checker to parse the underlying definitions. The stubs were generated automatically using mypy-protobuf.

You install this package alongside googleapis-common-protos to gain IDE autocomplete and type-checking support when working with common protocol buffer types. It has low install friction, supports Python 3.7 through 3.12, and depends on typing-extensions, googleapis-common-protos, grpc-stubs, and types-protobuf. The package is dormant—no updates since 2024-01-28—but carries no known vulnerabilities and is stable for its narrow purpose.

Use it for:

  • Enable Mypy or Pyright type checking in projects that use googleapis-common-protos.
  • Get IDE autocomplete and inline documentation for protocol buffer messages.
  • Ensure type safety when constructing or consuming protocol buffer objects in typed Python code.
  • Support static analysis in CI/CD pipelines that enforce strict type checking.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Provides type stubs for googleapis-common-protos, enabling static type checking and IDE autocomplete for protocol buffer definitions.

Yes, if you use googleapis-common-protos and want type checking. The package is lightweight, permissively licensed, and has no security issues. Dormant maintenance is not a concern for a stable stub package—stubs rarely need updates unless the underlying library's API changes significantly. Install it as a dev or optional dependency if type checking is part of your workflow.

Install

googleapis-common-protos-stubs on PyPI

pip

pip install googleapis-common-protos-stubs

uv

uv add googleapis-common-protos-stubs

poetry

poetry add googleapis-common-protos-stubs

Installing googleapis-common-protos-stubs

Before you install

Low install friction with a pure-Python wheel. Maintenance is dormant—last release was 2024-01-28—but the package is stable and carries no known vulnerabilities.

License in practice

Licensed under Apache-2.0 (permissive), so you can use it freely in commercial and open-source projects without copyleft obligations.

Quickstart

pip install googleapis-common-protos-stubs

import typing_extensions
# Type checkers now understand googleapis-common-protos types

When using Mypy, you must pass the --namespace-packages flag because namespace packages require this option.

Verify before relying

  • Whether stubs remain accurate for the latest googleapis-common-protos releases given dormant maintenance since January 2024.
  • Whether this package is actively used by downstream libraries or has been superseded by inline type hints.
  • Specific protobuf message types covered by the stubs and their scope.

Package facts

License Apache-2.0 (permissive)
Python support supports the current Python release (>=3.7,<4.0)
Install friction low — pure-Python wheel
Runtime dependencies 4 — typing-extensions, googleapis-common-protos, grpc-stubs, types-protobuf
Maintenance dormant — 929 days since the last release
Last repo commit
First released
Downloads 175,545/month — #10,264 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: googleapis_common_protos_stubs-2.3.1-py3-none-any.whl

License :: OSI Approved :: Apache Software LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Typing :: Stubs Only

Tags

type stubs googleapisprotobuf type hintsmypy protobuf stubsstatic type checking protobufgoogle apis type annotationsprotobuf typing support
type-stubsprotobuf

More Software Development packages

typing-extensions

Provides backported and experimental type hints…

permissive · top 100 on PyPI

numpy

NumPy provides an N-dimensional array object…

permissive · top 100 on PyPI

fastapi

FastAPI is a Python web framework for building…

permissive · top 100 on PyPI

annotated-doc

Provides a way to document function parameters,…

permissive · top 100 on PyPI

typer

Typer builds command-line applications from…

permissive · top 1,000 on PyPI

distlib

Distlib provides low-level packaging utilities…

permissive · top 1,000 on PyPI

googleapis-common-protos

Provides common Protocol Buffer message…

permissive · top 100 on PyPI

types-protobuf

Provides type stubs for the protobuf package,…

permissive · top 1,000 on PyPI

google-auth-stubs

Provides type stubs for the google-auth…

permissive · top 5,000 on PyPI

mypy-protobuf

Generates mypy-compatible stub files (.pyi)…

permissive · top 5,000 on PyPI

google-api-python-client-stubs

Provides type stubs for…

permissive · top 5,000 on PyPI

google-auth-oauthlib-stubs

Provides type stubs for google-auth-oauthlib to…

permissive · top 15,000 on PyPI

proto-plus

Proto Plus wraps protocol buffers to provide…

permissive · top 1,000 on PyPI

grpc-gateway-protoc-gen-openapiv2

Generates Python support code for gRPC Gateway…

permissive · top 15,000 on PyPI

protoc-gen-openapiv2

Generates Python support code for gRPC Gateway…

permissive · top 5,000 on PyPI

hatch-protobuf

A Hatch build plugin that generates Python…

copyleft · top 15,000 on PyPI