Skip to main content

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


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)

Uploaded Source

Built Distribution

terminal_menu-0.0.0-py3-none-any.whl (27.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page