# py-menu
## Informations
Générateur d'un menu à touches fléchées.<br>
Le choix dans le menu se fait à partir des touches fléchées pour la navigation et de la touche Enter pour la validation.<br>
Customisation des couleurs du menu et du curseur possibles.<br>
Retourne l'indice du choix sélectionné
### Prérequis
- Python 3
<br>
## Installation
```console
pip install zpp_menu
```
## Utilisation
```python
choice = zpp_menu.Menu(Title, OptionList)
```
>En paramètre supplémentaire, nous pouvons mettre:<br/>
>- 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
Raw data
{
"_id": null,
"home_page": "https://github.com/ZephyrOff/py-zpp_menu",
"name": "zpp_menu",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "menu terminal zephyroff",
"author": "",
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/10/2f/439489132a40399d1a43904a12d8aff2d11493f1d6058bbe2bc1bc183c18/zpp_menu-1.3.0-py3-none-any.whl",
"platform": null,
"description": "# py-menu\r\n## Informations\r\nG\u00c3\u00a9n\u00c3\u00a9rateur d'un menu \u00c3\u00a0 touches fl\u00c3\u00a9ch\u00c3\u00a9es.<br>\r\nLe choix dans le menu se fait \u00c3\u00a0 partir des touches fl\u00c3\u00a9ch\u00c3\u00a9es pour la navigation et de la touche Enter pour la validation.<br>\r\nCustomisation des couleurs du menu et du curseur possibles.<br>\r\nRetourne l'indice du choix s\u00c3\u00a9lectionn\u00c3\u00a9\r\n### Pr\u00c3\u00a9requis\r\n- Python 3\r\n<br>\r\n\r\n## Installation\r\n```console\r\npip install zpp_menu\r\n```\r\n\r\n## Utilisation\r\n```python\r\nchoice = zpp_menu.Menu(Title, OptionList)\r\n```\r\n>En param\u00c3\u00a8tre suppl\u00c3\u00a9mentaire, nous pouvons mettre:<br/>\r\n>- Background = Choisir la couleur de font du choix selectionn\u00c3\u00a9\r\n>- Foreground = Choisir la couleur du texte du choix selectionn\u00c3\u00a9\r\n>- Pointer = Choisir un pointeur \u00c3\u00a0 afficher avant le choix\r\n>- Padding = Choisir la taille du d\u00c3\u00a9calage entre le titre et les choix\r\n>- Selected = Choisir la position du curseur\r\n\r\n",
"bugtrack_url": null,
"license": "MIT License",
"summary": "G\u00e9n\u00e9rateur d'un menu \u00e0 touches fl\u00e9ch\u00e9es",
"version": "1.3.0",
"project_urls": {
"Documentation": "https://github.com/ZephyrOff/py-zpp_menu",
"Homepage": "https://github.com/ZephyrOff/py-zpp_menu"
},
"split_keywords": [
"menu",
"terminal",
"zephyroff"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "102f439489132a40399d1a43904a12d8aff2d11493f1d6058bbe2bc1bc183c18",
"md5": "02fa97c2c3aa2ec1de982b686d71544f",
"sha256": "2564c3101ed45156722001e8b8ff405786d3b0f38cd382a5cfec561f64041ff3"
},
"downloads": -1,
"filename": "zpp_menu-1.3.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "02fa97c2c3aa2ec1de982b686d71544f",
"packagetype": "bdist_wheel",
"python_version": "source",
"requires_python": null,
"size": 6521,
"upload_time": "2023-06-13T15:35:19",
"upload_time_iso_8601": "2023-06-13T15:35:19.529679Z",
"url": "https://files.pythonhosted.org/packages/10/2f/439489132a40399d1a43904a12d8aff2d11493f1d6058bbe2bc1bc183c18/zpp_menu-1.3.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "8d42b146ac9c29067424a6f5ddacdfa952b1ecacfa945e701a72e048965cd876",
"md5": "c27f7262b67e9ad1a930ada878b8dbb1",
"sha256": "f7c445fb6a8950178a04eb7020eeaee3551cb75444968f0918c13670566a07c7"
},
"downloads": -1,
"filename": "zpp_menu-1.3.0.tar.gz",
"has_sig": false,
"md5_digest": "c27f7262b67e9ad1a930ada878b8dbb1",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 5994,
"upload_time": "2023-06-13T15:35:21",
"upload_time_iso_8601": "2023-06-13T15:35:21.335464Z",
"url": "https://files.pythonhosted.org/packages/8d/42/b146ac9c29067424a6f5ddacdfa952b1ecacfa945e701a72e048965cd876/zpp_menu-1.3.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-06-13 15:35:19",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "ZephyrOff",
"github_project": "py-zpp_menu",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "zpp_menu"
}