xlsindy.utils module

Utility function for XLsindy not related to the main functionnality.

xlsindy.utils.print_progress(iteration: int, total: int, prefix: str = '', suffix: str = '', decimals: int = 1, bar_length: int = 100)

Displays a progress bar in the terminal.

Parameters:
  • iteration (int) – Current iteration.

  • total (int) – Total number of iterations.

  • prefix (str, optional) – Prefix for the progress bar.

  • suffix (str, optional) – Suffix for the progress bar.

  • decimals (int, optional) – Number of decimal places to show in the percentage.

  • bar_length (int, optional) – Length of the progress bar in characters.