Pre-release
This release is a pre-release and may not be stable for production use.
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
Forks on Github
Find a bug? Send a pull request to get it merged and published.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
SelectMenu-1.0.0b2.tar.gz
(3.4 kB
view details)
File details
Details for the file SelectMenu-1.0.0b2.tar.gz.
File metadata
- Download URL: SelectMenu-1.0.0b2.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9e8623a5ac1a632b5f1e7a96698d62f7e76a4307639e4d7433e8a1a28c263e73
|
|
| MD5 |
6ab3034ab5a5d463bbb59496977ed5da
|
|
| BLAKE2b-256 |
cdb98078a7f34c5b877e7fa26e5c5c5f62cbc765d44c949dd672a29aef62089a
|