Show a simple countdown progress bar

    Parameters
    ----------
    seconds
        Period of time the progress bar takes to reach zero.

def countdown_timer(seconds=10):
    """Show a simple countdown progress bar

    Parameters
    ----------
    seconds
        Period of time the progress bar takes to reach zero.
    """

    tick = 0.1  # seconds
    n_ticks = int(seconds / tick)

    widgets = ['Pause for panic: ', progressbar.ETA(), ' ', progressbar.Bar()]
    pbar = progressbar.ProgressBar(
        widgets=widgets, max_value=n_ticks
    ).start()

    for i in range(n_ticks):
        pbar.update(i)
        sleep(tick)

    pbar.finish()