awsc.termui.common.Commons

class awsc.termui.common.Commons

TermUI Common class.

This class holds the UI singleton as well as some default constants.

Attributes:
UIInstanceawsc.termui.ui.UI

The UI singleton which has been instantiated for the terminal.

TextfieldInputsstr

All accepted inputs for a textfield which accepts any latin alphabet character, number, or most commonly used symbols.

TextfieldInputsAlphaNumstr

All accepted inputs for a textfield which accepts only latin alphabet characters and numbers.

Methods

alphanum_with_symbols(symbols)

Generates a set of accepted inputs for a textfield which accepts all latin alphabet characters and numbers but only a certain set of symbols.

__init__(*args, **kwargs)

Methods

__init__(*args, **kwargs)

alphanum_with_symbols(symbols)

Generates a set of accepted inputs for a textfield which accepts all latin alphabet characters and numbers but only a certain set of symbols.

Attributes

TextfieldInputs

TextfieldInputsAlphaNum

UIInstance