KwPBar for Python

Info:This is the README file for KwPBar.
Author:Chris Warrick <chris@chriswarrick.com>
Copyright:© 2015-2018, Chris Warrick.
Date:2018-09-03
Version:0.2.1
https://travis-ci.org/Kwpolska/kwpbar.py.svg?branch=master

A simple progress bar for Python programs.

INSTALLATION

pip install kwpbar

USAGE

import kwpbar in your program.

The following functions are available:

  • get_termlength() → return terminal length (columns); helper function
  • pbar(value, max) → print a progress bar to the screen (stderr). Can raise ValueError.
  • erase_pbar() → erase the progress bar from the screen

DEMO

python -m kwpbar.demo

SEE ALSO

KwPBar for C