Skip to main content

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


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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

qpymenu-0.6.0-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

Details for the file qpymenu-0.6.0.tar.gz.

File metadata

  • Download URL: qpymenu-0.6.0.tar.gz
  • Upload date:
  • Size: 6.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for qpymenu-0.6.0.tar.gz
Algorithm Hash digest
SHA256 c1d5ef7a196f0cd5c058f3a107be7e7f05975fbe5e47170524cc622850acdb55
MD5 47a02617250c935e940f810338273554
BLAKE2b-256 4528ca4b95f7f31179bd9be40923b478ea4fb884714c12a4f82b1b1e1ce29cfe

See more details on using hashes here.

File details

Details for the file qpymenu-0.6.0-py3-none-any.whl.

File metadata

  • Download URL: qpymenu-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 6.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for qpymenu-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 abce31a0983f2973b2bfa88e03dd46d1ef8d0479fd091bb2fd2e514578788fe5
MD5 b4f87d1ccfd5861ca3e30f9fecb37f18
BLAKE2b-256 c8124769f43b5cce51e7f66d7fdb7536a6e8ec3def2d7b3c1b6383e77c00a551

See more details on using hashes here.

Supported by

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