PGV for python via just-in-time code generation
While protocol buffers effectively guarantee the types of structured data, they cannot enforce semantic rules for values. This package is a python implementation of protoc-gen-validate, which allows for runtime validation of various semantic assertions expressed as annotations on the protobuf schema. The syntax for all available annotations is in validate.proto. Implemented Python annotations are listed in the rules comparison.
$
pkg install py311-protoc-gen-validateOrigin
devel/py-protoc-gen-validate
Size
226KiB
License
APACHE20
Maintainer
sunpoet@FreeBSD.org
Dependencies
4 packages
Required by
0 packages