Formatters

Formatters for rendering reports.

Factory

sqlcompyre.report.formatters._factory.get_formatter(name: str) Formatter[source]

Get the formatter for the specified identifier.

Args:

name: The identifier of the formatter.

Returns:

The initialized formatter.

Raises:

ValueError: If no formatter for the given identifier can be found.

Formatters

Formatter

Abstract base class for formatters of reports.

TerminalFormatter

Formatter for printing reports to the terminal.