ORIONIS API REFERENCE

THE ORIONIS API

Build with clarity.

Explore the building blocks of an async-first Python framework. Every module, class, and method — connected, searchable, and ready to build with.

class documentation

class ANSIColors(Enum): (source)

View In Hierarchy

Define ANSI escape codes for styling terminal text and backgrounds.

This Enum provides ANSI escape codes for foreground and background colors, as well as text styles such as bold, underline, dim, italic, and magenta. Use these codes to enhance console output readability and emphasis.

Returns
strThe ANSI escape code string for the selected color or style.
Constant BG_ERROR Undocumented
Constant BG_FAIL Undocumented
Constant BG_INFO Undocumented
Constant BG_SUCCESS Undocumented
Constant BG_WARNING Undocumented
Constant CYAN Undocumented
Constant DEFAULT Undocumented
Constant DIM Undocumented
Constant ITALIC Undocumented
Constant MAGENTA Undocumented
Constant TEXT_BOLD Undocumented
Constant TEXT_BOLD_ERROR Undocumented
Constant TEXT_BOLD_INFO Undocumented
Constant TEXT_BOLD_MUTED Undocumented
Constant TEXT_BOLD_SUCCESS Undocumented
Constant TEXT_BOLD_WARNING Undocumented
Constant TEXT_BOLD_WHITE Undocumented
Constant TEXT_ERROR Undocumented
Constant TEXT_INFO Undocumented
Constant TEXT_MUTED Undocumented
Constant TEXT_STYLE_UNDERLINE Undocumented
Constant TEXT_SUCCESS Undocumented
Constant TEXT_WARNING Undocumented
Constant TEXT_WHITE Undocumented
BG_ERROR: str = (source)

Undocumented

Value
'\x1b[41m'

Undocumented

Value
'\x1b[48;5;166m'

Undocumented

Value
'\x1b[44m'
BG_SUCCESS: str = (source)

Undocumented

Value
'\x1b[42m'
BG_WARNING: str = (source)

Undocumented

Value
'\x1b[43m'

Undocumented

Value
'\x1b[36m'

Undocumented

Value
'\x1b[0m'

Undocumented

Value
'\x1b[2m'

Undocumented

Value
'\x1b[3m'

Undocumented

Value
'\x1b[35m'
TEXT_BOLD: str = (source)

Undocumented

Value
'\x1b[1m'
TEXT_BOLD_ERROR: str = (source)

Undocumented

Value
'\x1b[1;91m'
TEXT_BOLD_INFO: str = (source)

Undocumented

Value
'\x1b[1;34m'
TEXT_BOLD_MUTED: str = (source)

Undocumented

Value
'\x1b[1;90m'
TEXT_BOLD_SUCCESS: str = (source)

Undocumented

Value
'\x1b[1;32m'
TEXT_BOLD_WARNING: str = (source)

Undocumented

Value
'\x1b[1;33m'
TEXT_BOLD_WHITE: str = (source)

Undocumented

Value
'\x1b[1;97m'
TEXT_ERROR: str = (source)

Undocumented

Value
'\x1b[91m'
TEXT_INFO: str = (source)

Undocumented

Value
'\x1b[34m'
TEXT_MUTED: str = (source)

Undocumented

Value
'\x1b[90m'
TEXT_STYLE_UNDERLINE: str = (source)

Undocumented

Value
'\x1b[4m'
TEXT_SUCCESS: str = (source)

Undocumented

Value
'\x1b[32m'
TEXT_WARNING: str = (source)

Undocumented

Value
'\x1b[33m'
TEXT_WHITE: str = (source)

Undocumented

Value
'\x1b[97m'