kiwi menu
'kiwi menu' is a python library that you can use to create simple menus in the terminal screen.
Install
pip install kiwi_menu
Example
from kiwi_menu import Menu
fruits = ["apple", "banana", "kiwi"]
menu = Menu(
"Choose a fruit",
fruits
)
selected = menu.show_menu()
print("You choosed", fruits[selected])
Result:
> apple
banana
kiwi
You choosed apple
Observation: You optionaly can define the color, symbol, and the pre-selected number. And you can put some 'texts' for center, like a description with the argument centered_texts, with the texts inside a list.
Metadata
Release files for kiwi-menu 1.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| kiwi_menu-1.0.3.tar.gz | 2.2 kB | Without provenance | Details for kiwi_menu-1.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| kiwi_menu-1.0.3-py3-none-any.whl | Python 3 | none | any | Details for kiwi_menu-1.0.3-py3-none-any.whl |
Total release size: 4.5 kB
Security for kiwi-menu 1.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.