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 Distribution

simple_termenu-1.0.4.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

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

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

Uploaded Python 3

File details

Details for the file simple_termenu-1.0.4.tar.gz.

File metadata

  • Download URL: simple_termenu-1.0.4.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.5

File hashes

Hashes for simple_termenu-1.0.4.tar.gz
Algorithm Hash digest
SHA256 10f32def55212110a8d29857cd68e87a9b4518ba6ac232e588d6165076b49a61
MD5 0e3daf8e7515b7eda06ee78f0647b2dc
BLAKE2b-256 1c0053215aadcb65a5e4bee88fa0c5d565e8ed54cd9126d50230ae7aca87f916

See more details on using hashes here.

File details

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

File metadata

  • Download URL: simple_termenu-1.0.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 f8b1d9df99777391fe7b96801ce177c87e190618d1a136249d037f09c48cb23e
MD5 2a332550cc8bf7e9a6fecda8035cd1e7
BLAKE2b-256 f8034628ed32bdd0e8fe114c55601704bd37d40d269a907e2bfba5a94daab7ff

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