{"id":17084605,"url":"https://github.com/fleshgrinder/python-buf-exe","last_synced_at":"2026-05-17T17:33:19.147Z","repository":{"id":145917015,"uuid":"607098615","full_name":"Fleshgrinder/python-buf-exe","owner":"Fleshgrinder","description":"PyPI packaged Buf","archived":false,"fork":false,"pushed_at":"2024-09-03T22:19:48.000Z","size":13,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-16T15:36:37.872Z","etag":null,"topics":["buf","protobuf","protocol-buffers","pypi-package","python"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/buf-exe","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Fleshgrinder.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2023-02-27T10:04:10.000Z","updated_at":"2023-02-28T15:23:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"ab1192d9-b1c7-4c94-a31b-553132026c94","html_url":"https://github.com/Fleshgrinder/python-buf-exe","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Fleshgrinder/python-buf-exe","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fleshgrinder%2Fpython-buf-exe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fleshgrinder%2Fpython-buf-exe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fleshgrinder%2Fpython-buf-exe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fleshgrinder%2Fpython-buf-exe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Fleshgrinder","download_url":"https://codeload.github.com/Fleshgrinder/python-buf-exe/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fleshgrinder%2Fpython-buf-exe/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33147531,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-17T09:28:26.183Z","status":"ssl_error","status_checked_at":"2026-05-17T09:27:52.702Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["buf","protobuf","protocol-buffers","pypi-package","python"],"created_at":"2024-10-14T13:08:03.379Z","updated_at":"2026-05-17T17:33:19.128Z","avatar_url":"https://github.com/Fleshgrinder.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003ch1\u003e\n    \u003cimg src=\"https://raw.githubusercontent.com/Fleshgrinder/python-buf-exe/main/.idea/icon.svg\" height=\"40\" width=\"40\" alt=\"Protobuf Logo\"\u003e\u003cbr\u003e\n    Python Buf Executable\n  \u003c/h1\u003e\n  \u003cp\u003e\u003cb\u003ePyPI packaged Buf CLI\u003c/b\u003e\u003c/p\u003e\n\u003c/div\u003e\n\nA PyPI package providing a pip-installable [buf] executable.\n\nThis package does not provide any Python code, it provides just the unaltered\n`buf` executable.\n\nIf you want to use `buf` for code generation you might also want to check out\n[protoc-exe].\n\n\u003e **Note** that this project is not affiliated with or endorsed by Buf\n\u003e Technologies. The `-exe` suffix in the name was chosen to ensure that the\n\u003e `buf` name stays available, just in case there ever is going to be an official\n\u003e package.\n\n\u003e **Warning** the redistribution process is not yet fully automated, as I am in\n\u003e the process of building the tooling. Currently only the latest `buf` release\n\u003e is available, and it was created semi-manually with the scripts you currently\n\u003e see in the repository. The plan is to fully automate everything, and provide\n\u003e new `buf` releases with 24 hours.\n\n## Usage\n\nSimply use `buf` as the executable in whatever process abstraction you are\nusing, regardless of your operating system. The only requirement is that your\n`PATH` is set correctly so that the `buf` (or `buf.exe` on Windows) is found.\nFor instance, you could use `pip` and a basic virtual environment:\n\n```python\n# example.py\nimport subprocess\nsubprocess.check_call([\"command\", \"-v\", \"buf\"])\nsubprocess.check_call([\"buf\", \"--version\"])\n```\n\n```shell\ncd /tmp\npython -m venv venv\nsource venv/bin/activate\npip install buf-exe\ncommand -v buf # /tmp/venv/bin/buf\nbuf --version  # x.y.z\npython example.py\n# /tmp/venv/bin/buf\n# x.y.z\nrm -fr venv/\n```\n\n\u003e **Note** that the example uses a POSIX compliant shell, but it works on\n\u003e non-POSIX systems as well. Have a look at the GitHub Actions.\n\n[buf]: https://buf.build/\n[protoc-exe]: https://github.com/fleshgrinder/python-protoc-exe\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffleshgrinder%2Fpython-buf-exe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffleshgrinder%2Fpython-buf-exe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffleshgrinder%2Fpython-buf-exe/lists"}