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}

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)

Documentation

ReadTheDocs

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.2.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.2-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: termmenu-1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 abfa197a2411c5baeacb1ffe490a6c36b6282e1e4b7da3fa2679bd55e56cec1b
MD5 fb988ec10c442d7443e7c116c6d11593
BLAKE2b-256 3b3a2ee987916166dda97fd5c0c5f032b2483ab730218ad7a77faa69cb362b60

See more details on using hashes here.

File details

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

File metadata

  • Download URL: termmenu-1.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 076ea7668d3e43b18d604c024e9ea1a4c22664f8a3c1f945b8b12f34d7e295a5
MD5 ef5012d1c3106593d9f709b84dbc3ca6
BLAKE2b-256 b7843ad8d717b7d3cb95999d21e59308dcfac8c0f2a61f2e05054e9873a5ac5b

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