Skip to main content

Package for making simple menu in your terminal

Project description

Simple Termenu

MIT License

simple-termenu is a package for create a simple terminal menu with lot of efforts.

Installation :

pip install simple-termenu

Utilisation :

print(print(simple-termenu.menuMaker(data, title, style, parameters))

data :

  • If you don't want to use custom index use list like that : ["first","second","third"]
  • But if you want to use custom index type this : [["index", "first"], ["index", "second"], ["index", "third"]]
  • You can also mix like : ["first", "second", ["index", "third"]]

title :

  • Just a string like "title" or "This is title"

style :

  • You have rounded, flat, doubled and unicode style

parameters :

  • List like [2,2,1,1,0] (this is default values) 1 margin, the space outside menu
    2 padding, the space inside menu
    3 space, inside at top and bottom
    4 index, the first index, exemple : 1 if you want "1,2,3,.." or X if you want "x,x+1,x+2,...
    5 title margin, the margin before the title start at 0

Help

simple-termenu.help()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

simple_termenu-1.0.3-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file simple_termenu-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: simple_termenu-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.5

File hashes

Hashes for simple_termenu-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 8e7c3947e961f37968380b6236e72ddcaf64b6b758f496d8a978e68c1f385e3b
MD5 6df20178f3147853a10799bfb477ae38
BLAKE2b-256 8740873efcd1c91e10655d660c7153140f58204688337c46eeea50babf4f3ab5

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