{"id":29180492,"url":"https://github.com/nhurden/protoc-gen-grpc-python-prebuilt","last_synced_at":"2026-01-19T00:04:33.307Z","repository":{"id":301852671,"uuid":"1006479028","full_name":"nhurden/protoc-gen-grpc-python-prebuilt","owner":"nhurden","description":"Prebuilt binaries for protoc-gen-grpc-python","archived":false,"fork":false,"pushed_at":"2025-07-11T03:00:37.000Z","size":29,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-11T07:42:12.514Z","etag":null,"topics":["grpc","protocol-buffers","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nhurden.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-22T11:16:10.000Z","updated_at":"2025-07-11T03:00:36.000Z","dependencies_parsed_at":"2025-06-29T08:18:59.965Z","dependency_job_id":"a0d5e181-a70e-4e58-bebb-ea13a9213124","html_url":"https://github.com/nhurden/protoc-gen-grpc-python-prebuilt","commit_stats":null,"previous_names":["nhurden/protoc-gen-grpc-python-prebuilt"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/nhurden/protoc-gen-grpc-python-prebuilt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nhurden%2Fprotoc-gen-grpc-python-prebuilt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nhurden%2Fprotoc-gen-grpc-python-prebuilt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nhurden%2Fprotoc-gen-grpc-python-prebuilt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nhurden%2Fprotoc-gen-grpc-python-prebuilt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nhurden","download_url":"https://codeload.github.com/nhurden/protoc-gen-grpc-python-prebuilt/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nhurden%2Fprotoc-gen-grpc-python-prebuilt/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265472948,"owners_count":23772009,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["grpc","protocol-buffers","python"],"created_at":"2025-07-01T20:00:23.197Z","updated_at":"2026-01-19T00:04:33.296Z","avatar_url":"https://github.com/nhurden.png","language":"Python","readme":"# protoc-gen-grpc-python-prebuilt\n\nThis repository builds and publishes prebuilt versions of the\n`protoc-gen-grpc-python` plugin, addressing [gRPC issue #26125](https://github.com/grpc/grpc/issues/26125) where the plugin is not\ndistributed with `grpcio-tools`.\n\n## Problem\n\nThe gRPC Python plugin (`grpc_python_plugin`) is not available as a prebuilt binary, forcing users to either:\n\n1. Build it from source\n2. Use non-standard Python-specific code generation instead of protoc plugins\n\nThis makes it impossible for tools like `buf` to (locally) generate Python\ngRPC code, as they require protoc plugins.\n\n## Usage\n\n### Download Prebuilt Binary\n\n1. Go to the [Releases](https://github.com/nhurden/protoc-gen-grpc-python-prebuilt/releases) page\n2. Download the appropriate binary for your platform and gRPC version\n3. Make it executable: `chmod +x protoc-gen-grpc-python`\n4. Place it in your PATH or specify its location to protoc\n\n### Using with protoc\n\n```bash\nprotoc --plugin=protoc-gen-grpc-python=/path/to/protoc-gen-grpc-python \\\n       --grpc-python_out=. \\\n       your_service.proto\n```\n\n### Using with buf\n\nAdd to your `buf.gen.yaml`:\n\n```yaml\nversion: v1\nplugins:\n  - name: python\n    out: gen\n  - name: grpc-python\n    path: /path/to/protoc-gen-grpc-python\n    out: gen\n```\n\n## Supported Platforms\n\n- Linux x86_64 (amd64)\n- Linux aarch64 (arm64)\n- macOS x86_64 (Intel)\n- macOS arm64 (Apple Silicon)\n\nWindows is currently not supported due to the grpc repository having filenames that are too long for Windows.\n\n## Supported gRPC Versions\n\nSee the [Releases](https://github.com/nhurden/protoc-gen-grpc-python-prebuilt/releases) page for available versions.\n\n## Building Locally\n\nYou can test the build process locally using [act](https://github.com/nektos/act).\n\n```bash\njust test\n```\n\nSince cross-compiling isn't supported, a specific architecture needs to be chosen, both for the runner and the target:\n\n``` bash\nact push --matrix platform:linux-x86_64 --container-architecture linux/amd64\n```\n\n## Contributing\n\nFeel free to open issues or pull requests to:\n\n- Add support for additional platforms\n- Request specific gRPC versions\n- Report bugs or issues with the prebuilt binaries\n\n## License\n\nThis repository's build scripts are licensed under MIT.\n\nThe `protoc-gen-grpc-python` binary is built from gRPC source code and is subject to the Apache 2.0 license.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnhurden%2Fprotoc-gen-grpc-python-prebuilt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnhurden%2Fprotoc-gen-grpc-python-prebuilt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnhurden%2Fprotoc-gen-grpc-python-prebuilt/lists"}