Skip to main content

A tool for making terminal menus.

Project description

TermMenu

This is a little Python project that I wanted to do for some time.

The idea is that you should be able to make a terminal menu (below) easily and compactly.

Choose one:
1. Start game
2. Settings
3. And more
> {User input here}

Documentation

Read the documentation on ReadTheDocs.

Usage

To start off you need to import the library, and create a new menu.

import termmenu

testmenu = termmenu.Menu(title="What's up") # title is optional

Adding entries

To add entries, we use Menu.add_entry, usage:

Menu.add_entry(text, run=None, entry=None)

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

termmenu-1.4.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

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

termmenu-1.4-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file termmenu-1.4.tar.gz.

File metadata

  • Download URL: termmenu-1.4.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.8

File hashes

Hashes for termmenu-1.4.tar.gz
Algorithm Hash digest
SHA256 552b43d3a69eaf7ed7b28d4e79e913a272f681c18c517e14055aed79eb7055a2
MD5 ea3981bc84eb0f5d3283ef17a9fb33ff
BLAKE2b-256 1ba6fd1496344195fe6089a460fefa5b26da5a16488d6c061026c7801ac94c8b

See more details on using hashes here.

File details

Details for the file termmenu-1.4-py3-none-any.whl.

File metadata

  • Download URL: termmenu-1.4-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.8

File hashes

Hashes for termmenu-1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 e1447f74bee285bc662b15d5935335311b0ad86dfbde274d7b8caa6cb5d2ec13
MD5 1ec89c11675fd275924bb03761f15c9d
BLAKE2b-256 5bbc8128f93b07b6da675768a86b7a157cce44e49fe0528cc463c95f51517454

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