Console based paged menu module
Project description
Summary:
The pym module is a console based menu system for Python 3.x+. It outputs provided menu choices with pagination depending on your current terminal size.
Example:
from pym.menu import Menu
choices = {
'option1': 'First Option',
'option2': 'Second Option',
'option3': 'Third Option',
'option4': 'Fourth Option',
'option5': 'Fifth Option',
'option6': 'Sixth Option'
}
menu = Menu('Make your choice:', 'option1', choices)
reply = menu.chooser()
menu.pager()
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
pym-0.1.3.tar.gz
(4.6 kB
view details)
File details
Details for the file pym-0.1.3.tar.gz.
File metadata
- Download URL: pym-0.1.3.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2988d21910cbc74886cfa1c7de4e69295f306fc806f05abb964779972da203c8
|
|
| MD5 |
08d89d8960d3150e6c269bb92c071260
|
|
| BLAKE2b-256 |
d0ceb9b40d81a147f40f902d156b1ab0ed1145d22b736c156c738326536b156e
|