class documentation

class HackerMixerInteractive(BidirectionalNewIterator):

View In Hierarchy

Hacker mixer upper / scramble letters with variations of unicode.

Class Variable NAME subcommand name.
Method mouse_callback no action.
Method setup Scroll through all Variations of a word with mixed unicode values for letters.
Instance Variable seen keep track of what's been seen.
Instance Variable mixer Main mixer class.
Instance Variable alphabet_dict main alphabet dict.
Instance Variable object_dict letter object dictionary map.
Instance Variable let_idx letter index.
Instance Variable is_mouse initial setting for enabling/disabling mouse interaction.
Method set_word Set word.
Instance Variable word currently manipulated word.
Instance Variable letter_pos setup existing (or new) word.
Method setup_popts setup parser options.
Property uni_word whole unicode mixed word.
Property uni_dict value dictionary.
Method previous_letter scroll to previous letter in letter_pos.
Method next_letter scroll to next letter in letter_pos.
Method shift_left Move letter position left.
Method shift_right Move letter position right.
Method new Generate new random value.
Method prev go to previous collection value.
Method change_text Replace current word / text block.
Method next move to next random value.
Method obj_display Set object display.
Instance Variable txt placeholder for txt messages.
Method _has_letter return true if letter position is valid.
Method _get_lpos Get letter position.
Method _save Save (overwrite entry).
Method _print_menu output menu.

Inherited from BidirectionalIterator (via BidirectionalNewIterator):

Class Variable PAD_MAX_HEIGHT initial setting of curses window size.
Method __init__ Init class.
Instance Variable popts Parser options.
Instance Variable args future argparse.Namespace value.
Instance Variable highlight_vals values to hightlight.
Instance Variable height terminal max height.
Instance Variable width terminal max width.
Instance Variable nav Navigation group.
Instance Variable items output lines.
Method set_args Set argparse args.
Method toggle_mouse toggle mouse switch.
Instance Variable collection collection of values.
Instance Variable index Current collection value.
Instance Variable kp initial key press value.
Method getch Get next keypress.
Property current_value return current value.
Static Method get_input Get user input through the user interface and return it.
Method pad_refresh Refresh screen.
Method mouseclick Scrolling the window when pressing up/down arrow keys
Method scroll Scrolling the window when pressing up/down arrow keys
Instance Variable pad_pos initial pad position.
Instance Variable win Main curses window.
Instance Variable pad pad value.
Method run Run cli command.
Method _trywrite Attempt to write, and pass if failure occurs.
Method _dowrite perform a bunch of operations to ensure the curses screen renders properly.
Static Method _get_mouse_breakout Get character / word / line from where the mouse is clicked.
Method _run run program (for reals).
NAME =

subcommand name.

(type: str)
def mouse_callback(self, _):
def setup(self, word):

Scroll through all Variations of a word with mixed unicode values for letters.

ParameterswordUndocumented (type: str)
seen =

keep track of what's been seen.

mixer =

Main mixer class.

alphabet_dict =

main alphabet dict.

object_dict =

letter object dictionary map.

let_idx =

letter index.

is_mouse =

initial setting for enabling/disabling mouse interaction.

(type: bool)
def set_word(self, word):

Set word.

ParameterswordUndocumented (type: str)
word =

currently manipulated word.

letter_pos =

setup existing (or new) word.

(type: int)
def setup_popts(self):
def _has_letter(self):

return true if letter position is valid.

def _get_lpos(self):

Get letter position.

@property
uni_word =

whole unicode mixed word.

@property
uni_dict =

value dictionary.

def _save(self):

Save (overwrite entry).

def previous_letter(self):

scroll to previous letter in letter_pos.

def next_letter(self):

scroll to next letter in letter_pos.

def shift_left(self):

Move letter position left.

def shift_right(self):

Move letter position right.

def new(self):

Generate new random value.

def prev(self):

go to previous collection value.

def change_text(self):

Replace current word / text block.

def next(self):

move to next random value.

def obj_display(self):

Set object display.

def _print_menu(self):
txt =

placeholder for txt messages.

(type: list)
API Documentation for unicodes_api, generated by pydoctor 21.2.2 at 1996-06-17 15:00:00.