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

Uploaded Python 3

File details

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

File metadata

  • Download URL: termmenu-1.3.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.3.tar.gz
Algorithm Hash digest
SHA256 7359254d83ad56157ba1c3d946a896cc2fbc02ede7d1352e49e00adad6e838c3
MD5 599025b562746668b5b6f2afd3e9c847
BLAKE2b-256 5ff7ed1842f5132d91a7c904f87890a3a4b93c0cfa40a7169e5b3df53f45faaf

See more details on using hashes here.

File details

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

File metadata

  • Download URL: termmenu-1.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 0bea2d937064c0b751d1d272f5d947a4d8b4a9ad9258d518bcf72205544ccfb3
MD5 490a9e1e58d84b2eea99725e5141527c
BLAKE2b-256 7380da458f051eb1c1db6ce55d7377f2d95a327a19b848c0f3723410704ec03c

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