{"id":15007945,"url":"https://github.com/zaczero/githead","last_synced_at":"2026-02-22T13:12:48.931Z","repository":{"id":257792137,"uuid":"861983935","full_name":"Zaczero/githead","owner":"Zaczero","description":"Simple utility for getting the current git commit hash (HEAD)","archived":false,"fork":false,"pushed_at":"2025-02-04T15:36:52.000Z","size":40,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-13T16:47:22.199Z","etag":null,"topics":["commit","git","git-commit","hash"],"latest_commit_sha":null,"homepage":"https://pypi.org/p/githead","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"0bsd","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Zaczero.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}},"created_at":"2024-09-23T20:35:29.000Z","updated_at":"2025-02-04T15:36:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"5e018cb3-4f0e-4bfa-a059-7051403a1e5e","html_url":"https://github.com/Zaczero/githead","commit_stats":null,"previous_names":["zaczero/githead"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zaczero%2Fgithead","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zaczero%2Fgithead/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zaczero%2Fgithead/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zaczero%2Fgithead/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Zaczero","download_url":"https://codeload.github.com/Zaczero/githead/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238968236,"owners_count":19560585,"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":["commit","git","git-commit","hash"],"created_at":"2024-09-24T19:14:35.646Z","updated_at":"2025-10-30T12:31:18.115Z","avatar_url":"https://github.com/Zaczero.png","language":"Python","funding_links":["https://liberapay.com/Zaczero/","https://github.com/sponsors/Zaczero"],"categories":[],"sub_categories":[],"readme":"# githead\n\n[![PyPI - Python Version](https://shields.monicz.dev/pypi/pyversions/githead)](https://pypi.org/project/githead)\n[![Liberapay Patrons](https://shields.monicz.dev/liberapay/patrons/Zaczero?logo=liberapay\u0026label=Patrons)](https://liberapay.com/Zaczero/)\n[![GitHub Sponsors](https://shields.monicz.dev/github/sponsors/Zaczero?logo=github\u0026label=Sponsors\u0026color=%23db61a2)](https://github.com/sponsors/Zaczero)\n\nSimple utility for getting the current git commit hash (HEAD).\n\n## Installation\n\n```sh\npip install githead\n```\n\n## Basic usage\n\n```py\nfrom githead import githead\n\ngithead() # -\u003e 'bca663418428d603eea8243d08a5ded19eb19a34'\n\n# defaults to '.git' directory but can be changed:\ngithead('path/to/.git')\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzaczero%2Fgithead","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzaczero%2Fgithead","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzaczero%2Fgithead/lists"}