{"categories":[{"label":"Version Control","url":"https://skillfed.io/packages/category/software-development-version-control"}],"enrichment":{"capability":"A setuptools plugin that automates compilation of protobuf files during the Python package build process, generating Python code from .proto definitions.","skillfed_tags":["build-automation","protobuf"],"use_cases":["Include protobuf-generated Python modules in a package distribution without manual pre-compilation","Automate proto file compilation in CI/CD pipelines using GitHub Actions or similar","Generate type hints alongside protobuf code by enabling the mypy extra","Manage multiple .proto files with custom search paths using the proto_path configuration","Pin a specific protoc version for reproducible builds across different environments"],"what_it_does":"setuptools-protobuf is a build-time plugin for setuptools that integrates protobuf compilation into the Python package build process. It wraps the protoc compiler and runs it during setup to convert .proto files into Python modules, placing generated files in the source tree for inclusion in the package. The plugin supports configuration via setup.py, setup.cfg, or pyproject.toml, and can optionally generate type hints when the mypy extra is enabled.\n\nThe plugin requires the protoc executable to be available in the build environment\u2014either pre-installed on the system or automatically downloaded by specifying a protoc_version. It is designed for projects that define protocol buffer schemas and need to generate Python code from them as part of their build workflow, eliminating manual compilation steps.","worth_installing":"Yes, if your project uses protobuf schemas and you want to automate code generation during the build process. The low install friction, active maintenance, permissive license, and zero known vulnerabilities make it a straightforward choice. The main prerequisite is having protoc available; if that's already part of your build environment or CI setup, this plugin integrates cleanly."},"id":"setuptools-protobuf","links":{"html":"https://skillfed.io/packages/setuptools-protobuf","md":"https://skillfed.io/packages/setuptools-protobuf.md","pypi":"https://pypi.org/project/setuptools-protobuf/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2025-10-29","license_spdx":null,"license_treatment":"permissive","name":"setuptools-protobuf","python_support":"supports_current","summary":"Setuptools protobuf extension plugin"},"popularity":{"monthly_downloads":89996,"position":13623,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.1.16"}
