$npx skillfedfor your agent

protoc-gen-validate

PGV for python via just-in-time code generation

With conditionsPyPI Quality AssuranceReleased Feb 2026208.1K downloads / moPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — protoc_gen_validate-1.3.3-py3-none-any.whl
v1.3.3 · released 2026-02-18 · Python >=3.10 · 3 runtime deps: Jinja2, protobuf, validate-email

Yes, with conditions. The package solves a real problem—runtime semantic validation of protobuf messages—and has low install friction and no known vulnerabilities. However, the repository is archived and abandoned, so install only if you are comfortable maintaining a frozen dependency or if your validation rules are stable and unlikely to need updates. Verify the license terms before use in commercial contexts.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later; protobuf messages must be generated with validation annotations in the schema.
  • Low install friction with pure Python wheels.
  • Repository is archived and marked abandoned as of the last commit in 2026-05-27, with no active maintenance—use only if you accept the risk of unpatched issues.

License · maintenance · safety

(unclear) — License status is unclear; no SPDX identifier or raw license text is available. Verify the actual license terms before depending on this package in commercial or restricted contexts.

last release 2026-02-18 (177 days) · last repo commit 2026-05-27 · 4,120 stars · archived

0 known vulnerabilities (OSV.dev, 2026-08-14) · 208,130 downloads/mo, #9,535 on PyPI

Verify before relying

pip install protoc-gen-validate

from protoc_gen_validate.validator import validate, ValidationFailed

try:
    validate(message)
except ValidationFailed as err:
    print(err)
  • Which protobuf validation rules from validate.proto are actually implemented in this Python version
  • Whether the abandoned status affects compatibility with current protobuf library versions
  • Actual license terms and attribution requirements for the package
Same gist for agents: .md · .json

What it is and what it does

Protoc-gen-validate is a Python implementation that enforces semantic validation rules on protocol buffer messages at runtime. While protobuf's type system guarantees structural correctness, it cannot enforce business logic constraints like value ranges, string patterns, or required relationships between fields. This package reads validation annotations embedded in your protobuf schema and applies runtime checks that raise ValidationFailed when a message violates those constraints.

The package depends on Jinja2, protobuf, and validate-email to generate and execute validators. It supports Python 3.10 through 3.13 and installs with low friction as a pure Python wheel. The repository is archived and abandoned, meaning no new features or security patches are being released, so it is suitable only for stable, self-contained use cases where you can accept the risk of unpatched issues.

Use it for

  • Validate incoming API request payloads against business rules before processing.
  • Enforce data integrity constraints in microservices that exchange protobuf messages across service boundaries.
  • Catch invalid data early in a data pipeline by validating protocol buffer records before storage.
  • Test that generated protobuf messages conform to schema-defined rules in unit tests.
  • Ensure user input meets semantic requirements when deserializing protobuf from untrusted sources.

Worth the install?

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

With conditions

Yes, with conditions.

The package solves a real problem—runtime semantic validation of protobuf messages—and has low install friction and no known vulnerabilities. However, the repository is archived and abandoned, so install only if you are comfortable maintaining a frozen dependency or if your validation rules are stable and unlikely to need updates. Verify the license terms before use in commercial contexts.

Install

protoc-gen-validate on PyPI

Before you install

Low install friction with pure Python wheels. Repository is archived and marked abandoned as of the last commit in 2026-05-27, with no active maintenance—use only if you accept the risk of unpatched issues.

Requires Python 3.10 or later; protobuf messages must be generated with validation annotations in the schema.

License in practice

License status is unclear; no SPDX identifier or raw license text is available. Verify the actual license terms before depending on this package in commercial or restricted contexts.

Quickstart

pip install protoc-gen-validate

from protoc_gen_validate.validator import validate, ValidationFailed

try:
    validate(message)
except ValidationFailed as err:
    print(err)

Verify before relying

  • Which protobuf validation rules from validate.proto are actually implemented in this Python version
  • Whether the abandoned status affects compatibility with current protobuf library versions
  • Actual license terms and attribution requirements for the package

Package facts

LicenseNot declared unclear
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
3 packages
Jinja2protobufvalidate-email
MaintenanceAbandoned 177 days since the last release
Last repo commit repository archived
First released
Downloads208,130 / month, #9,535 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Programming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13

Evidence: protoc_gen_validate-1.3.3-py3-none-any.whl

Tags

Capabilities
protobuf message validationprotoc-gen-validate pythonsemantic validation protobufruntime protobuf constraintspgv python implementationprotobuf schema rules enforcement
Topics
protobufvalidationdata-integrity

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 › “protoc-gen-validate python”

  • protoc-gen-validateValidates protocol buffer messages against semantic rules defined in…
  • protovalidateValidates Protocol Buffer messages against semantic rules defined in…
  • eightEight provides a compatibility layer that lets you write Python 3…

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 protovalidate · pure-protobuf · proto-plus · dbt-protos · foxglove-schemas-protobuf · protoc-wheel-0 · opensearch-protobufs · pylint-protobuf · nanopb · rfc3987-syntax