A collection of progress bars.

Details

Status Production/Stable
Language Python, C
License 3-clause BSD
Role Maintainer

Languages

API

  • int get_termlength() → return terminal length (columns); helper function

  • int/None pbar(double value, double max) → print a progress bar to the screen (stderr). Can raise ValueError in Python; returns 0 for success and 1 for failure in C.

  • void/None erase_pbar() → erase the progress bar from the screen