API Reference

Documentation for the available functions and modules.

Text Module

Text formatting utilities.

prettypython.text.debug(text: str, **kwargs: object) → str[source]

Format text using the default magenta foreground.

prettypython.text.failed(text: str, **kwargs: object) → str[source]

Format text using the default red foreground.

prettypython.text.info(text: str, **kwargs: object) → str[source]

Format text using the default cyan foreground.

prettypython.text.notice(text: str, **kwargs: object) → str[source]

Format text using the default blue foreground.

prettypython.text.success(text: str, **kwargs: object) → str[source]

Format text using the default green foreground.

prettypython.text.trace(text: str, **kwargs: object) → str[source]

Format text using the default gray foreground.

prettypython.text.warning(text: str, **kwargs: object) → str[source]

Format text using the default yellow foreground.