Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Urwid Timed Progress Bar

Project Description

urwid_timed_progress

urwid_timed_progress is an Urwid progress widget that displays enhanced progress with custom units, rate of progress, and estimated time remaining.

Screencast

Example screenshot showing two progress bars

Installation

pip install urwid_timed_progress

Usage

Create timed progress bar, much like a regular ProgressBar:

file_size_mb = 1234
progress = TimedProgressBar('normal', 'complete', label='Current File',
                            units='MB', done=file_size_mb)

As the file operation proceeds update the progress bar:

progress.add_progress(1)  # each time 1 unit of progress has been made

add_progress() updates the progress bar rate and estimated time remaining.

To update the timer without adding progress do:

progress.add_progress(0)

See example code.

Development

The project lives on GitHub. Bug reports, questions, and comments are most welcome.

Release History

Release History

This version
History Node

1.1.1

History Node

1.1.0

History Node

1.0.2

History Node

1.0.1

History Node

1.0.0

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
urwid_timed_progress-1.1.1-py2.py3-none-any.whl (6.4 kB) Copy SHA256 Checksum SHA256 py2.py3 Wheel Feb 22, 2016
urwid_timed_progress-1.1.1.tar.gz (6.3 kB) Copy SHA256 Checksum SHA256 Source Feb 22, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting