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 libsbgnpy.log.

from libsbgnpy.console import console

console.print(sbgn)
console.rule("Glyphs", 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().