Skip to main content

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)

Source distribution for kiwi-menu 1.0.3
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)

Table of built distributions (wheels) for kiwi-menu 1.0.3
File Interpreter ABI Platform Actions
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

Release files / kiwi_menu-1.0.3.tar.gz

Download URL kiwi_menu-1.0.3.tar.gz
Size 2.2 kB
Tags Source
SHA-256 checksum
How to use checksums
9e6e17afb0ae22dcd401175e2c0431c296688b4d2d9936984fffa27dde3ffb37
BLAKE2b-256 checksum
How to use checksums
6aaa51f9a5e7e53ba6f80dc48274517984e1e4b8094f78122c8a1a7cdd9f71b6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.5

Release files / kiwi_menu-1.0.3-py3-none-any.whl

Download URL kiwi_menu-1.0.3-py3-none-any.whl
Size 2.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8eb6d28c72bee00ccb2dff5a5e8efee80b8ee51e1c2fe002a74f5417367884b0
BLAKE2b-256 checksum
How to use checksums
60f8dd1c8d41d34a94409390960de85472c50e8666af023d63e87bba009ef629
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.5

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.

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