{"id":28939414,"url":"https://github.com/circargs/git-name","last_synced_at":"2026-04-30T07:36:46.527Z","repository":{"id":57434737,"uuid":"289125350","full_name":"CircArgs/git-name","owner":"CircArgs","description":"a git extension and python package for turning hashes into memorable names","archived":false,"fork":false,"pushed_at":"2020-08-21T01:49:53.000Z","size":57,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-23T00:09:09.991Z","etag":null,"topics":["git","hash","name"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CircArgs.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}},"created_at":"2020-08-20T22:43:11.000Z","updated_at":"2020-08-21T01:50:56.000Z","dependencies_parsed_at":"2022-09-10T01:50:26.616Z","dependency_job_id":null,"html_url":"https://github.com/CircArgs/git-name","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/CircArgs/git-name","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CircArgs%2Fgit-name","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CircArgs%2Fgit-name/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CircArgs%2Fgit-name/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CircArgs%2Fgit-name/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CircArgs","download_url":"https://codeload.github.com/CircArgs/git-name/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CircArgs%2Fgit-name/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261386873,"owners_count":23150876,"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":["git","hash","name"],"created_at":"2025-06-23T00:09:19.796Z","updated_at":"2026-04-30T07:36:46.521Z","avatar_url":"https://github.com/CircArgs.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# git-name\n\na git extension and python package for turning hashes into memorable names\n\n# install\n\nfrom pypi\n\n`pip install git-name`\n\nor from github master\n\n`pip install git+https://github.com/CircArgs/git-name.git`\n\n# Usage\n\n## shell\n\n```shell\nCircArgs $ git name -h\nusage: git name [-h] [-f] [-l LENGTH] word_or_hash\n\nconvert hashes to memorable names\n\npositional arguments:\n  word_or_hash\n\noptional arguments:\n  -h, --help            show this help message and exit\n  -f, --from            `from hash` flag used to denote argument is a hash.\n  -l LENGTH, --length LENGTH\n                        `hash length` (default=7) truncate the input output hash to this length\n\nCircArgs $ git name efa8f31\nten occupied nuts\n\nCircArgs $ git name -f \"ten occupied nuts\"\nefa8f31\n\nCircArgs $ git name -f \"five fat frogs\"\na42cd68\n\n# use names with git instead of hashes\nCircArgs $ git checkout $(git name -f \"five fat frogs\")\n```\n\n## python\n\n```python\nfrom git_name import NameGenerator\n\nnum=142152565\n\nng=NameGenerator()\n\nname=ng.generate_name(num)\n\nprint(name)\n# 'eight upward buttons'\n\nname_num=ng.generate_num(name)\nprint(name_num)\n#142152565\n\nprint(num==name_num)\n#True\n\nprint(ng.generate_hash_from_name(name, 7))\n#8791375\n\nprint(ng.generate_name_from_hash(8791375, 7)\n#'eight upward buttons'\n\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcircargs%2Fgit-name","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcircargs%2Fgit-name","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcircargs%2Fgit-name/lists"}