{"id":15009881,"url":"https://github.com/alice1017/selectmenu","last_synced_at":"2025-09-07T01:33:13.286Z","repository":{"id":55623513,"uuid":"127850426","full_name":"alice1017/SelectMenu","owner":"alice1017","description":"SelectMenu is the input form to choose from menu by arrow keys.","archived":false,"fork":false,"pushed_at":"2020-12-17T12:37:45.000Z","size":1806,"stargazers_count":22,"open_issues_count":3,"forks_count":10,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-23T19:51:33.966Z","etag":null,"topics":["prompt-toolkit","python2","selectmenu"],"latest_commit_sha":null,"homepage":null,"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/alice1017.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-04-03T04:23:31.000Z","updated_at":"2023-08-24T19:41:50.000Z","dependencies_parsed_at":"2022-08-15T04:40:56.872Z","dependency_job_id":null,"html_url":"https://github.com/alice1017/SelectMenu","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alice1017%2FSelectMenu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alice1017%2FSelectMenu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alice1017%2FSelectMenu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alice1017%2FSelectMenu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alice1017","download_url":"https://codeload.github.com/alice1017/SelectMenu/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248083420,"owners_count":21045096,"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":["prompt-toolkit","python2","selectmenu"],"created_at":"2024-09-24T19:29:01.402Z","updated_at":"2025-04-09T17:52:59.563Z","avatar_url":"https://github.com/alice1017.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SelectMenu\n\n[![forthebadge](http://forthebadge.com/images/badges/made-with-python.svg)](http://forthebadge.com)\n\n![demo](demo.gif)\n\n## :page_facing_up: Overview\n\n**SelectMenu** is the input form to **choose from menu** by arrow keys.\n\nSelectMenu powered by [**python-prompt-toolkit**](https://github.com/jonathanslenders/python-prompt-toolkit).\n\n## :pencil2: Usage\n\n```python\n\u003e\u003e\u003e from selectmenu import SelectMenu\n\u003e\u003e\u003e menu = SelectMenu()\n\u003e\u003e\u003e menu.add_choices(\n...    [\"Python\", \"Ruby\", \"Javascript\", \"HTML\", \"CSS\"])\n\u003e\u003e\u003e result = menu.select(\"What language do you like?\")\nWhat language do you like? (Use arrow keys)\n \u003e Python\n   Ruby\n   Javascript\n   HTML\n   CSS\n\u003e\u003e\u003e print result\nPython\n```\n\n## :inbox_tray: Installation\n\n```\n$ git clone git@github.com:alice1017/SelectMenu.git\n$ cd SelectMenu\n$ python setup.py build install\n```\n\nor\n\n```\n$ pip install SelectMenu\n```\n\n## :eyes: Contribution\n\n1. Forks on [Github](https://github.com/alice1017/SelectMenu)\n2. Find a bug? Send a pull request to get it merged and published.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falice1017%2Fselectmenu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falice1017%2Fselectmenu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falice1017%2Fselectmenu/lists"}