editmenu-0.0.3
توضیحات
A simple multiline edit menu for CLI
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | editmenu-0.0.3 |
| نام | editmenu |
| نسخه کتابخانه | 0.0.3 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Aswin Rajasekharan |
| ایمیل نویسنده | aswin4400@gmail.com |
| آدرس صفحه اصلی | https://github.com/aswin4400/editmenu.git |
| آدرس اینترنتی | https://pypi.org/project/editmenu/ |
| مجوز | - |
Install the package using pip
`pip install editmenu`
Import **editmenu** module from **editmenu** package
`>>>from editmenu import editmenu`
Use **EditMenu** class to create an instance with a dictionary containing required values to be displayed and edited.
`>>>mymenu = editmenu.EditMenu({"Name:"Monty","LastName":"Python"})`
Use **menu()** member function to display the menu and prompt the user to make required editing.
`>>>mymenu.menu()`
**Notes**
1. Grey color is used as the font color for the values and updated values will be of white. This is for distinguishing changes.
2. As of now editmenu package is only tested on ubuntu terminal. If you face any issue on windows platform, please mention the issue on github page this package.
3. EditMenu class, accepts only dictionary containing key:value pairs, where both key and value must be of string type.
4. menu() function returns a dictionary with updated values.
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl editmenu-0.0.3:
pip install editmenu-0.0.3.whl
نصب پکیج tar.gz editmenu-0.0.3:
pip install editmenu-0.0.3.tar.gz