You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

terminal-menu

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

terminal-menu

Tool for creating menus in terminal (using on the python standard library)

0.0.0
pipPyPI
Maintainers
1

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.

Keywords

terminal

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts