Skip to content

console

Shared rich console.

The console is used for the output of scripts and examples; library code logs instead of printing, see pymetadata.log.

from pymetadata.console import console

console.print(omex)
console.rule("Section", style="white")

Importing this module has no side effects on the interpreter. To get rich representations in an interactive session, install them explicitly with rich.pretty.install().