Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

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.

Metadata

Release files for SelectMenu 1.0.0b2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for SelectMenu 1.0.0b2
File Size Uploaded
SelectMenu-1.0.0b2.tar.gz 3.4 kB Details

Release files / SelectMenu-1.0.0b2.tar.gz

Download URL SelectMenu-1.0.0b2.tar.gz
Size 3.4 kB
Tags Source
SHA-256 checksum
How to use checksums
9e8623a5ac1a632b5f1e7a96698d62f7e76a4307639e4d7433e8a1a28c263e73
BLAKE2b-256 checksum
How to use checksums
cdb98078a7f34c5b877e7fa26e5c5c5f62cbc765d44c949dd672a29aef62089a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.0.0b2 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page