# 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/zpp_menu",
"name": "zpp_menu",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "menu terminal zephyroff",
"author": null,
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/d4/bb/ec2dc889bcc51666e8b510a361e0c8958c9b6a856ba1f41c77e71a5c7122/zpp_menu-1.3.1-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",
"bugtrack_url": null,
"license": "MIT License",
"summary": "G\u00e9n\u00e9rateur d'un menu \u00e0 touches fl\u00e9ch\u00e9es",
"version": "1.3.1",
"project_urls": {
"Documentation": "https://github.com/ZephyrOff/zpp_menu",
"Homepage": "https://github.com/ZephyrOff/zpp_menu"
},
"split_keywords": [
"menu",
"terminal",
"zephyroff"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "d4bbec2dc889bcc51666e8b510a361e0c8958c9b6a856ba1f41c77e71a5c7122",
"md5": "5ddbfc5ac60625822692c51ca8c496a8",
"sha256": "ef56fd228257788fc32e67edfcb5389fe24b13e34e2003c62a1f305d3134d25a"
},
"downloads": -1,
"filename": "zpp_menu-1.3.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "5ddbfc5ac60625822692c51ca8c496a8",
"packagetype": "bdist_wheel",
"python_version": "source",
"requires_python": null,
"size": 6517,
"upload_time": "2024-09-11T09:36:43",
"upload_time_iso_8601": "2024-09-11T09:36:43.617856Z",
"url": "https://files.pythonhosted.org/packages/d4/bb/ec2dc889bcc51666e8b510a361e0c8958c9b6a856ba1f41c77e71a5c7122/zpp_menu-1.3.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "14463384fda4330a70b9b950bb563eb50ed28dbb1478382935140f14ed7a481c",
"md5": "d3c31fc741c2ab1ae5aaf6f5b6e3ca89",
"sha256": "cff49a847fa04b9343164123afd37999a6203cc5123dfc4b37ffcaef8fca8978"
},
"downloads": -1,
"filename": "zpp_menu-1.3.1.tar.gz",
"has_sig": false,
"md5_digest": "d3c31fc741c2ab1ae5aaf6f5b6e3ca89",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 5955,
"upload_time": "2024-09-11T09:36:44",
"upload_time_iso_8601": "2024-09-11T09:36:44.870194Z",
"url": "https://files.pythonhosted.org/packages/14/46/3384fda4330a70b9b950bb563eb50ed28dbb1478382935140f14ed7a481c/zpp_menu-1.3.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-09-11 09:36:43",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "ZephyrOff",
"github_project": "zpp_menu",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "zpp_menu"
}