{"id":31661340,"url":"https://github.com/bbhtt/git-evtag-py","last_synced_at":"2026-04-15T22:37:01.547Z","repository":{"id":299681594,"uuid":"1003723064","full_name":"bbhtt/git-evtag-py","owner":"bbhtt","description":"A Python implementation of git-evtag","archived":false,"fork":false,"pushed_at":"2025-08-02T03:00:29.000Z","size":200,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-07T18:35:54.728Z","etag":null,"topics":["checksum","git","git-evtag"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bbhtt.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-17T15:09:51.000Z","updated_at":"2025-08-02T03:00:32.000Z","dependencies_parsed_at":"2025-06-17T19:56:09.177Z","dependency_job_id":"76cc4034-9ea9-4b08-8f69-a8ba220c2684","html_url":"https://github.com/bbhtt/git-evtag-py","commit_stats":null,"previous_names":["bbhtt/git-evtag-py"],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/bbhtt/git-evtag-py","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbhtt%2Fgit-evtag-py","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbhtt%2Fgit-evtag-py/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbhtt%2Fgit-evtag-py/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbhtt%2Fgit-evtag-py/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bbhtt","download_url":"https://codeload.github.com/bbhtt/git-evtag-py/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbhtt%2Fgit-evtag-py/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31863495,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T15:24:51.572Z","status":"ssl_error","status_checked_at":"2026-04-15T15:24:39.138Z","response_time":63,"last_error":"SSL_read: 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":["checksum","git","git-evtag"],"created_at":"2025-10-07T18:22:44.366Z","updated_at":"2026-04-15T22:37:01.540Z","avatar_url":"https://github.com/bbhtt.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"### git_evtag_py\n\nA Python implementation of [git-evtag](https://github.com/cgwalters/git-evtag/),\ninspired by the [upstream Python implementation](https://github.com/cgwalters/git-evtag/blob/7c58b2021a066f1e552deeb37431bc70b6215d62/src/git-evtag-compute-py)\nbut [more feature complete and faster](#performance).\n\nThis can,\n\n- Calculate and show the EVTag checksum of tags and commits\n- Verify the signature and the EVTag checksum of a tag\n- Sign a tag with the EVTag checksum\n\n### Install\n\nInstall `git`, then install `git_evtag_py`:\n\n```sh\npip install --user git+https://github.com/bbhtt/git-evtag-py.git@v1.0.9#egg=git_evtag_py\n```\n\n### Usage\n\n```sh\n# Show the EVTag checksum of HEAD\ngit evtag\n\n# Show the EVTag checksum of the tag 'TAG'\ngit evtag --rev TAG\n\n# Show the EVTag checksum of the commit 'COMMIT'\ngit evtag --rev COMMIT\n\n# Verify the signature and the EVTag checksum obtained from the tag\n# message of the tag 'TAG' against the one calculated\ngit evtag --verify TAG\n\n# Create a signed and annotated tag 'TAG' from HEAD and append the EVTag\n# checksum to it. Opens EDITOR for the tag message\ngit evtag --sign TAG\n\n# Create a signed and annotated tag 'TAG' from HEAD and append the EVTag\n# checksum to it. Uses 'Tag Message' as the tag message\ngit evtag --sign TAG -m \"Tag Message\"\n\n# Create a signed and annotated tag 'TAG' from HEAD and append the EVTag\n# checksum to it. Uses the message from the file 'FILE' as the tag\n# message\ngit evtag --sign TAG -F FILE\n```\n\n```sh\n$ git evtag -h\nusage: git-evtag [-h] [--rev REV] [--repo REPO] [--verify VERIFY] [--sign SIGN] [-m TAG_MESSAGE | -F TAG_MESSAGE_FILE]\n\nEVTag checksum of a git repository\n\noptions:\n  -h, --help            show this help message and exit\n  --rev REV             Git revision (default: HEAD)\n  --repo REPO           Path to the git repository (default: PWD)\n  --verify VERIFY       Verify the EVTag checksum of the input tag\n  --sign SIGN           Create a signed and annotated tag from HEAD and append the EVTag checksum\n  -m, --tag-message TAG_MESSAGE\n                        Use the input message as the tag message\n  -F, --tag-message-file TAG_MESSAGE_FILE\n                        Use the message from the input file as the tag message\n```\n\n### Development\n\n```sh\nuv run ruff format\nuv run ruff check --fix --exit-non-zero-on-fix\nuv run mypy .\nuv run pytest -vvvs\n```\n\n### Performance\n\n_Compared to the upstream Python implementation._\n\nOn `torvalds/linux.git` at the `v6.15` tag:\n\n```sh\n# git_evtag_py\n\n/bin/time -p git evtag\nGit-EVTag-v0-SHA512: e7e3045a3f5b8f9cc538cc37a56143918306282f7200b9c860703bc839e0a7f4c59f36313d34e6ae9b825c2f77081dfe8e2d5f50f70030271ea17161e2e2fe83\nreal 14.19\nuser 8.60\nsys 7.21\n\n# git-evtag-compute-py\n\n/bin/time -p git-evtag-compute-py HEAD\n# git-evtag comment: submodules=0 commits=1 (262) trees=5895 (3908050) blobs=88843 (1510695775)\nGit-EVTag-v0-SHA512: e7e3045a3f5b8f9cc538cc37a56143918306282f7200b9c860703bc839e0a7f4c59f36313d34e6ae9b825c2f77081dfe8e2d5f50f70030271ea17161e2e2fe83\nreal 152.06\nuser 46.40\nsys 111.18\n```\n\nOn `mesa/mesa.git` at the `mesa-25.0.0` tag:\n\n```sh\n# git_evtag_py\n\n/bin/time -p git evtag\nGit-EVTag-v0-SHA512: b7a88cbca3c1257855404ab6f16b9efaf1e9b9304f46ad45a5d1a283808e40a96011e9321f0c6a8aacfe3a1be9c3cb971b9169ba21bd1d2ccfeb52041da0475b\nreal 1.93\nuser 1.02\nsys 1.06\n\n# git-evtag-compute-py\n\n/bin/time -p git-evtag-compute-py HEAD\n# git-evtag comment: submodules=0 commits=1 (252) trees=714 (510170) blobs=10970 (283895423)\nGit-EVTag-v0-SHA512: b7a88cbca3c1257855404ab6f16b9efaf1e9b9304f46ad45a5d1a283808e40a96011e9321f0c6a8aacfe3a1be9c3cb971b9169ba21bd1d2ccfeb52041da0475b\nreal 18.55\nuser 5.83\nsys 13.45\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbbhtt%2Fgit-evtag-py","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbbhtt%2Fgit-evtag-py","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbbhtt%2Fgit-evtag-py/lists"}