A package that enables MCQ select in terminal
Project description
cli_select
A package that allows MCQ select in terminal/CLI
Installation
pip install cli_select
Quickstart
use Up and Down arrow keys to select your option use Enter key to confirm your selection
from cli_select import select
selected = select(
"Which is your favourite fruit?",
["apple", "orange", "pear", "pineaple", "durian"],
color="green",
)
print(f"you selected {selected}")
# Select favourite fruit (Up/Down to navigate, Enter to select):
# => apple
# orange
# pear
# pineaple
# durian
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cli_select-0.0.1.tar.gz
(3.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cli_select-0.0.1.tar.gz.
File metadata
- Download URL: cli_select-0.0.1.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
591e9b0e46035dcad76302efa7d1f0bba9cbcacc56a123e684887f4721f5ba09
|
|
| MD5 |
0a5f029ac3cd18a285acb4e27e4727e3
|
|
| BLAKE2b-256 |
59fb329bf2d1aeae5a68c97b675521af125e60b5587c0608d18d2d25a5fac602
|
File details
Details for the file cli_select-0.0.1-py3-none-any.whl.
File metadata
- Download URL: cli_select-0.0.1-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b87b45a35119bba33d1023c3f61b60d8be47c4abe552339cafbfeff40f15ab24
|
|
| MD5 |
eca154deaede44577b0e16c95ffe7a1b
|
|
| BLAKE2b-256 |
5ee3cc847ae46c801e0091e17124d30e6c9aeb79936fffb4755ef124ae1d4898
|