Returns the progress ratio, percentage and time remaining.

def ratio_and_percentage_with_time_remaining(current, total, time_remaining):
    """Returns the progress ratio, percentage and time remaining."""
    return "{} / {} ({}% completed) (~{} remaining)".format(
      current,
      total,
      int(current / total * 100),
      time_remaining)