Skip to content

Instantly share code, notes, and snippets.

View mrakitin's full-sized avatar

Max Rakitin mrakitin

View GitHub Profile
from time import sleep
import click
from tqdm import trange
@click.command()
@click.option("-c", "--count", default=60, help="Duration in seconds to wait")
def timer(count):
"""Wait for the specified number of seconds and print the progress bar."""