Skip to main content

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


Release history Release notifications

This version
History Node

0.1.3

History Node

0.1.2

History Node

0.1.1

History Node

0.1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
pym-0.1.3.tar.gz (4.6 kB) Copy SHA256 hash SHA256 Source None Jan 19, 2015

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page