{"id":16471909,"url":"https://github.com/abranhe/username","last_synced_at":"2025-10-14T06:36:15.909Z","repository":{"id":96043976,"uuid":"146972161","full_name":"abranhe/username","owner":"abranhe","description":"😺      Get the current user name","archived":false,"fork":false,"pushed_at":"2021-09-17T21:59:03.000Z","size":30,"stargazers_count":13,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-04T15:05:55.577Z","etag":null,"topics":["python","user","username"],"latest_commit_sha":null,"homepage":"https://p.abran.co/username","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/abranhe.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":".github/funding.yml","license":"license","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null},"funding":{"patreon":"abranhe","open_collective":"abranhe","custom":"https://cash.me/$abranhe"}},"created_at":"2018-09-01T05:57:14.000Z","updated_at":"2023-09-08T17:44:33.000Z","dependencies_parsed_at":"2023-04-05T09:54:47.225Z","dependency_job_id":null,"html_url":"https://github.com/abranhe/username","commit_stats":null,"previous_names":["abrahamhba/username","abranhe/username"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/abranhe/username","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abranhe%2Fusername","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abranhe%2Fusername/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abranhe%2Fusername/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abranhe%2Fusername/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abranhe","download_url":"https://codeload.github.com/abranhe/username/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abranhe%2Fusername/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279018115,"owners_count":26086281,"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","status":"online","status_checked_at":"2025-10-14T02:00:06.444Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["python","user","username"],"created_at":"2024-10-11T12:15:27.316Z","updated_at":"2025-10-14T06:36:15.885Z","avatar_url":"https://github.com/abranhe.png","language":"Python","funding_links":["https://patreon.com/abranhe","https://opencollective.com/abranhe","https://cash.me/$abranhe"],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n\t\u003ca href=\"https://pypi.org/project/username\"\u003e\u003cimg src=\"https://cdn.abranhe.com/projects/username/logo.svg\"\u003e\u003c/a\u003e\n\t\u003cbr\u003e\n\t\u003cbr\u003e\n\t\u003cbr\u003e\n\t\u003ca href=\"https://pypi.org/project/username\"\u003e\u003cb\u003eusername\u003c/b\u003e\u003c/a\u003e get the current username\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n\t\u003ca href=\"https://github.com/abranhe/username/actions/workflows/main.yml\"\u003e\n\t\t\u003cimg src=\"https://github.com/abranhe/username/actions/workflows/main.yml/badge.svg\" /\u003e\n\t\u003c/a\u003e\n\t\u003ca href=\"https://app.travis-ci.com/github/abranhe/username\"\u003e\n\t\t\u003cimg src=\"https://img.shields.io/travis/com/abranhe/username.svg?logo=travis\" /\u003e\n\t\u003c/a\u003e\n\t\u003ca href=\"https://ci.appveyor.com/project/abranhe/username\"\u003e\n\t\t\u003cimg src=\"https://ci.appveyor.com/api/projects/status/8bp4dpqr76nx2nxt?svg=true\" /\u003e\n\t\u003c/a\u003e\n\t\u003ca href=\"https://pypi.org/project/username\"\u003e\n\t\t\u003cimg src=\"https://img.shields.io/pypi/v/username\"\u003e\n\t\u003c/a\u003e\n\t\u003ca href=\"https://github.com/abranhe/username/blob/master/license\"\u003e\n\t\t\u003cimg src=\"https://img.shields.io/github/license/abranhe/username.svg\" /\u003e\n\t\u003c/a\u003e\n\u003c/p\u003e\n\n## Install\n\n```console\n$ pip install username\n```\n\n## Usage\n\n```python\nimport username\n\nprint(username())\n# 'abranhe'\n```\n\n## API\n\n### username()\n\nGet current username\n\n## Related\n\n- [username-cli](https://github.com/abranhe/username-cli): cli for this package.\n\n## License\n\nMIT © [Abraham Hernandez](https://github.com/abranhe)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabranhe%2Fusername","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabranhe%2Fusername","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabranhe%2Fusername/lists"}