<reponame>heatherleaf/sparv-pipeline<filename>sparv/core/console.py
"""Provide a Console instance for pretty printing."""
from rich.console import Console
from rich.themes import Theme

# Remove some automatic highlighting from default theme, to improve our log output
_theme = Theme(
    {
        "repr.ipv6": "none",
        "repr.eui48": "none",
        "repr.eui64": "none"
    }
)

# Initiate rich console for pretty printing
console = Console(theme=_theme)

"""Provide a Console instance for pretty printing."""
from rich.console import Console
from rich.themes import Theme

# Remove some automatic highlighting from default theme, to improve our log output
_theme = Theme(
    {
        "repr.ipv6": "none",
        "repr.eui48": "none",
        "repr.eui64": "none"
    }
)

# Initiate rich console for pretty printing
console = Console(theme=_theme)
Provide a Console instance for pretty printing. # Remove some automatic highlighting from default theme, to improve our log output # Initiate rich console for pretty printing