class_docstr: Progressbar supports displaying a progressbar like element
class_docstr_tok: ["Progressbar","supports","displaying","a","progressbar","like","element"]
docstr: Creates a new progressbar
  
  Parameters
  ----------
  total : int
      maximum size of the progressbar
docstr_tok: ["Creates","a","new","progressbar","Parameters","--","--","--","--","--","total",":","int","maximum","size","of","the","progressbar"]
code: def __init__(self, total=100):
      """Creates a new progressbar
  
      Parameters
      ----------
      total : int
          maximum size of the progressbar
      """
      self.total = total
      self._progress = 0
      self.html_width = "60ex"
      self.text_width = 60
      self._display_id = hexlify(os.urandom(8)).decode("ascii")
      self._stage = ""
      self._eta = ""
  
file_path: upgini/src/upgini/utils/progress_bar.py
imports: import os
  from binascii import hexlify
  from typing import Tuple
  from IPython.display import DisplayObject, display
label_desc: Use image node_id 1 to create a new CustomProgressBar object from inherited base classes: DisplayObject with example: obj = CustomProgressBar(total)