in rally-custom/custom_tracks/opensearch/openai_vector/_tools/parse_documents.py [0:0]
def progress_bar(count, total):
bar_length = 100
filled_length = int(round(bar_length * count / float(total)))
percentage = round(100.0 * count / float(total), 1)
bar = "=" * filled_length + "-" * (bar_length - filled_length)
sys.stdout.write("[{}] {}{} ... {:,}/{:,}\r".format(bar, percentage, "%", count, total))
sys.stdout.flush()