{"id":43763769,"url":"https://github.com/gojuukaze/tty_menu","last_synced_at":"2026-02-05T15:34:49.113Z","repository":{"id":62585489,"uuid":"117494399","full_name":"gojuukaze/tty_menu","owner":"gojuukaze","description":"python terminal  memu (一个快速创建命令行菜单的工具)","archived":false,"fork":false,"pushed_at":"2020-06-09T14:31:16.000Z","size":410,"stargazers_count":13,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-28T10:22:56.658Z","etag":null,"topics":["command","command-line-menu","console","console-menu","menu","terminal","terminal-menu"],"latest_commit_sha":null,"homepage":"","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/gojuukaze.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":"2018-01-15T03:49:14.000Z","updated_at":"2023-07-03T08:24:48.000Z","dependencies_parsed_at":"2022-11-03T21:46:01.831Z","dependency_job_id":null,"html_url":"https://github.com/gojuukaze/tty_menu","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gojuukaze/tty_menu","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gojuukaze%2Ftty_menu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gojuukaze%2Ftty_menu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gojuukaze%2Ftty_menu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gojuukaze%2Ftty_menu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gojuukaze","download_url":"https://codeload.github.com/gojuukaze/tty_menu/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gojuukaze%2Ftty_menu/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29124802,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-05T14:05:12.718Z","status":"ssl_error","status_checked_at":"2026-02-05T14:03:53.078Z","response_time":65,"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":["command","command-line-menu","console","console-menu","menu","terminal","terminal-menu"],"created_at":"2026-02-05T15:34:48.711Z","updated_at":"2026-02-05T15:34:49.108Z","avatar_url":"https://github.com/gojuukaze.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ctable\u003e\n\u003ccolgroup\u003e\n\u003ccol style=\"width: 100%\" /\u003e\n\u003c/colgroup\u003e\n\u003cthead\u003e\n\u003ctr class=\"header\"\u003e\n\u003cth\u003e\u003cstrong\u003eNote\u003c/strong\u003e\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr class=\"odd\"\u003e\n\u003ctd\u003e\n\u003cp\u003eThis repo is no longer maintained\u003c/p\u003e\n\u003cp\u003eMy New repo support Windows, Linux, OSX at \u003ca href=\"https://github.com/gojuukaze/terminal_layout/tree/master/terminal_layout/extensions/choice\"\u003eterminal_layout\u003c/a\u003e\u003c/p\u003e\n  \n\u003cp\u003e这个库不再维护，新的库支持Windows, Linux, OSX。链接 -\u003e \u003ca href=\"https://github.com/gojuukaze/terminal_layout/tree/master/terminal_layout/extensions/choice\"\u003eterminal_layout\u003c/a\u003e\u003c/p\u003e\n\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\n\ntty_menu\n==========================\n\nThis project is used to create menu command-line\n一个快速创建命令行菜单的工具\n\n![demo](https://raw.githubusercontent.com/gojuukaze/tty_menu/master/ex.gif)\n\nInstall\n----------------------\n\n```bash\npip install tty_menu\n```\nExample\n----------------------\n```python\n\nfrom tty_menu import tty_menu\n\nl = ['a', 'b', 'c']\npos = tty_menu(l, \"What is your word?\")\n\nprint(\"Your word is %s\" % (l[pos]))\n```\n\nchang_log\n----------------\n\n* 1.0.2 : rm log (移除无用log)\n\n* 1.0.3 : change way (更改显示菜单的方式，不在需要清屏了)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgojuukaze%2Ftty_menu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgojuukaze%2Ftty_menu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgojuukaze%2Ftty_menu/lists"}