@staticmethod
def format_exact(seconds):
    """Format a time delta in a human readable format.

        Examples
        --------
        >>> from ptvpy._cli_utils import CliTimer
        >>> CliTimer.format_exact(0.5)
        '0.50 s'
        >>> CliTimer.format_exact(1276)
        '21 min 16 s'
        >>> CliTimer.format_exact(2 ** 14)
        '4 h 33 min 04 s'
        """
    if seconds < 1:
        return f'{seconds:.2f} s'
    if seconds < 60:
        return f'{seconds:.1f} s'
    minutes, seconds = divmod(round(seconds), 60)
    if minutes < 60:
        return f'{minutes:d} min {seconds:02d} s'
    hours, minutes = divmod(minutes, 60)
    return f'{hours:d} h {minutes:02d} min {seconds:02d} s'
