Skip to main content

Générateur d'un menu à touches fléchées

Project description

py-menu

Informations

Générateur d'un menu à touches fléchées.
Le choix dans le menu se fait à partir des touches fléchées pour la navigation et de la touche Enter pour la validation.
Customisation des couleurs du menu et du curseur possibles.
Retourne l'indice du choix sélectionné

Prérequis

  • Python 3

Installation

pip install zpp_menu

Utilisation

choice = zpp_menu.Menu(Title, OptionList)

En paramètre supplémentaire, nous pouvons mettre:

  • Background = Choisir la couleur de font du choix selectionné
  • Foreground = Choisir la couleur du texte du choix selectionné
  • Pointer = Choisir un pointeur à afficher avant le choix
  • Padding = Choisir la taille du décalage entre le titre et les choix
  • Selected = Choisir la position du curseur

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

zpp_menu-1.3.2.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

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

zpp_menu-1.3.2-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

Details for the file zpp_menu-1.3.2.tar.gz.

File metadata

  • Download URL: zpp_menu-1.3.2.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: nexus/0.5.0 CPython/3.13.11 Windows/11

File hashes

Hashes for zpp_menu-1.3.2.tar.gz
Algorithm Hash digest
SHA256 dcc0cb4afb943bd2841ccdec2e71a856c263f3f06016414c9969f40ff9881c13
MD5 572722a0c6f4303693f367727936320a
BLAKE2b-256 076a61b4fe43b9392afc85236ff9bd2484f6a3ddd5eaa58951144d3390da8ab8

See more details on using hashes here.

File details

Details for the file zpp_menu-1.3.2-py3-none-any.whl.

File metadata

  • Download URL: zpp_menu-1.3.2-py3-none-any.whl
  • Upload date:
  • Size: 6.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: nexus/0.5.0 CPython/3.13.11 Windows/11

File hashes

Hashes for zpp_menu-1.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f33441259e607051588285766c33bbb82afc165d0b7e6034a5cd4c3c27cf95af
MD5 23bbcaec10669838a7dff0077673295e
BLAKE2b-256 90a001c3cf425ae2246798235285cb92af5c69800ca071be3eb3683f50fdf5d9

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