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:
0. Start game
1. Settings
2. 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.5.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.5-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: termmenu-1.5.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.5.tar.gz
Algorithm Hash digest
SHA256 b3741f52d2cba429d5669da1336850d03786fc8b10f331e3b364411f99dc16a8
MD5 7d3fc5f1d29f882f8890f58e3d0d9592
BLAKE2b-256 ffb8f3a13d26a2d995ca2aa76ddcf32d16aa4365969735f29655c57d8ba2830b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: termmenu-1.5-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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 842af727698204136086624a22eef25458829f8dd1f72e971fe3d889050a2e5f
MD5 bcf8f170c3d5d467e0c199e92030e725
BLAKE2b-256 e05930b19eef883408042c301db22ad4f8a4c5663d4781219876450cb2de6db4

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