docs: def report_bar(bytes_so_far, total_size, speed, eta):
      '''
      This callback for the download function is used to print the download bar
      '''
      percent = int(bytes_so_far * 100 / total_size)
      current = approximate_size(bytes_so_far).center(9)
      total = approximate_size(total_size).center(9)
      shaded = int(float(bytes_so_far) / total_size * AVAIL_WIDTH)
      sys.stdout.write(
          " {0}% [{1}{2}{3}] {4}/{5} {6} eta{7}".format(str(percent).center(4),
                                                        '=' * (shaded - 1),
                                                        '>',
                                                        ' ' * (AVAIL_WIDTH - shaded),
                                                        current,
                                                        total,
                                                        (approximate_size(speed) + '/s').center(11),
                                                        eta.center(10)))
      sys.stdout.write("\r")
      sys.stdout.flush()