sshmitm.colors module

class sshmitm.colors.Colors

Bases: object

classmethod dimmed(text)
Parameters:

text (object)

Return type:

str

classmethod emoji(name)
Parameters:

name (str)

Return type:

str

classmethod error(text, *, bold=True)
Parameters:
  • text (object)

  • bold (bool, default: True)

Return type:

str

classmethod heading(text)
Parameters:

text (object)

Return type:

str

classmethod highlight(text, *, bold=True)
Parameters:
  • text (object)

  • bold (bool, default: True)

Return type:

str

classmethod muted(text)
Parameters:

text (object)

Return type:

str

classmethod stylize(text, color=None, *, bold=False)
Parameters:
  • text (object)

  • color (str | None, default: None)

  • bold (bool, default: False)

Return type:

str

stylize_func: bool = True
classmethod success(text, *, bold=True)
Parameters:
  • text (object)

  • bold (bool, default: True)

Return type:

str

classmethod warning(text, *, bold=True)
Parameters:
  • text (object)

  • bold (bool, default: True)

Return type:

str