Skip to main content

gui-menu: The Only Terminal-Based GUI Menu for Python!

About

gui-menu is a Python module that lets you put easy-to-use menus in your Python programs. It was developed by Seth Peace for SPPyOS (Seth Peace's Python OS, coming to PyPI soon).

Installation

Just run python -m pip install gui-menu or py -m pip install gui-menu (You may find only one works, or that both works. It depends on your Python setup.).

Usage

Using gui-menu is simple! Just run the following:


import menu

menu.menu(title="Title goes here", options=["Option 1 goes here", "Option 2 goes here", "etc."])

It will return the index of the selcted option (i.e. if option 3 is selected it will return int(3)).

Supported Systems

This software has only been tested on a Windows 10 with Python 3.7. If someone could test it on another system and e-mail me how it works, great! I'll give you credit on this page.

Changelog

  • 2.0.1 - Hopefully fixed import problem. Edited README.
  • 2.0.0 - Probably fixed the fact that menu.menu didn't work. Added info to README.
  • 1.0.0 - Initial release.

Credits

This module is (c) 2019 Seth Peace. The included "keyboard" module is (c) 2019 BoppreH (a PyPI user, I don't know his real name) and is located at https://pypi.org/project/keyboard/.

Metadata

Release files for gui-menu 2.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gui-menu 2.0.1
File Size Uploaded Provenance
gui-menu-2.0.1.zip 61.1 kB Without provenance Details

Release files / gui-menu-2.0.1.zip

Download URL gui-menu-2.0.1.zip
Size 61.1 kB
Tags Source
SHA-256 checksum
How to use checksums
2c09338de7649c948b8eb3287a621b70a8c49977e882c423321047f221501665
BLAKE2b-256 checksum
How to use checksums
dc06d76799055b98c71c51717769a323901b98d23b54dada940248fb7e3f5465
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0

Security for gui-menu 2.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page