$npx skillfedfor your agent

pylint-protobuf

A plugin for making Pylint aware of the fields of protobuf-generated classes

With conditionsPyPI Quality AssuranceReleased Dec 2023114.0K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — pylint_protobuf-0.22.0-py2.py3-none-any.whl
v0.22.0 · released 2023-12-10 · 3 runtime deps: astroid, pylint, protobuf

Yes, if you work with protobuf-generated Python code and want Pylint to catch protobuf-specific errors. The plugin is stable and low-friction to install. However, maintenance is dormant (last release 2023-12-10, no recent commits), so verify compatibility with your current pylint and protobuf versions before relying on it in production. Not necessary if you use mypy-protobuf or control the entire protobuf pipeline.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires protobuf-generated Python modules (_pb2.py files) to already exist in your project; the plugin does not generate them.
  • Low friction to install; depends on astroid, pylint, and protobuf.
  • Maintenance is dormant—last release was 2023-12-10 and no commits since then—so expect no active bug fixes or feature updates, though the package remains stable for its current scope.

License · maintenance · safety

MIT (permissive) — MIT license is permissive, allowing use in commercial and private projects with minimal restrictions.

last release 2023-12-10 (978 days) · last repo commit 2023-12-10 · 29 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 114,004 downloads/mo, #12,319 on PyPI

Verify before relying

pip install pylint-protobuf

Add to pylintrc:
[MASTER]
load-plugins=pylint_protobuf

Then run:
pylint --load-plugins=pylint_protobuf your_code.py
  • Whether the plugin works with recent versions of pylint and protobuf beyond what its dormant status suggests.
  • Coverage of protobuf features beyond the documented known limitations (extensions, HasExtension, ClearExtension).
  • Whether Python 3.8 minimum support still holds or if newer Python versions are required by current pylint/protobuf versions.
Same gist for agents: .md · .json

What it is and what it does

pylint-protobuf is a Pylint plugin that teaches Pylint to understand the structure and type constraints of protobuf-generated Python classes. When you generate Python code from .proto files using protoc, the resulting classes have dynamically created fields that Pylint normally cannot inspect; this plugin bridges that gap by recognizing protobuf message definitions and their field types, allowing Pylint to catch errors like passing positional arguments to message constructors, assigning values to non-existent fields, or assigning wrong types to typed fields.

The plugin integrates directly into Pylint's analysis pipeline and emits custom error codes (e.g., protobuf-no-posargs, protobuf-undefined-attribute, protobuf-type-error) when it detects violations. It is most useful if you consume protobuf-generated code but do not control the .proto definitions or the code generation pipeline; if you control the entire pipeline, mypy-protobuf (a protoc plugin) may be a better fit.

Use it for

  • Catch type errors in protobuf message field assignments during code review before runtime.
  • Detect attempts to access fields that don't exist in a protobuf message definition.
  • Enforce correct constructor usage for protobuf messages (keyword-only arguments).
  • Lint downstream code that consumes pre-generated protobuf modules without access to .proto files.
  • Integrate protobuf validation into existing Pylint-based CI/CD workflows.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you work with protobuf-generated Python code and want Pylint to catch protobuf-specific errors.

The plugin is stable and low-friction to install. However, maintenance is dormant (last release 2023-12-10, no recent commits), so verify compatibility with your current pylint and protobuf versions before relying on it in production. Not necessary if you use mypy-protobuf or control the entire protobuf pipeline.

Install

pylint-protobuf on PyPI

Before you install

Low friction to install; depends on astroid, pylint, and protobuf. Maintenance is dormant—last release was 2023-12-10 and no commits since then—so expect no active bug fixes or feature updates, though the package remains stable for its current scope.

Requires protobuf-generated Python modules (_pb2.py files) to already exist in your project; the plugin does not generate them.

License in practice

MIT license is permissive, allowing use in commercial and private projects with minimal restrictions.

Quickstart

pip install pylint-protobuf

Add to pylintrc:
[MASTER]
load-plugins=pylint_protobuf

Then run:
pylint --load-plugins=pylint_protobuf your_code.py

Verify before relying

  • Whether the plugin works with recent versions of pylint and protobuf beyond what its dormant status suggests.
  • Coverage of protobuf features beyond the documented known limitations (extensions, HasExtension, ClearExtension).
  • Whether Python 3.8 minimum support still holds or if newer Python versions are required by current pylint/protobuf versions.

Package facts

LicenseMIT permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependencies
3 packages
astroidpylintprotobuf
MaintenanceDormant 978 days since the last release
Last repo commit
First released
Downloads114,004 / month, #12,319 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaEnvironment :: ConsoleIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3Topic :: Software Development :: Quality Assurance

Evidence: pylint_protobuf-0.22.0-py2.py3-none-any.whl

Tags

Capabilities
pylint protobuf pluginprotobuf type checking linterpylint protobuf fieldsprotobuf generated class lintingprotobuf message validationpylint protobuf errorsprotobuf attribute checking
Topics
protobuf-lintingpylint-plugintype-checking
PyPI keywords
pylintpluginprotobuf

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 › “pylint protobuf plugin”

Give your agent the search over MCP, or paste the wish link into any chat.

More Quality Assurance packages

coverage Worth it
PyPI · Testing · released Aug 2026

Coverage.py measures which lines of Python code are executed during test runs, reporting coverage percentages and identifying untested code paths.

Install it if you want to measure test completeness or enforce coverage thresholds in your project.

permissive licensepure Python · 3.10+
335.8Mdownloads / mo
ruff Worth it
PyPI · Python Modules · released Aug 2026

Ruff is a Python linter and code formatter written in Rust that combines linting, formatting, and code fixing into a single tool, replacing Flake8, Black, isort, and related utilities.

MITcompiled wheel · 3.7+
316.1Mdownloads / mo
pexpect With conditions
PyPI · Software Development · released Nov 2023

Pexpect spawns and controls interactive console applications by sending input and matching output patterns, automating tasks that would otherwise require manual interaction.

ISCpure Pythonaging
200.8Mdownloads / mo
black Worth it
PyPI · Python Modules · released May 2026

Black reformats Python source code to a consistent style by parsing entire files and rewriting them according to an opinionated, deterministic set of rules, eliminating manual formatting decisions.

MITpure Python · 3.10+
179.9Mdownloads / mo
pytest-xdist Worth it
PyPI · Utilities · released Jul 2025

pytest-xdist distributes pytest tests across multiple CPU cores or machines to speed up test execution, with the simplest usage being `pytest -n auto` to spawn workers equal to available CPUs.

Install it if your test suite takes long enough that parallelization would save meaningful time.

MITpure Python · 3.9+
177.1Mdownloads / mo
cfn-lint Worth it
PyPI · Quality Assurance · released Aug 2026

Validates AWS CloudFormation templates in YAML or JSON format against resource provider schemas and best practices, checking property values and configuration correctness.

Install it if you work with CloudFormation templates.

MIT-0pure Python
114.9Mdownloads / mo

See also setuptools-protobuf · hatch-protobuf · mypy-protobuf · pylint-per-file-ignores · pylint-odoo · pylint-pydantic · pylint-django · pylint-actions · pylint-pytest · protoletariat