Tool for creating menus in terminal (using on the python standard library)
Project description
Terminal Menu using Python
from terminal_menu import menu
user_choice: str = menu(
static_menu_text="Please choose an annoying little dog:",
choices=("Chihuahua", "Pomeranian", "Jack Russell"),
)
print(f"user chose '{user_choice}'")
I wanted a simple OS-agnostic interface for creating menus in my python command-line applications (using only the python standard library).
I could not find one that I liked, so I built this one.
It is not truly operating system agnostic since it uses the curses python library, which will not work on a Windows terminal. It works on WSL though.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
terminal-menu-0.0.0.tar.gz
(39.5 kB
view hashes)
Built Distribution
Close
Hashes for terminal_menu-0.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 17c8e774fdf0f9c9c74b95274890c6921e556afba2d6d9c61fbff4670e7125db |
|
MD5 | 9d402d7ba05cc04df4b1fbc5687cf01f |
|
BLAKE2b-256 | 40cc2a53a84335fd5e3a1702bfb3903b32a2c3df2423123397c43c6943ef1485 |