Skip to main content

A simple progressbar to track progress with built in-timer that estimates remaining time

Project description

Progress Bar

This is a simple progress bar that allows for easy use to display progress.

FEATURES

  • Timer to estimate time remaining
  • Timer adjusts to rates
  • Choice of length of bar
  • Choice of character bar is made of
  • Option for item count or percentage completed (or both)

Usage

Imported with from progressbar import ProgressBar

Initialize object with bar = ProgressBar(number of iterations)

Use in loop. Inside loop at the end, put bar.update() or bar += 1. Prefer bar.update()

Or

Use as an iterator object

for i in ProgressBar(range(10)):
    ...

Change Log

1.0.4 (6/11/2021)

  • Added "iter" attribute to allow for more effective use in loops.

Example:

for i in ProgressBar(range(10)):
    ...

1.0.3.3 (6/8/2021)

  • Bug Fixes

1.0.3 (6/2/2021)

  • Added ability to adjust "learning rate" for the rate of items
  • Made "completed" arguement for "update" method default to None, which just means increment by one

1.0.2.2 (5/7/2021)

  • Bug Fixes

1.0.2 (5/6/2021)

  • Added support for updating multiple items (timer would update as one item)
  • Added ability to adjust the starting rate of items for the timer
  • Fixed bugs using "+=" (iadd) (caused timer to not work)

1.0.1.2 (5/6/2021)

  • Bug Fixes

1.0.0 (5/6/2021)

  • First Release

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

progressbar_easy-1.0.4.2.tar.gz (3.9 kB view hashes)

Uploaded Source

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