progressbar2
A Python Progressbar library to provide visual (yet text based) progress to long running operations.
Description
############################################################################## Text progress bar library for Python. ############################################################################## Build status: .. image:: https://github.com/WoLpH/python-progressbar/actions/workflows/main.yml/badge.svg :alt: python-progressbar test status :target: https://github.com/WoLpH/python-progressbar/actions Coverage: .. image:: https://coveralls.io/repos/WoLpH/python-progressbar/badge.svg?branch=master :target: https://coveralls.io/r/WoLpH/python-progressbar?branch=master ****************************************************************************** Install ****************************************************************************** The package can be installed through `pip` (this is the recommended method): pip install progressbar2 Or if `pip` is not available, `easy_install` should work as well: easy_install progressbar2 Or download the latest release from Pypi (https://pypi.python.org/pypi/progressbar2) or Github. Note that the releases on Pypi are signed with my GPG key (https://pgp.mit.edu/pks/lookup?op=vindex&search=0xE81444E9CE1F695D) and can be checked using GPG: gpg --verify progressbar2-<version>.tar.gz.asc progressbar2-<version>.tar.gz ****************************************************************************** Introduction ****************************************************************************** A text progress bar is typically used to display the progress of a long running operation, providing a visual cue that processing is underway. The progressbar is based on the old Python progressbar package that was published on the now defunct Google Code. Since that project was completely abandoned by its developer and the developer did not respond to email, I decided to fork the package. This package is still backwards compatible with the original progressbar package so you can safely use it as a drop-in replacement for existing project. The ProgressBar class manages the current progress, and the format of the line is given by a number of widgets. A widget is an object that may display differently depending on the state of the progress bar. There are many types of widgets: - `AbsoluteETA <http://progressbar-2.readthedocs.io/en/latest/_modules/progressbar/widgets.html#AbsoluteETA>`_ - `AdaptiveETA <http://progressbar-2.readthedocs.io/en/latest/_modules/progressbar/widgets.html#AdaptiveETA>`_ - `AdaptiveTransferSpeed <http://progressbar-2.readthedocs.io/en/latest/_modules/progressbar/widgets.html#AdaptiveTransferSpeed>`_ - `AnimatedMarker <http://progressbar-2.readthedocs.io/en/latest/_modules/progressbar/widgets.html#AnimatedMarker>`_ - `Bar <http://progressbar-2.readthedocs.io/en/latest/_modules/progressbar/widgets.html#Bar>`_ - `BouncingBar <http://progressbar-2.readthedocs.io/en/latest/_modules/progressbar/widgets.html#BouncingBar>`_ - `Counter <http://progressbar-2.readthedocs.io/en/latest/_modules/progressbar/widgets.html#Counter>`_ - `CurrentTime <http://progressbar-2.readthedocs.io/en/latest/_modules/progressbar/widgets.html#CurrentTime>`_ - `DataSize <http://progressbar-2.readthedocs.io/en/latest/_modules/progressbar/widgets.html#DataSize>`_ - `DynamicMessage <http://progressbar-2.readthedocs.io/en/latest/_modules/progressbar/widgets.html#DynamicMessage>`_ - `ETA <http://progressbar-2.readthedocs.io/en/latest/_modules/progressbar/widgets.html#ETA>`_ - `FileTransferSpeed <http://progressbar-2.readthedocs.io/en/latest/_modules/progressbar/widgets.html#FileTransferSpeed>`_ - `FormatCustomText <http://progressbar-2.readthedocs.io/en/latest/_modules/progressbar/widgets.html#FormatCustomText>`_ - `FormatLabel <http://progressbar-2.readthedocs.io/en/latest/_modules/progressbar/widgets.html#FormatLabel>`_ - `FormatLabelBar <http://progressbar-2.readthedocs.io/en/latest/_modules/progressbar/widgets.html#FormatLabel>`_ - `GranularBar <http://progressbar-2.readthedocs.io/en/latest/_modules/progressbar/widgets.html#GranularBar>`_ - `Percentage <http://progressbar-2.readthedocs.io/en/latest/_modules/progressbar/widgets.html#Percentage>`_ - `PercentageLabelBar <http://progressbar-2.readthedocs.io/en/latest/_modules/progressbar/widgets.html#PercentageLabelBar>`_ - `ReverseBar <http://progressbar-2.readthedocs.io/en/latest/_modules/progressbar/widgets.html#ReverseBar>`_ - `RotatingMarker <http://progressbar-2.readthedocs.io/en/latest/_modules/progressbar/widgets.html#RotatingMarker>`_ - `SimpleProgress <http://progressbar-2.readthedocs.io/en/latest/_modules/progressbar/widgets.html#SimpleProgress>`_ - `Timer <http://progressbar-2.readthedocs.io/en/latest/_modules/progressbar/widgets.html#Timer>`_ The progressbar module is very easy to use, yet very powerful. It will also automatically enable features like auto-resizing when the system supports it. ****************************************************************************** Known issues ***********
Release History
| Version | Changes | Urgency | Date |
|---|---|---|---|
| 4.5.0 | Imported from PyPI (4.5.0) | Low | 4/21/2026 |
| v4.5.0 | Improved build system with many more (and improved) type hints. | Low | 8/28/2024 |
| v4.4.2 | Fixed visible control characters issue on Windows. Fixes #293 | Low | 3/5/2024 |
| v4.4.1 | Included fix for the progressbar command | Low | 2/25/2024 |
| v4.4.0 | Greatly improved Windows (colour) support and fixed several Windows bugs | Low | 2/25/2024 |
| v4.3.2 | disabling run-command until it is properly finished | Low | 12/18/2023 |
| v4.3.1 | fixed typeerror on Windows thanks to @eachimei, excluded docs from install thanks to @mgorny and added readthedocs configuration file | Low | 12/18/2023 |
| v4.3.0 | Added support for multithreading, multiprocessing, colors (16, 256 and full color) and many interactive terminal features such as continuous printing for a live ETA | Low | 12/18/2023 |
| v4.2.0 | Added `increment()` method for easy usage as callback from libraries such as boto | Low | 10/26/2022 |
| v4.1.1 | Fixed backwards compatibility with original progressbar library | Low | 10/18/2022 |
| v4.1.0 | Delegate unknown attrs to target in WrappingIO thanks to @william-andre. Added threaded progress bar example | Low | 10/18/2022 |
| v4.0.0 | Updated to Python 3.10 including type hinting | Low | 1/5/2022 |
| v3.54.0 | Release created with GPGit 1.5.0 https://github.com/NicoHood/gpgit | Low | 10/12/2021 |
| v3.53.3 | Release created with GPGit 1.5.0 https://github.com/NicoHood/gpgit | Low | 9/14/2021 |
| v3.53.2 | Release created with GPGit 1.5.0 https://github.com/NicoHood/gpgit | Low | 9/9/2021 |
| v3.53.1 | Release v3.53.1 | Low | 9/9/2020 |
| v3.53.0 | Release v3.53.0 Created with GPGit 1.3.1 https://github.com/NicoHood/gpgit | Low | 9/9/2020 |
| v3.52.1 | Release v3.52.1 Created with GPGit 1.3.1 https://github.com/NicoHood/gpgit | Low | 8/29/2020 |
| v3.52.0 | Release v3.52.0 Created with GPGit 1.3.1 https://github.com/NicoHood/gpgit | Low | 8/29/2020 |
| v3.51.4 | Release v3.51.4 Created with GPGit 1.3.1 https://github.com/NicoHood/gpgit | Low | 6/25/2020 |
| v3.51.3 | Release v3.51.3 | Low | 5/2/2020 |
| v3.51.2 | Release v3.51.2 | Low | 5/1/2020 |
| v3.51.1 | Release v3.51.1 | Low | 5/1/2020 |
| v3.51.0 | Release v3.51.0 | Low | 4/20/2020 |
| v3.50.1 | Release v3.50.1 | Low | 3/20/2020 |
| v3.50.0 | Release v3.50.0 | Low | 3/3/2020 |
| v3.46.1 | Release vv3.46.1 Created with GPGit 1.3.1 https://github.com/NicoHood/gpgit | Low | 9/30/2019 |
| v3.46.0 | Release vv3.46.0 Created with GPGit 1.3.1 https://github.com/NicoHood/gpgit | Low | 9/30/2019 |
| v3.47.0 | Release vv3.47.0 Created with GPGit 1.3.1 https://github.com/NicoHood/gpgit | Low | 9/30/2019 |
| v3.45.1 | Release v3.45.1 Created with GPGit 1.3.1 https://github.com/NicoHood/gpgit | Low | 9/19/2019 |
| v3.45.0 | Release v3.45.0 Created with GPGit 1.3.1 https://github.com/NicoHood/gpgit | Low | 9/15/2019 |
| v3.44.0 | Release v3.44.0 Created with GPGit 1.3.1 https://github.com/NicoHood/gpgit | Low | 9/15/2019 |
| v3.43.1 | Release v3.43.1 Created with GPGit 1.3.1 https://github.com/NicoHood/gpgit | Low | 8/21/2019 |
| v3.43.0 | Release v3.43.0 Created with GPGit 1.3.1 https://github.com/NicoHood/gpgit | Low | 8/21/2019 |
| v3.42.1 | Release v3.42.1 Created with GPGit 1.3.1 https://github.com/NicoHood/gpgit | Low | 8/21/2019 |
| v3.42.0 | Release v3.42.0 Created with GPGit 1.3.1 https://github.com/NicoHood/gpgit | Low | 5/31/2019 |
| v3.41.0 | Release v3.41.0 Created with GPGit 1.3.1 https://github.com/NicoHood/gpgit | Low | 5/29/2019 |
| v3.40.0 | Release v3.40.0 Created with GPGit 1.3.1 https://github.com/NicoHood/gpgit | Low | 5/27/2019 |
| v3.39.3 | Release v3.39.3 Created with GPGit 1.3.1 https://github.com/NicoHood/gpgit | Low | 3/13/2019 |
| v3.39.2 | Release v3.39.2 Created with GPGit 1.3.1 https://github.com/NicoHood/gpgit | Low | 12/17/2018 |
| v3.39.1 | Release v3.39.1 Created with GPGit 1.3.1 https://github.com/NicoHood/gpgit | Low | 12/17/2018 |
| v3.39.0 | Release v3.39.0 Created with GPGit 1.3.1 https://github.com/NicoHood/gpgit | Low | 12/16/2018 |
| v3.38.0 | Release v3.38.0 Created with GPGit 1.3.1 https://github.com/NicoHood/gpgit | Low | 5/26/2018 |
| v3.37.1 | Release v3.37.1 Created with GPGit https://github.com/NicoHood/gpgit | Low | 4/12/2018 |
| v3.37.0 | Release v3.37.0 Created with GPGit https://github.com/NicoHood/gpgit | Low | 4/6/2018 |
| v3.36.1 | Release v3.36.1 Created with GPGit https://github.com/NicoHood/gpgit | Low | 3/5/2018 |
| v3.36.0 | Release v3.36.0 Created with GPGit https://github.com/NicoHood/gpgit | Low | 3/4/2018 |
| v3.35.2 | Release v3.35.2 Created with GPGit https://github.com/NicoHood/gpgit | Low | 2/14/2018 |
| v3.35.1 | Release v3.35.1 Created with GPGit https://github.com/NicoHood/gpgit | Low | 2/13/2018 |
| v3.35.0 | Release v3.35.0 Created with GPGit https://github.com/NicoHood/gpgit | Low | 2/12/2018 |
| v3.34.4 | Release v3.34.4 | Low | 10/30/2017 |
