class_docstr: Displays a progress bar.
  
  # Arguments
      target: Total number of steps expected, None if unknown.
      interval: Minimum visual progress update interval (in seconds).
class_docstr_tok: ["Displays","a","progress","bar",".","#","Arguments","target",":","Total","number","of","steps","expected",",","None","if","unknown",".","interval",":","Minimum","visual","progress","update","interval","(","in","seconds",")","."]
code: def __init__(self, target, width=30, verbose=1, interval=0.05):
      self.width = width
      if target is None:
          target = -1
      self.target = target
      self.sum_values = {}
      self.unique_values = []
      self.start = time.time()
      self.last_update = 0
      self.interval = interval
      self.total_width = 0
      self.seen_so_far = 0
      self.verbose = verbose
  
imports: import hashlib
  from io import StringIO
  from datetime import timedelta
  import re
  import random
  import string
  import struct
  import time
  import sys
  import shutil
  import subprocess
  import os
  import numpy
  import requests
  import tempfile
  import uuid
  from studio.storage import storage_setup
  from studio.storage.storage_type import StorageType
label_desc: Use image node_id 1 to create a new Progbar object from inherited base classes: object with example: obj = Progbar(target, width, verbose, interval)