A terminal-based ANSI-formatted menu system with nested menus, threading, logging, and user prompts.
Reason this release was yanked:
broken execute method
Project description
pymenu
A simple terminal menu system with ANSI formatting, logging, and threaded actions.
Features
- Define Menus in JSON (new)
- Nested menus and menu items
- ANSI color and formatting support
- Logs actions and displays them on the right side
- Supports threaded execution of menu item actions
- Prompts for arguments if
""is passed as args
Usage
from qpymenu import pyMenu, pyMenuItem
def test_function():
print("Hello from test_function!")
menu = pyMenu("Example Menu")
menu.additem(pyMenuItem("Test Item", test_function))
menu.execute()
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
qpymenu-0.6.0.tar.gz
(6.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters