Source code for perda.constants

DELIMITER = "=" * 40
TITLE_DELIM = "=" * 5


[docs] def title_block(title: str) -> str: """ Format a title surrounded by title delimiters. Parameters ---------- title : str The title text Returns ------- str Title formatted as ``===== Title =====`` """ return f"{TITLE_DELIM} {title} {TITLE_DELIM}"