Skip to main content

Interactive Python prompts made simple

Project description

bulletIn is a fork of bullet. but only two dialog types are implemented at the moment.

Quick start

Import the bulletin module

import bulletin

Instantiate a default Dialogs instance

dialogs = bulletin.Dialogs()

or instantiate a customized Dialogs instance

dialogs = bulletin.Dialogs(
   shift = 1,
   indent = 3,
   align = 2,
   margin = 1,
   pad_left = 1,
   pad_right = 1,
   check = 'X',
   nocheck = 'O')

Launch a dialog to select only one option

    prompt='Choose the best day:',
    choices=['Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday', 'Sunday'],

or launch a dialog to select one or more options

    prompt='Choose three good days:',
    choices=['Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday', 'Sunday'],
    default=['Monday', 'Wednesday', 'Saturday'])

Project details

Download files

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

Files for bulletin, version 0.2.5
Filename, size File type Python version Upload date Hashes
Filename, size bulletin-0.2.5-py3-none-any.whl (13.4 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page