Urwid Timed Progress Bar
Project description
|Docs| |Downloads| |License|
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
==========
.. image:: https://raw.githubusercontent.com/mgk/urwid_timed_progress/master/screencast-thumb.png
:target: https://asciinema.org/a/35925
Example screenshot showing two progress bars
============================================
.. image:: https://raw.githubusercontent.com/mgk/urwid_timed_progress/master/screenshot.png
:alt: Timed Progress Bars
:target: https://raw.githubusercontent.com/mgk/urwid_timed_progress/master/examples/current_file_and_overall_progress.py
Installation
============
.. code::
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 <https://github.com/mgk/urwid_timed_progress/issues>`_.
.. _example code: https://github.com/mgk/urwid_timed_progress/blob/master/examples/
.. |Docs| image:: https://readthedocs.org/projects/urwid-timed-progress/badge/?version=latest&style=flat
:alt: Documentation Status
:scale: 100%
:target: http://urwid-timed-progress.rtfd.org/
.. |Downloads| image:: https://img.shields.io/pypi/dm/urwid_timed_progress.svg
:target: https://pypi.python.org/pypi/urwid_timed_progress
.. |License| image:: http://img.shields.io/badge/license-MIT-blue.svg?style=flat
:target: https://github.com/mgk/urwid_timed_progress/blob/master/LICENSE
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
==========
.. image:: https://raw.githubusercontent.com/mgk/urwid_timed_progress/master/screencast-thumb.png
:target: https://asciinema.org/a/35925
Example screenshot showing two progress bars
============================================
.. image:: https://raw.githubusercontent.com/mgk/urwid_timed_progress/master/screenshot.png
:alt: Timed Progress Bars
:target: https://raw.githubusercontent.com/mgk/urwid_timed_progress/master/examples/current_file_and_overall_progress.py
Installation
============
.. code::
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 <https://github.com/mgk/urwid_timed_progress/issues>`_.
.. _example code: https://github.com/mgk/urwid_timed_progress/blob/master/examples/
.. |Docs| image:: https://readthedocs.org/projects/urwid-timed-progress/badge/?version=latest&style=flat
:alt: Documentation Status
:scale: 100%
:target: http://urwid-timed-progress.rtfd.org/
.. |Downloads| image:: https://img.shields.io/pypi/dm/urwid_timed_progress.svg
:target: https://pypi.python.org/pypi/urwid_timed_progress
.. |License| image:: http://img.shields.io/badge/license-MIT-blue.svg?style=flat
:target: https://github.com/mgk/urwid_timed_progress/blob/master/LICENSE
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
Built Distribution
File details
Details for the file urwid_timed_progress-1.1.1.tar.gz
.
File metadata
- Download URL: urwid_timed_progress-1.1.1.tar.gz
- Upload date:
- Size: 6.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc45828c5294c5cd81b75ee5c7ea5201c1b1bc3885a6e4539c650990934d4654 |
|
MD5 | 9c9a04ecf2a0725cad225a4342251065 |
|
BLAKE2b-256 | ec7b3e1b70a15290b1077808d92edf29de53ebbba43bfcfdcb1e952e99e9f8e0 |
File details
Details for the file urwid_timed_progress-1.1.1-py2.py3-none-any.whl
.
File metadata
- Download URL: urwid_timed_progress-1.1.1-py2.py3-none-any.whl
- Upload date:
- Size: 6.4 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ee578fa2e13ea6ab6dce3b5a300a40a6f9ecaff0e182648a6250a0bcc502fa7 |
|
MD5 | f3bb2d0ca1a8857fda2fcabf17f4bf8e |
|
BLAKE2b-256 | e200fc6cbc2aff4ca5dfec42499f6ce5534bffe29ed4776421adc1e35edfc0b6 |