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>

Date:
2018-09-03
Version:
0.2.0
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.

Source Distribution

kwpbar-0.2.0.tar.gz (9.4 kB view hashes)

Uploaded Source

Built Distribution

kwpbar-0.2.0-py2.py3-none-any.whl (4.5 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page