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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file terminal-menu-0.0.0.tar.gz.

File metadata

  • Download URL: terminal-menu-0.0.0.tar.gz
  • Upload date:
  • Size: 39.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.2

File hashes

Hashes for terminal-menu-0.0.0.tar.gz
Algorithm Hash digest
SHA256 b3286e7b1dfbe1c79f5faf612e3d6815e0690115cc7ea574a2a4e36de91ad263
MD5 af66fabd9f8b5ee30cef9c2245052c1d
BLAKE2b-256 58402c1e59a1af908411bead28fbbe69cf4601d3ae3e82ad6f9bfc5f92f560bf

See more details on using hashes here.

File details

Details for the file terminal_menu-0.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for terminal_menu-0.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 17c8e774fdf0f9c9c74b95274890c6921e556afba2d6d9c61fbff4670e7125db
MD5 9d402d7ba05cc04df4b1fbc5687cf01f
BLAKE2b-256 40cc2a53a84335fd5e3a1702bfb3903b32a2c3df2423123397c43c6943ef1485

See more details on using hashes here.

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