skillfed

types-protobuf

Typing stubs for protobuf

types-protobuf Permissive license Apache-2.0 Active 37 v7.34.1.20260518 released

Install

types-protobuf on PyPI

pip

pip install types-protobuf

uv

uv add types-protobuf

poetry

poetry add types-protobuf

Package facts

License Apache-2.0 (permissive)
Python support supports the current Python release (>=3.10)
Install friction low — pure-Python wheel
Runtime dependencies none
Maintenance actively maintained — 87 days since the last release
Last repo commit
First released
Popularity one of the top 1,000 most-downloaded packages on PyPI (30-day window, as of 2026-08-13)
Known vulnerabilities none known (OSV.dev, checked 2026-08-13)

Evidence: types_protobuf-7.34.1.20260518-py3-none-any.whl

Programming Language :: Python :: 3Typing :: Stubs Only

About types-protobuf

from the package's own PyPI description — quoted content, verbatim

Typing stubs for protobuf

This is a type stub package for the protobuf package. It can be used by type checkers to check code that uses protobuf. This version of types-protobuf aims to provide accurate annotations for protobuf~=7.34.1.

Partially generated using mypy-protobuf==3.6.0 and libprotoc 34.1 on protobuf v34.1 (python protobuf==7.34.1).

This stub package is marked as partial. If you find that annotations are missing, feel free to contribute and help complete them.

This package is part of the typeshed project. All fixes for types and metadata should be contributed there. See the README for more details. The source for this package can be found in...

Read as markdown · JSON record · Source repository · Homepage

AI interpretation — verify before relying

AI-generated interpretation of the package facts above; every digit, version, license, or vulnerability id it cites is grounded in the facts already shown on this page

Provides type stubs for protobuf, enabling static type checkers like mypy and pyright to validate code that uses protobuf without requiring the full protobuf runtime.

Minimal friction: a pure-Python stub package with zero runtime dependencies, distributed as a wheel. Active maintenance from the typeshed project with recent releases.

Apache-2.0 permissive license allows free use, modification, and distribution in both open-source and proprietary projects with minimal restrictions.

Usage

pip install types-protobuf==7.34.1.20260518

Requires Python 3.10 or later. This is a stub-only package; the actual protobuf runtime must be installed separately.

Verdict: A lightweight, actively maintained type-stub package from the official typeshed project, suitable for adding type safety to protobuf code. Zero security vulnerabilities and permissive licensing make it a safe choice for type-checking workflows.

Needs verification

  • Coverage completeness: the package is marked as partial; extent of missing annotations for protobuf 7.34.1 is unknown.
  • Whether mypy-protobuf 3.6.0 and libprotoc 34.1 remain current for the latest protobuf releases.
protobuf type stubstype checking protobufmypy protobuf annotationsstatic type hints protobufpyright protobuf typesprotobuf typing support

Similar packages