pyclimenu
This python module creates simple command line menus. Just define the callable and the label of each option and voila! Foreground, background color numbering and labels are adjustable.
Install
pip install pyclimenu
Demo
from pyclimenu.menu import Menu
def a():
print('''
Let's Rock!
''')
return 1
mn = Menu(items=[
{"label": "The easy way", "callback": a},
{"label": "to create", "callback": a},
{"label": "command line menus", "callback": a}
])
mn.set_colors(num_fg="cyan", num_bld=True, label_fg="blue", label_bl=True)
results = mn.run(header="pyclimenu")
print(results)
Metadata
Release files for pyclimenu 0.1.18
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pyclimenu-0.1.18.tar.gz | 4.5 kB | Without provenance | Details for pyclimenu-0.1.18.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyclimenu-0.1.18-py3-none-any.whl | Python 3 | none | any | Details for pyclimenu-0.1.18-py3-none-any.whl |
Total release size: 21.5 kB
Security for pyclimenu 0.1.18
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.