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.

Files for kwpbar, version 0.2.1
Filename, size File type Python version Upload date Hashes
Filename, size kwpbar-0.2.1-py2.py3-none-any.whl (4.6 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size kwpbar-0.2.1.tar.gz (9.5 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page