Skip to main content

SelectMenu is the input form to choose from menu by arrow keys.

Project description

forthebadge

demo

demo

๐Ÿ“„ Overview

SelectMenu is the input form to choose from menu by arrow keys.

SelectMenu powered by **python-prompt-toolkit**.

โœ๏ธ Usage

>>> from selectmenu import SelectMenu
>>> menu = SelectMenu()
>>> menu.add_choices(
...    ["Python", "Ruby", "Javascript", "HTML", "CSS"])
>>> result = menu.select("What language do you like?")
What language do you like? (Use arrow keys)
 > Python
   Ruby
   Javascript
   HTML
   CSS
>>> print result
Python

๐Ÿ“ฅ Installation

$ git clone git@github.com:alice1017/SelectMenu.git
$ cd SelectMenu
$ python setup.py build install

or

$ pip install SelectMenu

๐Ÿ‘€ Contribution

  1. Forks on Github
  2. Find a bug? Send a pull request to get it merged and published.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
SelectMenu-1.0.0b2.tar.gz (3.4 kB) Copy SHA256 hash SHA256 Source None Apr 11, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page