Skip to content

Font Styles#

Blink(content, **kwargs)

Bases: Style

Converts string to Blink font

Parameters:

Name Type Description Default
content Any

string to be styled

required
kwargs Any

same as arguments in Color

{}

Bold #

Bold(content, **kwargs)

Bases: Style

Converts string to Bold font

Parameters:

Name Type Description Default
content Any

string to be styled

required
kwargs Any

same as arguments in Color

{}

Default #

Default(content, **kwargs)

Bases: Style

Converts string to Default font

Parameters:

Name Type Description Default
content Any

string to be styled

required
kwargs Any

same as arguments in Color

{}

Dim #

Dim(content, **kwargs)

Bases: Style

Converts string to Dim font

Parameters:

Name Type Description Default
content Any

string to be styled

required
kwargs Any

same as arguments in Color

{}

Encircled #

Encircled(content, **kwargs)

Bases: Style

Converts string to Encircled font

Parameters:

Name Type Description Default
content Any

string to be styled

required
kwargs Any

same as arguments in Color

{}

Framed #

Framed(content, **kwargs)

Bases: Style

Converts string to Framed font

Parameters:

Name Type Description Default
content Any

string to be styled

required
kwargs Any

same as arguments in Color

{}

Hidden #

Hidden(content, **kwargs)

Bases: Style

Converts string to Hidden font, may not work in all terminals

Parameters:

Name Type Description Default
content Any

string to be styled

required
kwargs Any

same as arguments in Color

{}

Inverse #

Inverse(content, **kwargs)

Bases: Style

Converts string to Inverse font

Parameters:

Name Type Description Default
content Any

string to be styled

required
kwargs Any

same as arguments in Color

{}

Italic #

Italic(content, **kwargs)

Bases: Style

Converts string to Italic font

Parameters:

Name Type Description Default
content Any

string to be styled

required
kwargs Any

same as arguments in Color

{}

OverLined #

OverLined(content, **kwargs)

Bases: Style

Converts string to Over Lined font, may not work in all terminals

Parameters:

Name Type Description Default
content Any

string to be styled

required
kwargs Any

same as arguments in Color

{}
RapidBlink(content, **kwargs)

Bases: Style

Converts string to Rapid Blink font

Parameters:

Name Type Description Default
content Any

string to be styled

required
kwargs Any

same as arguments in Color

{}

StrikeThrough #

StrikeThrough(content, **kwargs)

Bases: Style

Converts string to Strike Through font

Parameters:

Name Type Description Default
content Any

string to be styled

required
kwargs Any

same as arguments in Color

{}

Style #

Style(content, **kwargs)

Bases: Color

Base Style decorator

Parameters:

Name Type Description Default
content Any

string to be colored

required
kwargs Any

arguments same as in Color

{}

Underline #

Underline(content, **kwargs)

Bases: Style

Converts string to Underline font

Parameters:

Name Type Description Default
content Any

string to be styled

required
kwargs Any

same as arguments in Color

{}