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.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.

Source Distribution

kwpbar-0.2.1.tar.gz (9.5 kB view details)

Uploaded Source

Built Distribution

kwpbar-0.2.1-py2.py3-none-any.whl (4.6 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file kwpbar-0.2.1.tar.gz.

File metadata

  • Download URL: kwpbar-0.2.1.tar.gz
  • Upload date:
  • Size: 9.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.7.0

File hashes

Hashes for kwpbar-0.2.1.tar.gz
Algorithm Hash digest
SHA256 4415cc13aaad5274c3fd85ddc0b6fb29728e32bb2dbc31384b05db2264e93c97
MD5 55915ce000986ed1b771b317f9c57a4b
BLAKE2b-256 c634659bc391a3092bdb7390e4066bb10d0289b80824c97ffacdce1c0090b72d

See more details on using hashes here.

Provenance

File details

Details for the file kwpbar-0.2.1-py2.py3-none-any.whl.

File metadata

  • Download URL: kwpbar-0.2.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.7.0

File hashes

Hashes for kwpbar-0.2.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 39cf51e278f87d6929a02faf3653217eebb4308789dac11c46485226d7d3d384
MD5 79abbfe6f9e153f6cb11e560caa398ba
BLAKE2b-256 c1b28c6a539c5b15e7a118d3b1430b926ad18f229b54b78291aacc9cbb4596d0

See more details on using hashes here.

Provenance

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