Skip to main content

A progress bar for Python.

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
kwpbar-0.2.1-py2.py3-none-any.whl (4.6 kB) Copy SHA256 hash SHA256 Wheel py2.py3 Sep 3, 2018
kwpbar-0.2.1.tar.gz (9.5 kB) Copy SHA256 hash SHA256 Source None Sep 3, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page