{"categories":[{"label":"Networking","url":"https://skillfed.io/packages/category/system-networking"},{"label":"Code Generators","url":"https://skillfed.io/packages/category/software-development-code-generators"},{"label":"Compilers","url":"https://skillfed.io/packages/category/software-development-compilers"}],"enrichment":{"capability":"A protoc plugin that generates Python client and server code for the Connect RPC protocol from Protobuf service definitions.","skillfed_tags":["code-generation","protobuf","rpc-framework"],"use_cases":["Generate type-safe Python server stubs from a Protobuf service definition to implement with ASGI/WSGI frameworks.","Create client code automatically from Protobuf schemas for calling remote services.","Build polyglot APIs where the same schema generates clients in multiple languages.","Set up RPC middleware for logging, tracing, and metrics via interceptors.","Migrate from gRPC to Connect while maintaining protocol interoperability."],"what_it_does":"protoc-gen-connect-python is a code generator plugin for the protoc compiler that transforms Protobuf service definitions into idiomatic Python code for the Connect RPC protocol. It sits in the buf code generation pipeline and outputs type-annotated stubs that work with both WSGI and ASGI frameworks on the server side, and provides client implementations on the client side.\n\nDevelopers define their Protobuf schema once, run the generator, and get Python classes ready to subclass for servers or instantiate for clients. The plugin supports the Connect, gRPC, and gRPC-Web protocols, handles streaming natively, and integrates middleware and interceptors. The generated code is compatible with HTTP/1.1 and HTTP/2.","worth_installing":"Yes, if you are building or consuming Connect RPC services in Python. The plugin is actively maintained, has no known vulnerabilities, supports Python 3.10 through 3.14, and eliminates manual code duplication between client and server definitions. Install it as a dev dependency in your buf-based code generation workflow. Not necessary if you are not using Connect or Protobuf."},"id":"protoc-gen-connect-python","links":{"html":"https://skillfed.io/packages/protoc-gen-connect-python","md":"https://skillfed.io/packages/protoc-gen-connect-python.md","pypi":"https://pypi.org/project/protoc-gen-connect-python/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-03-19","license_spdx":"Apache-2.0","license_treatment":"permissive","name":"protoc-gen-connect-python","python_support":"supports_current","summary":"Code generator for connect-python"},"popularity":{"monthly_downloads":255199,"position":8483,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.9.0"}
