progressbar2 4.2.0__tar.gz → 4.3.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- progressbar2-4.3.0/.github/FUNDING.yml +1 -0
- progressbar2-4.3.0/.github/ci-reporter.yml +8 -0
- progressbar2-4.3.0/.github/workflows/codeql.yml +42 -0
- progressbar2-4.3.0/.github/workflows/main.yml +26 -0
- progressbar2-4.3.0/.github/workflows/stale.yml +17 -0
- progressbar2-4.3.0/.gitignore +44 -0
- progressbar2-4.3.0/.pre-commit-config.yaml +14 -0
- progressbar2-4.3.0/ISSUE_TEMPLATE +15 -0
- {progressbar2-4.2.0 → progressbar2-4.3.0}/MANIFEST.in +3 -3
- {progressbar2-4.2.0 → progressbar2-4.3.0}/Makefile +3 -7
- {progressbar2-4.2.0/progressbar2.egg-info → progressbar2-4.3.0}/PKG-INFO +161 -46
- progressbar2-4.2.0/PKG-INFO → progressbar2-4.3.0/README.rst +93 -59
- progressbar2-4.3.0/appveyor.yml +41 -0
- progressbar2-4.3.0/circle.yml +8 -0
- progressbar2-4.3.0/docs/.gitignore +1 -0
- progressbar2-4.3.0/docs/Makefile +177 -0
- progressbar2-4.3.0/docs/_theme/LICENSE +46 -0
- progressbar2-4.3.0/docs/_theme/flask_theme_support.py +89 -0
- progressbar2-4.3.0/docs/_theme/wolph/layout.html +27 -0
- progressbar2-4.3.0/docs/_theme/wolph/relations.html +19 -0
- progressbar2-4.3.0/docs/_theme/wolph/static/flasky.css_t +431 -0
- progressbar2-4.3.0/docs/_theme/wolph/static/small_flask.css +70 -0
- progressbar2-4.3.0/docs/_theme/wolph/theme.conf +7 -0
- progressbar2-4.3.0/docs/conf.py +344 -0
- progressbar2-4.3.0/docs/contributing.rst +1 -0
- progressbar2-4.3.0/docs/examples.rst +5 -0
- progressbar2-4.3.0/docs/history.rst +8 -0
- progressbar2-4.3.0/docs/index.rst +28 -0
- progressbar2-4.3.0/docs/installation.rst +16 -0
- progressbar2-4.3.0/docs/make.bat +242 -0
- progressbar2-4.3.0/docs/progressbar.bar.rst +8 -0
- progressbar2-4.3.0/docs/progressbar.base.rst +7 -0
- progressbar2-4.3.0/docs/progressbar.multi.rst +7 -0
- progressbar2-4.3.0/docs/progressbar.rst +31 -0
- progressbar2-4.3.0/docs/progressbar.shortcuts.rst +7 -0
- progressbar2-4.3.0/docs/progressbar.terminal.base.rst +7 -0
- progressbar2-4.3.0/docs/progressbar.terminal.colors.rst +7 -0
- progressbar2-4.3.0/docs/progressbar.terminal.os_specific.posix.rst +7 -0
- progressbar2-4.3.0/docs/progressbar.terminal.os_specific.rst +19 -0
- progressbar2-4.3.0/docs/progressbar.terminal.os_specific.windows.rst +7 -0
- progressbar2-4.3.0/docs/progressbar.terminal.rst +28 -0
- progressbar2-4.3.0/docs/progressbar.terminal.stream.rst +7 -0
- progressbar2-4.3.0/docs/progressbar.utils.rst +7 -0
- progressbar2-4.3.0/docs/progressbar.widgets.rst +7 -0
- progressbar2-4.3.0/docs/requirements.txt +1 -0
- progressbar2-4.3.0/docs/usage.rst +70 -0
- {progressbar2-4.2.0 → progressbar2-4.3.0}/examples.py +172 -84
- {progressbar2-4.2.0 → progressbar2-4.3.0}/progressbar/__about__.py +5 -3
- progressbar2-4.3.0/progressbar/__init__.py +81 -0
- {progressbar2-4.2.0 → progressbar2-4.3.0}/progressbar/bar.py +522 -272
- progressbar2-4.3.0/progressbar/base.py +31 -0
- progressbar2-4.3.0/progressbar/env.py +159 -0
- progressbar2-4.3.0/progressbar/multi.py +372 -0
- progressbar2-4.3.0/progressbar/py.typed +0 -0
- progressbar2-4.3.0/progressbar/shortcuts.py +22 -0
- progressbar2-4.3.0/progressbar/terminal/__init__.py +4 -0
- progressbar2-4.3.0/progressbar/terminal/base.py +524 -0
- progressbar2-4.3.0/progressbar/terminal/colors.py +1070 -0
- progressbar2-4.3.0/progressbar/terminal/os_specific/__init__.py +22 -0
- progressbar2-4.3.0/progressbar/terminal/os_specific/posix.py +15 -0
- progressbar2-4.3.0/progressbar/terminal/os_specific/windows.py +137 -0
- progressbar2-4.3.0/progressbar/terminal/stream.py +138 -0
- {progressbar2-4.2.0 → progressbar2-4.3.0}/progressbar/utils.py +165 -155
- {progressbar2-4.2.0 → progressbar2-4.3.0}/progressbar/widgets.py +744 -256
- progressbar2-4.2.0/README.rst → progressbar2-4.3.0/progressbar2.egg-info/PKG-INFO +174 -36
- progressbar2-4.3.0/progressbar2.egg-info/SOURCES.txt +109 -0
- progressbar2-4.3.0/progressbar2.egg-info/entry_points.txt +2 -0
- {progressbar2-4.2.0 → progressbar2-4.3.0}/progressbar2.egg-info/requires.txt +5 -3
- progressbar2-4.3.0/progressbar2.egg-info/top_level.txt +6 -0
- progressbar2-4.3.0/pyproject.toml +190 -0
- {progressbar2-4.2.0 → progressbar2-4.3.0}/pytest.ini +9 -8
- progressbar2-4.3.0/ruff.toml +75 -0
- progressbar2-4.3.0/setup.cfg +4 -0
- {progressbar2-4.2.0 → progressbar2-4.3.0}/tests/conftest.py +11 -7
- {progressbar2-4.2.0 → progressbar2-4.3.0}/tests/original_examples.py +123 -53
- {progressbar2-4.2.0 → progressbar2-4.3.0}/tests/test_backwards_compatibility.py +4 -3
- progressbar2-4.3.0/tests/test_color.py +328 -0
- {progressbar2-4.2.0 → progressbar2-4.3.0}/tests/test_custom_widgets.py +23 -11
- progressbar2-4.3.0/tests/test_data.py +24 -0
- progressbar2-4.3.0/tests/test_dill_pickle.py +14 -0
- {progressbar2-4.2.0 → progressbar2-4.3.0}/tests/test_empty.py +0 -1
- {progressbar2-4.2.0 → progressbar2-4.3.0}/tests/test_end.py +12 -8
- {progressbar2-4.2.0 → progressbar2-4.3.0}/tests/test_failure.py +15 -2
- {progressbar2-4.2.0 → progressbar2-4.3.0}/tests/test_flush.py +2 -1
- {progressbar2-4.2.0 → progressbar2-4.3.0}/tests/test_iterators.py +15 -13
- progressbar2-4.3.0/tests/test_job_status.py +19 -0
- {progressbar2-4.2.0 → progressbar2-4.3.0}/tests/test_large_values.py +1 -0
- progressbar2-4.3.0/tests/test_monitor_progress.py +295 -0
- progressbar2-4.3.0/tests/test_multibar.py +249 -0
- {progressbar2-4.2.0 → progressbar2-4.3.0}/tests/test_progressbar.py +15 -13
- {progressbar2-4.2.0 → progressbar2-4.3.0}/tests/test_samples.py +6 -3
- progressbar2-4.3.0/tests/test_speed.py +35 -0
- {progressbar2-4.2.0 → progressbar2-4.3.0}/tests/test_stream.py +51 -6
- {progressbar2-4.2.0 → progressbar2-4.3.0}/tests/test_terminal.py +45 -13
- {progressbar2-4.2.0 → progressbar2-4.3.0}/tests/test_timed.py +36 -19
- {progressbar2-4.2.0 → progressbar2-4.3.0}/tests/test_timer.py +29 -18
- {progressbar2-4.2.0 → progressbar2-4.3.0}/tests/test_unicode.py +12 -11
- {progressbar2-4.2.0 → progressbar2-4.3.0}/tests/test_unknown_length.py +5 -3
- progressbar2-4.3.0/tests/test_utils.py +110 -0
- {progressbar2-4.2.0 → progressbar2-4.3.0}/tests/test_widgets.py +21 -15
- {progressbar2-4.2.0 → progressbar2-4.3.0}/tests/test_with.py +0 -1
- progressbar2-4.3.0/tests/test_wrappingio.py +61 -0
- progressbar2-4.3.0/tox.ini +68 -0
- progressbar2-4.2.0/progressbar/__init__.py +0 -76
- progressbar2-4.2.0/progressbar/base.py +0 -18
- progressbar2-4.2.0/progressbar/shortcuts.py +0 -11
- progressbar2-4.2.0/progressbar2.egg-info/SOURCES.txt +0 -403
- progressbar2-4.2.0/progressbar2.egg-info/not-zip-safe +0 -1
- progressbar2-4.2.0/progressbar2.egg-info/top_level.txt +0 -1
- progressbar2-4.2.0/setup.cfg +0 -13
- progressbar2-4.2.0/setup.py +0 -72
- progressbar2-4.2.0/tests/.coverage +0 -0
- progressbar2-4.2.0/tests/__pycache__/conftest.cpython-310-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/conftest.cpython-37-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/conftest.cpython-37-pytest-7.2.0.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/conftest.cpython-38-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/conftest.cpython-38-pytest-7.2.0.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/conftest.cpython-39-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/conftest.cpython-39-pytest-7.2.0.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/custom_widgets.cpython-310-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/custom_widgets.cpython-310.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/custom_widgets.cpython-37-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/custom_widgets.cpython-38-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/custom_widgets.cpython-39-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/data.cpython-310-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/data.cpython-310.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/data.cpython-37-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/data.cpython-38-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/data.cpython-39-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/datatransferbar.cpython-310-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/datatransferbar.cpython-310.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/datatransferbar.cpython-37-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/datatransferbar.cpython-38-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/datatransferbar.cpython-39-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/empty.cpython-310-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/empty.cpython-310.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/empty.cpython-37-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/empty.cpython-38-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/empty.cpython-39-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/failure.cpython-310-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/failure.cpython-310.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/failure.cpython-37-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/failure.cpython-38-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/failure.cpython-39-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/iterators.cpython-310-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/iterators.cpython-310.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/iterators.cpython-37-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/iterators.cpython-38-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/iterators.cpython-39-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/misc.cpython-310-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/misc.cpython-310.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/misc.cpython-37-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/misc.cpython-38-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/misc.cpython-39-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/original_examples.cpython-310-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/original_examples.cpython-310.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/original_examples.cpython-37-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/original_examples.cpython-37-pytest-7.2.0.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/original_examples.cpython-38-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/original_examples.cpython-38-pytest-7.2.0.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/original_examples.cpython-39-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/original_examples.cpython-39-pytest-7.2.0.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/speed.cpython-310-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/speed.cpython-310.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/speed.cpython-37-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/speed.cpython-38-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/speed.cpython-39-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/terminal.cpython-310-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/terminal.cpython-310.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/terminal.cpython-37-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/terminal.cpython-38-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/terminal.cpython-39-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_backwards_compatibility.cpython-310-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_backwards_compatibility.cpython-37-pytest-7.2.0.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_backwards_compatibility.cpython-38-pytest-7.2.0.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_backwards_compatibility.cpython-39-pytest-7.2.0.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_custom_widgets.cpython-310-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_custom_widgets.cpython-310.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_custom_widgets.cpython-37-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_custom_widgets.cpython-37-pytest-7.2.0.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_custom_widgets.cpython-38-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_custom_widgets.cpython-38-pytest-7.2.0.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_custom_widgets.cpython-39-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_custom_widgets.cpython-39-pytest-7.2.0.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_data.cpython-310-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_data.cpython-310.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_data.cpython-37-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_data.cpython-37-pytest-7.2.0.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_data.cpython-38-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_data.cpython-38-pytest-7.2.0.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_data.cpython-39-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_data.cpython-39-pytest-7.2.0.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_data_transfer_bar.cpython-310-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_data_transfer_bar.cpython-310.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_data_transfer_bar.cpython-37-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_data_transfer_bar.cpython-37-pytest-7.2.0.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_data_transfer_bar.cpython-38-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_data_transfer_bar.cpython-38-pytest-7.2.0.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_data_transfer_bar.cpython-39-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_data_transfer_bar.cpython-39-pytest-7.2.0.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_empty.cpython-310-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_empty.cpython-310.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_empty.cpython-37-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_empty.cpython-37-pytest-7.2.0.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_empty.cpython-38-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_empty.cpython-38-pytest-7.2.0.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_empty.cpython-39-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_empty.cpython-39-pytest-7.2.0.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_end.cpython-310-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_end.cpython-310.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_end.cpython-37-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_end.cpython-37-pytest-7.2.0.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_end.cpython-38-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_end.cpython-38-pytest-7.2.0.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_end.cpython-39-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_end.cpython-39-pytest-7.2.0.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_failure.cpython-310-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_failure.cpython-310.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_failure.cpython-37-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_failure.cpython-37-pytest-7.2.0.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_failure.cpython-38-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_failure.cpython-38-pytest-7.2.0.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_failure.cpython-39-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_failure.cpython-39-pytest-7.2.0.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_flush.cpython-310-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_flush.cpython-310.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_flush.cpython-37-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_flush.cpython-37-pytest-7.2.0.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_flush.cpython-38-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_flush.cpython-38-pytest-7.2.0.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_flush.cpython-39-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_flush.cpython-39-pytest-7.2.0.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_iterators.cpython-310-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_iterators.cpython-310.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_iterators.cpython-37-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_iterators.cpython-37-pytest-7.2.0.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_iterators.cpython-38-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_iterators.cpython-38-pytest-7.2.0.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_iterators.cpython-39-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_iterators.cpython-39-pytest-7.2.0.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_large_values.cpython-310-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_large_values.cpython-310.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_large_values.cpython-37-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_large_values.cpython-37-pytest-7.2.0.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_large_values.cpython-38-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_large_values.cpython-38-pytest-7.2.0.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_large_values.cpython-39-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_large_values.cpython-39-pytest-7.2.0.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_misc.cpython-310-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_misc.cpython-310.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_misc.cpython-37-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_misc.cpython-37-pytest-7.2.0.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_misc.cpython-38-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_misc.cpython-38-pytest-7.2.0.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_misc.cpython-39-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_misc.cpython-39-pytest-7.2.0.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_monitor_progress.cpython-310-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_monitor_progress.cpython-310.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_monitor_progress.cpython-37-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_monitor_progress.cpython-37-pytest-7.2.0.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_monitor_progress.cpython-38-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_monitor_progress.cpython-38-pytest-7.2.0.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_monitor_progress.cpython-39-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_monitor_progress.cpython-39-pytest-7.2.0.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_multibar.cpython-310-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_multibar.cpython-310.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_multibar.cpython-37-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_multibar.cpython-37-pytest-7.2.0.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_multibar.cpython-38-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_multibar.cpython-38-pytest-7.2.0.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_multibar.cpython-39-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_multibar.cpython-39-pytest-7.2.0.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_progressbar.cpython-310-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_progressbar.cpython-310.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_progressbar.cpython-37-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_progressbar.cpython-37-pytest-7.2.0.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_progressbar.cpython-38-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_progressbar.cpython-38-pytest-7.2.0.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_progressbar.cpython-39-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_progressbar.cpython-39-pytest-7.2.0.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_samples.cpython-310-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_samples.cpython-310.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_samples.cpython-37-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_samples.cpython-37-pytest-7.2.0.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_samples.cpython-38-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_samples.cpython-38-pytest-7.2.0.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_samples.cpython-39-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_samples.cpython-39-pytest-7.2.0.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_speed.cpython-310-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_speed.cpython-310.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_speed.cpython-37-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_speed.cpython-37-pytest-7.2.0.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_speed.cpython-38-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_speed.cpython-38-pytest-7.2.0.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_speed.cpython-39-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_speed.cpython-39-pytest-7.2.0.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_stream.cpython-310-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_stream.cpython-310.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_stream.cpython-37-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_stream.cpython-37-pytest-7.2.0.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_stream.cpython-38-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_stream.cpython-38-pytest-7.2.0.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_stream.cpython-39-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_stream.cpython-39-pytest-7.2.0.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_terminal.cpython-310-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_terminal.cpython-310.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_terminal.cpython-37-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_terminal.cpython-37-pytest-7.2.0.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_terminal.cpython-38-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_terminal.cpython-38-pytest-7.2.0.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_terminal.cpython-39-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_terminal.cpython-39-pytest-7.2.0.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_timed.cpython-310-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_timed.cpython-310.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_timed.cpython-37-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_timed.cpython-37-pytest-7.2.0.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_timed.cpython-38-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_timed.cpython-38-pytest-7.2.0.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_timed.cpython-39-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_timed.cpython-39-pytest-7.2.0.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_timer.cpython-310-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_timer.cpython-310.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_timer.cpython-37-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_timer.cpython-37-pytest-7.2.0.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_timer.cpython-38-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_timer.cpython-38-pytest-7.2.0.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_timer.cpython-39-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_timer.cpython-39-pytest-7.2.0.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_unicode.cpython-310-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_unicode.cpython-310.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_unicode.cpython-37-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_unicode.cpython-37-pytest-7.2.0.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_unicode.cpython-38-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_unicode.cpython-38-pytest-7.2.0.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_unicode.cpython-39-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_unicode.cpython-39-pytest-7.2.0.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_unknown_length.cpython-310-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_unknown_length.cpython-310.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_unknown_length.cpython-37-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_unknown_length.cpython-37-pytest-7.2.0.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_unknown_length.cpython-38-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_unknown_length.cpython-38-pytest-7.2.0.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_unknown_length.cpython-39-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_unknown_length.cpython-39-pytest-7.2.0.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_utils.cpython-310-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_utils.cpython-310.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_utils.cpython-37-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_utils.cpython-37-pytest-7.2.0.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_utils.cpython-38-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_utils.cpython-38-pytest-7.2.0.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_utils.cpython-39-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_utils.cpython-39-pytest-7.2.0.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_widgets.cpython-310-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_widgets.cpython-310.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_widgets.cpython-37-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_widgets.cpython-37-pytest-7.2.0.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_widgets.cpython-38-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_widgets.cpython-38-pytest-7.2.0.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_widgets.cpython-39-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_widgets.cpython-39-pytest-7.2.0.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_with.cpython-310-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_with.cpython-310.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_with.cpython-37-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_with.cpython-37-pytest-7.2.0.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_with.cpython-38-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_with.cpython-38-pytest-7.2.0.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_with.cpython-39-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/test_with.cpython-39-pytest-7.2.0.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/timed.cpython-310-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/timed.cpython-310.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/timed.cpython-37-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/timed.cpython-38-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/timed.cpython-39-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/unicode.cpython-310-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/unicode.cpython-310.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/unicode.cpython-37-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/unicode.cpython-38-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/unicode.cpython-39-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/unknownlength.cpython-310-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/unknownlength.cpython-310.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/unknownlength.cpython-37-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/unknownlength.cpython-38-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/unknownlength.cpython-39-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/widgets.cpython-310-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/widgets.cpython-310.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/widgets.cpython-37-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/widgets.cpython-38-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/widgets.cpython-39-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/with.cpython-310-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/with.cpython-310.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/with.cpython-37-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/with.cpython-38-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/__pycache__/with.cpython-39-pytest-7.1.3.pyc +0 -0
- progressbar2-4.2.0/tests/htmlcov/.gitignore +0 -2
- progressbar2-4.2.0/tests/htmlcov/_Volumes_workspace_python-progressbar__tox_py27_lib_python2_7_site-packages_progressbar___about___py.html +0 -90
- progressbar2-4.2.0/tests/htmlcov/_Volumes_workspace_python-progressbar__tox_py27_lib_python2_7_site-packages_progressbar___init___py.html +0 -153
- progressbar2-4.2.0/tests/htmlcov/_Volumes_workspace_python-progressbar__tox_py27_lib_python2_7_site-packages_progressbar_bar_py.html +0 -894
- progressbar2-4.2.0/tests/htmlcov/_Volumes_workspace_python-progressbar__tox_py27_lib_python2_7_site-packages_progressbar_base_py.html +0 -86
- progressbar2-4.2.0/tests/htmlcov/_Volumes_workspace_python-progressbar__tox_py27_lib_python2_7_site-packages_progressbar_shortcuts_py.html +0 -76
- progressbar2-4.2.0/tests/htmlcov/_Volumes_workspace_python-progressbar__tox_py27_lib_python2_7_site-packages_progressbar_utils_py.html +0 -488
- progressbar2-4.2.0/tests/htmlcov/_Volumes_workspace_python-progressbar__tox_py27_lib_python2_7_site-packages_progressbar_widgets_py.html +0 -1138
- progressbar2-4.2.0/tests/htmlcov/_Volumes_workspace_python-progressbar__tox_py38_lib_python3_8_site-packages_progressbar___about___py.html +0 -90
- progressbar2-4.2.0/tests/htmlcov/_Volumes_workspace_python-progressbar__tox_py38_lib_python3_8_site-packages_progressbar___init___py.html +0 -153
- progressbar2-4.2.0/tests/htmlcov/_Volumes_workspace_python-progressbar__tox_py38_lib_python3_8_site-packages_progressbar_bar_py.html +0 -894
- progressbar2-4.2.0/tests/htmlcov/_Volumes_workspace_python-progressbar__tox_py38_lib_python3_8_site-packages_progressbar_base_py.html +0 -86
- progressbar2-4.2.0/tests/htmlcov/_Volumes_workspace_python-progressbar__tox_py38_lib_python3_8_site-packages_progressbar_shortcuts_py.html +0 -76
- progressbar2-4.2.0/tests/htmlcov/_Volumes_workspace_python-progressbar__tox_py38_lib_python3_8_site-packages_progressbar_utils_py.html +0 -488
- progressbar2-4.2.0/tests/htmlcov/_Volumes_workspace_python-progressbar__tox_py38_lib_python3_8_site-packages_progressbar_widgets_py.html +0 -1125
- progressbar2-4.2.0/tests/htmlcov/coverage_html.js +0 -604
- progressbar2-4.2.0/tests/htmlcov/d_18810ed2ef19928c___about___py.html +0 -122
- progressbar2-4.2.0/tests/htmlcov/d_18810ed2ef19928c___init___py.html +0 -173
- progressbar2-4.2.0/tests/htmlcov/d_18810ed2ef19928c_bar_py.html +0 -946
- progressbar2-4.2.0/tests/htmlcov/d_18810ed2ef19928c_base_py.html +0 -115
- progressbar2-4.2.0/tests/htmlcov/d_18810ed2ef19928c_shortcuts_py.html +0 -108
- progressbar2-4.2.0/tests/htmlcov/d_18810ed2ef19928c_utils_py.html +0 -532
- progressbar2-4.2.0/tests/htmlcov/d_18810ed2ef19928c_widgets_py.html +0 -1173
- progressbar2-4.2.0/tests/htmlcov/d_53776422c0a9f212___about___py.html +0 -95
- progressbar2-4.2.0/tests/htmlcov/d_53776422c0a9f212___init___py.html +0 -146
- progressbar2-4.2.0/tests/htmlcov/d_53776422c0a9f212_bar_py.html +0 -898
- progressbar2-4.2.0/tests/htmlcov/d_53776422c0a9f212_base_py.html +0 -88
- progressbar2-4.2.0/tests/htmlcov/d_53776422c0a9f212_shortcuts_py.html +0 -81
- progressbar2-4.2.0/tests/htmlcov/d_53776422c0a9f212_utils_py.html +0 -505
- progressbar2-4.2.0/tests/htmlcov/d_53776422c0a9f212_widgets_py.html +0 -1140
- progressbar2-4.2.0/tests/htmlcov/d_5b178ab2b5b862b9___about___py.html +0 -90
- progressbar2-4.2.0/tests/htmlcov/d_5b178ab2b5b862b9___init___py.html +0 -153
- progressbar2-4.2.0/tests/htmlcov/d_5b178ab2b5b862b9_bar_py.html +0 -894
- progressbar2-4.2.0/tests/htmlcov/d_5b178ab2b5b862b9_base_py.html +0 -86
- progressbar2-4.2.0/tests/htmlcov/d_5b178ab2b5b862b9_shortcuts_py.html +0 -76
- progressbar2-4.2.0/tests/htmlcov/d_5b178ab2b5b862b9_utils_py.html +0 -488
- progressbar2-4.2.0/tests/htmlcov/d_5b178ab2b5b862b9_widgets_py.html +0 -1125
- progressbar2-4.2.0/tests/htmlcov/d_61a71cd8cb75cfe5___about___py.html +0 -122
- progressbar2-4.2.0/tests/htmlcov/d_61a71cd8cb75cfe5___init___py.html +0 -173
- progressbar2-4.2.0/tests/htmlcov/d_61a71cd8cb75cfe5_bar_py.html +0 -946
- progressbar2-4.2.0/tests/htmlcov/d_61a71cd8cb75cfe5_base_py.html +0 -115
- progressbar2-4.2.0/tests/htmlcov/d_61a71cd8cb75cfe5_shortcuts_py.html +0 -108
- progressbar2-4.2.0/tests/htmlcov/d_61a71cd8cb75cfe5_utils_py.html +0 -532
- progressbar2-4.2.0/tests/htmlcov/d_61a71cd8cb75cfe5_widgets_py.html +0 -1173
- progressbar2-4.2.0/tests/htmlcov/d_63c73e8fa8c52c4f___about___py.html +0 -122
- progressbar2-4.2.0/tests/htmlcov/d_63c73e8fa8c52c4f___init___py.html +0 -173
- progressbar2-4.2.0/tests/htmlcov/d_63c73e8fa8c52c4f_bar_py.html +0 -946
- progressbar2-4.2.0/tests/htmlcov/d_63c73e8fa8c52c4f_base_py.html +0 -115
- progressbar2-4.2.0/tests/htmlcov/d_63c73e8fa8c52c4f_shortcuts_py.html +0 -108
- progressbar2-4.2.0/tests/htmlcov/d_63c73e8fa8c52c4f_utils_py.html +0 -532
- progressbar2-4.2.0/tests/htmlcov/d_63c73e8fa8c52c4f_widgets_py.html +0 -1173
- progressbar2-4.2.0/tests/htmlcov/d_a964a7e1adffd5da___about___py.html +0 -122
- progressbar2-4.2.0/tests/htmlcov/d_a964a7e1adffd5da___init___py.html +0 -173
- progressbar2-4.2.0/tests/htmlcov/d_a964a7e1adffd5da_bar_py.html +0 -946
- progressbar2-4.2.0/tests/htmlcov/d_a964a7e1adffd5da_base_py.html +0 -115
- progressbar2-4.2.0/tests/htmlcov/d_a964a7e1adffd5da_shortcuts_py.html +0 -108
- progressbar2-4.2.0/tests/htmlcov/d_a964a7e1adffd5da_utils_py.html +0 -532
- progressbar2-4.2.0/tests/htmlcov/d_a964a7e1adffd5da_widgets_py.html +0 -1173
- progressbar2-4.2.0/tests/htmlcov/favicon_32.png +0 -0
- progressbar2-4.2.0/tests/htmlcov/index.html +0 -193
- progressbar2-4.2.0/tests/htmlcov/jquery.ba-throttle-debounce.min.js +0 -9
- progressbar2-4.2.0/tests/htmlcov/jquery.hotkeys.js +0 -99
- progressbar2-4.2.0/tests/htmlcov/jquery.isonscreen.js +0 -53
- progressbar2-4.2.0/tests/htmlcov/jquery.min.js +0 -4
- progressbar2-4.2.0/tests/htmlcov/jquery.tablesorter.min.js +0 -2
- progressbar2-4.2.0/tests/htmlcov/keybd_closed.png +0 -0
- progressbar2-4.2.0/tests/htmlcov/keybd_open.png +0 -0
- progressbar2-4.2.0/tests/htmlcov/status.json +0 -1
- progressbar2-4.2.0/tests/htmlcov/style.css +0 -311
- progressbar2-4.2.0/tests/test_data.py +0 -21
- progressbar2-4.2.0/tests/test_monitor_progress.py +0 -243
- progressbar2-4.2.0/tests/test_multibar.py +0 -20
- progressbar2-4.2.0/tests/test_speed.py +0 -27
- progressbar2-4.2.0/tests/test_utils.py +0 -56
- {progressbar2-4.2.0 → progressbar2-4.3.0}/CHANGES.rst +0 -0
- {progressbar2-4.2.0 → progressbar2-4.3.0}/CONTRIBUTING.rst +0 -0
- {progressbar2-4.2.0 → progressbar2-4.3.0}/LICENSE +0 -0
- {progressbar2-4.2.0 → progressbar2-4.3.0}/progressbar2.egg-info/dependency_links.txt +0 -0
- {progressbar2-4.2.0 → progressbar2-4.3.0}/requirements.txt +0 -0
- {progressbar2-4.2.0 → progressbar2-4.3.0}/tests/requirements.txt +0 -0
- {progressbar2-4.2.0 → progressbar2-4.3.0}/tests/test_data_transfer_bar.py +0 -0
- {progressbar2-4.2.0 → progressbar2-4.3.0}/tests/test_misc.py +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
github: WoLpH
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
# Set to false to create a new comment instead of updating the app's first one
|
|
2
|
+
updateComment: true
|
|
3
|
+
|
|
4
|
+
# Use a custom string, or set to false to disable
|
|
5
|
+
before: "✨ Good work on this PR so far! ✨ Unfortunately, the [ build]() is failing as of . Here's the output:"
|
|
6
|
+
|
|
7
|
+
# Use a custom string, or set to false to disable
|
|
8
|
+
after: "I'm sure you can fix it! If you need help, don't hesitate to ask a maintainer of the project!"
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
name: "CodeQL"
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches: [ "develop" ]
|
|
6
|
+
pull_request:
|
|
7
|
+
branches: [ "develop" ]
|
|
8
|
+
schedule:
|
|
9
|
+
- cron: "24 21 * * 1"
|
|
10
|
+
|
|
11
|
+
jobs:
|
|
12
|
+
analyze:
|
|
13
|
+
name: Analyze
|
|
14
|
+
runs-on: ubuntu-latest
|
|
15
|
+
permissions:
|
|
16
|
+
actions: read
|
|
17
|
+
contents: read
|
|
18
|
+
security-events: write
|
|
19
|
+
|
|
20
|
+
strategy:
|
|
21
|
+
fail-fast: false
|
|
22
|
+
matrix:
|
|
23
|
+
language: [ python, javascript ]
|
|
24
|
+
|
|
25
|
+
steps:
|
|
26
|
+
- name: Checkout
|
|
27
|
+
uses: actions/checkout@v3
|
|
28
|
+
|
|
29
|
+
- name: Initialize CodeQL
|
|
30
|
+
uses: github/codeql-action/init@v2
|
|
31
|
+
with:
|
|
32
|
+
languages: ${{ matrix.language }}
|
|
33
|
+
queries: +security-and-quality
|
|
34
|
+
|
|
35
|
+
- name: Autobuild
|
|
36
|
+
uses: github/codeql-action/autobuild@v2
|
|
37
|
+
if: ${{ matrix.language == 'python' || matrix.language == 'javascript' }}
|
|
38
|
+
|
|
39
|
+
- name: Perform CodeQL Analysis
|
|
40
|
+
uses: github/codeql-action/analyze@v2
|
|
41
|
+
with:
|
|
42
|
+
category: "/language:${{ matrix.language }}"
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
name: tox
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
pull_request:
|
|
6
|
+
workflow_dispatch:
|
|
7
|
+
|
|
8
|
+
jobs:
|
|
9
|
+
build:
|
|
10
|
+
runs-on: ubuntu-latest
|
|
11
|
+
timeout-minutes: 10
|
|
12
|
+
strategy:
|
|
13
|
+
matrix:
|
|
14
|
+
python-version: ['3.8', '3.9', '3.10', '3.11']
|
|
15
|
+
|
|
16
|
+
steps:
|
|
17
|
+
- uses: actions/checkout@v3
|
|
18
|
+
- name: Set up Python ${{ matrix.python-version }}
|
|
19
|
+
uses: actions/setup-python@v4
|
|
20
|
+
with:
|
|
21
|
+
python-version: ${{ matrix.python-version }}
|
|
22
|
+
- name: Install dependencies
|
|
23
|
+
run: |
|
|
24
|
+
python -m pip install --upgrade pip tox
|
|
25
|
+
- name: Test with tox
|
|
26
|
+
run: tox
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
name: Close stale issues and pull requests
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
workflow_dispatch:
|
|
5
|
+
schedule:
|
|
6
|
+
- cron: '0 0 * * *' # Run every day at midnight
|
|
7
|
+
|
|
8
|
+
jobs:
|
|
9
|
+
stale:
|
|
10
|
+
runs-on: ubuntu-latest
|
|
11
|
+
steps:
|
|
12
|
+
- uses: actions/stale@v8
|
|
13
|
+
with:
|
|
14
|
+
days-before-stale: 30
|
|
15
|
+
exempt-issue-labels: in-progress,help-wanted,pinned,security,enhancement
|
|
16
|
+
exempt-all-pr-assignees: true
|
|
17
|
+
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# Byte-compiled / optimized / DLL files
|
|
2
|
+
__pycache__/
|
|
3
|
+
*.py[cod]
|
|
4
|
+
|
|
5
|
+
# C extensions
|
|
6
|
+
*.so
|
|
7
|
+
|
|
8
|
+
# Distribution / packaging
|
|
9
|
+
.Python
|
|
10
|
+
env/
|
|
11
|
+
build/
|
|
12
|
+
develop-eggs/
|
|
13
|
+
dist/
|
|
14
|
+
eggs/
|
|
15
|
+
lib/
|
|
16
|
+
lib64/
|
|
17
|
+
parts/
|
|
18
|
+
sdist/
|
|
19
|
+
var/
|
|
20
|
+
*.egg-info/
|
|
21
|
+
.installed.cfg
|
|
22
|
+
*.egg
|
|
23
|
+
|
|
24
|
+
# Installer logs
|
|
25
|
+
pip-log.txt
|
|
26
|
+
pip-delete-this-directory.txt
|
|
27
|
+
|
|
28
|
+
# Unit test / coverage reports
|
|
29
|
+
htmlcov/
|
|
30
|
+
.tox/
|
|
31
|
+
.coverage
|
|
32
|
+
.cache
|
|
33
|
+
nosetests.xml
|
|
34
|
+
coverage.xml
|
|
35
|
+
|
|
36
|
+
# Translations
|
|
37
|
+
*.mo
|
|
38
|
+
*.pot
|
|
39
|
+
|
|
40
|
+
# Django stuff:
|
|
41
|
+
*.log
|
|
42
|
+
|
|
43
|
+
# Sphinx documentation
|
|
44
|
+
docs/_build/
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# See https://pre-commit.com for more information
|
|
2
|
+
# See https://pre-commit.com/hooks.html for more hooks
|
|
3
|
+
repos:
|
|
4
|
+
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
5
|
+
rev: v2.4.0
|
|
6
|
+
hooks:
|
|
7
|
+
- id: trailing-whitespace
|
|
8
|
+
- id: check-yaml
|
|
9
|
+
- id: check-added-large-files
|
|
10
|
+
|
|
11
|
+
- repo: https://gitlab.com/pycqa/flake8
|
|
12
|
+
rev: 3.7.9
|
|
13
|
+
hooks:
|
|
14
|
+
- id: flake8
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
#### Description
|
|
2
|
+
|
|
3
|
+
Description of the problem
|
|
4
|
+
|
|
5
|
+
#### Code
|
|
6
|
+
|
|
7
|
+
If applicable, code to reproduce the issue and/or the stacktrace of the issue
|
|
8
|
+
|
|
9
|
+
#### Versions
|
|
10
|
+
|
|
11
|
+
- Python version: `import sys; print(sys.version)`
|
|
12
|
+
- Python distribution/environment: CPython/Anaconda/IPython/IDLE
|
|
13
|
+
- Operating System: Windows 10, Ubuntu Linux, etc.
|
|
14
|
+
- Package version: `import progressbar; print(progressbar.__version__)`
|
|
15
|
+
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
recursive-exclude *.pyc
|
|
2
|
+
recursive-exclude *.pyo
|
|
3
|
+
recursive-exclude *.html
|
|
1
4
|
include AUTHORS.rst
|
|
2
5
|
include CHANGES.rst
|
|
3
6
|
include CONTRIBUTING.rst
|
|
@@ -7,6 +10,3 @@ include examples.py
|
|
|
7
10
|
include requirements.txt
|
|
8
11
|
include Makefile
|
|
9
12
|
include pytest.ini
|
|
10
|
-
recursive-include tests *
|
|
11
|
-
recursive-exclude *.pyc
|
|
12
|
-
recursive-exclude *.pyo
|
|
@@ -24,7 +24,7 @@ clean-pyc:
|
|
|
24
24
|
find . -name '*~' -exec rm -f {} +
|
|
25
25
|
|
|
26
26
|
lint:
|
|
27
|
-
|
|
27
|
+
ruff progressbar tests
|
|
28
28
|
|
|
29
29
|
test:
|
|
30
30
|
py.test
|
|
@@ -46,10 +46,6 @@ docs:
|
|
|
46
46
|
$(MAKE) -C docs html
|
|
47
47
|
open docs/_build/html/index.html
|
|
48
48
|
|
|
49
|
-
|
|
50
|
-
python
|
|
51
|
-
python setup.py sdist upload build_sphinx upload_sphinx
|
|
52
|
-
|
|
53
|
-
sdist: clean
|
|
54
|
-
python setup.py sdist
|
|
49
|
+
build:
|
|
50
|
+
python -m build
|
|
55
51
|
ls -l dist
|
|
@@ -1,25 +1,83 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: progressbar2
|
|
3
|
-
Version: 4.
|
|
3
|
+
Version: 4.3.0
|
|
4
4
|
Summary: A Python Progressbar library to provide visual (yet text based) progress to long running operations.
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
5
|
+
Author-email: "Rick van Hattem (Wolph)" <wolph@wol.ph>
|
|
6
|
+
License: BSD-3-Clause
|
|
7
|
+
Project-URL: bugs, https://github.com/wolph/python-progressbar/issues
|
|
8
|
+
Project-URL: documentation, https://progressbar-2.readthedocs.io/en/latest/
|
|
9
|
+
Project-URL: repository, https://github.com/wolph/python-progressbar/
|
|
10
|
+
Keywords: REPL,animated,bar,color,console,duration,efficient,elapsed,eta,feedback,live,meter,monitor,monitoring,multi-threaded,progress,progress-bar,progressbar,progressmeter,python,rate,simple,speed,spinner,stats,terminal,throughput,time,visual
|
|
11
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
10
12
|
Classifier: Development Status :: 6 - Mature
|
|
13
|
+
Classifier: Environment :: Console
|
|
14
|
+
Classifier: Environment :: MacOS X
|
|
15
|
+
Classifier: Environment :: Other Environment
|
|
16
|
+
Classifier: Environment :: Win32 (MS Windows)
|
|
17
|
+
Classifier: Environment :: X11 Applications
|
|
18
|
+
Classifier: Framework :: IPython
|
|
19
|
+
Classifier: Framework :: Jupyter
|
|
11
20
|
Classifier: Intended Audience :: Developers
|
|
21
|
+
Classifier: Intended Audience :: Education
|
|
22
|
+
Classifier: Intended Audience :: End Users/Desktop
|
|
23
|
+
Classifier: Intended Audience :: Other Audience
|
|
24
|
+
Classifier: Intended Audience :: System Administrators
|
|
12
25
|
Classifier: License :: OSI Approved :: BSD License
|
|
13
26
|
Classifier: Natural Language :: English
|
|
14
|
-
Classifier:
|
|
27
|
+
Classifier: Operating System :: MacOS :: MacOS X
|
|
28
|
+
Classifier: Operating System :: MacOS
|
|
29
|
+
Classifier: Operating System :: Microsoft :: MS-DOS
|
|
30
|
+
Classifier: Operating System :: Microsoft :: Windows
|
|
31
|
+
Classifier: Operating System :: Microsoft
|
|
32
|
+
Classifier: Operating System :: POSIX :: BSD :: FreeBSD
|
|
33
|
+
Classifier: Operating System :: POSIX :: BSD
|
|
34
|
+
Classifier: Operating System :: POSIX :: Linux
|
|
35
|
+
Classifier: Operating System :: POSIX :: SunOS/Solaris
|
|
36
|
+
Classifier: Operating System :: POSIX
|
|
37
|
+
Classifier: Operating System :: Unix
|
|
38
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
39
|
+
Classifier: Programming Language :: Python :: 3
|
|
40
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
41
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
42
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
15
43
|
Classifier: Programming Language :: Python :: 3.8
|
|
16
44
|
Classifier: Programming Language :: Python :: 3.9
|
|
17
|
-
Classifier: Programming Language :: Python ::
|
|
45
|
+
Classifier: Programming Language :: Python :: Implementation :: IronPython
|
|
18
46
|
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
|
19
|
-
|
|
47
|
+
Classifier: Programming Language :: Python :: Implementation
|
|
48
|
+
Classifier: Programming Language :: Python
|
|
49
|
+
Classifier: Programming Language :: Unix Shell
|
|
50
|
+
Classifier: Topic :: Desktop Environment
|
|
51
|
+
Classifier: Topic :: Education :: Computer Aided Instruction (CAI)
|
|
52
|
+
Classifier: Topic :: Education :: Testing
|
|
53
|
+
Classifier: Topic :: Office/Business
|
|
54
|
+
Classifier: Topic :: Other/Nonlisted Topic
|
|
55
|
+
Classifier: Topic :: Software Development :: Build Tools
|
|
56
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
57
|
+
Classifier: Topic :: Software Development :: Libraries
|
|
58
|
+
Classifier: Topic :: Software Development :: Pre-processors
|
|
59
|
+
Classifier: Topic :: Software Development :: User Interfaces
|
|
60
|
+
Classifier: Topic :: System :: Installation/Setup
|
|
61
|
+
Classifier: Topic :: System :: Logging
|
|
62
|
+
Classifier: Topic :: System :: Monitoring
|
|
63
|
+
Classifier: Topic :: System :: Shells
|
|
64
|
+
Classifier: Topic :: Terminals
|
|
65
|
+
Classifier: Topic :: Utilities
|
|
66
|
+
Requires-Python: >=3.8
|
|
67
|
+
Description-Content-Type: text/x-rst
|
|
68
|
+
License-File: LICENSE
|
|
69
|
+
Requires-Dist: python-utils>=3.8.1
|
|
20
70
|
Provides-Extra: docs
|
|
71
|
+
Requires-Dist: sphinx>=1.8.5; extra == "docs"
|
|
72
|
+
Requires-Dist: sphinx-autodoc-typehints>=1.6.0; extra == "docs"
|
|
21
73
|
Provides-Extra: tests
|
|
22
|
-
|
|
74
|
+
Requires-Dist: dill>=0.3.6; extra == "tests"
|
|
75
|
+
Requires-Dist: flake8>=3.7.7; extra == "tests"
|
|
76
|
+
Requires-Dist: freezegun>=0.3.11; extra == "tests"
|
|
77
|
+
Requires-Dist: pytest-cov>=2.6.1; extra == "tests"
|
|
78
|
+
Requires-Dist: pytest-mypy; extra == "tests"
|
|
79
|
+
Requires-Dist: pytest>=4.6.9; extra == "tests"
|
|
80
|
+
Requires-Dist: sphinx>=1.8.5; extra == "tests"
|
|
23
81
|
|
|
24
82
|
##############################################################################
|
|
25
83
|
Text progress bar library for Python.
|
|
@@ -95,13 +153,19 @@ The progressbar module is very easy to use, yet very powerful. It will also
|
|
|
95
153
|
automatically enable features like auto-resizing when the system supports it.
|
|
96
154
|
|
|
97
155
|
******************************************************************************
|
|
98
|
-
|
|
156
|
+
Security contact information
|
|
99
157
|
******************************************************************************
|
|
100
158
|
|
|
101
|
-
|
|
159
|
+
To report a security vulnerability, please use the
|
|
160
|
+
`Tidelift security contact <https://tidelift.com/security>`_.
|
|
161
|
+
Tidelift will coordinate the fix and disclosure.
|
|
102
162
|
|
|
163
|
+
******************************************************************************
|
|
164
|
+
Known issues
|
|
165
|
+
******************************************************************************
|
|
166
|
+
|
|
167
|
+
- The Jetbrains (PyCharm, etc) editors work out of the box, but for more advanced features such as the `MultiBar` support you will need to enable the "Enable terminal in output console" checkbox in the Run dialog.
|
|
103
168
|
- The IDLE editor doesn't support these types of progress bars at all: https://bugs.python.org/issue23220
|
|
104
|
-
- The Jetbrains (Pycharm) editors partially work but break with fast output. As a workaround make sure you only write to either `sys.stdout` (regular print) or `sys.stderr` at the same time. If you do plan to use both, make sure you wait about ~200 milliseconds for the next output or it will break regularly. Linked issue: https://github.com/WoLpH/python-progressbar/issues/115
|
|
105
169
|
- Jupyter notebooks buffer `sys.stdout` which can cause mixed output. This issue can be resolved easily using: `import sys; sys.stdout.flush()`. Linked issue: https://github.com/WoLpH/python-progressbar/issues/173
|
|
106
170
|
|
|
107
171
|
******************************************************************************
|
|
@@ -175,6 +239,38 @@ In most cases the following will work as well, as long as you initialize the
|
|
|
175
239
|
logging.error('Got %d', i)
|
|
176
240
|
time.sleep(0.2)
|
|
177
241
|
|
|
242
|
+
Multiple (threaded) progressbars
|
|
243
|
+
==============================================================================
|
|
244
|
+
|
|
245
|
+
.. code:: python
|
|
246
|
+
|
|
247
|
+
import random
|
|
248
|
+
import threading
|
|
249
|
+
import time
|
|
250
|
+
|
|
251
|
+
import progressbar
|
|
252
|
+
|
|
253
|
+
BARS = 5
|
|
254
|
+
N = 50
|
|
255
|
+
|
|
256
|
+
|
|
257
|
+
def do_something(bar):
|
|
258
|
+
for i in bar(range(N)):
|
|
259
|
+
# Sleep up to 0.1 seconds
|
|
260
|
+
time.sleep(random.random() * 0.1)
|
|
261
|
+
|
|
262
|
+
# print messages at random intervals to show how extra output works
|
|
263
|
+
if random.random() > 0.9:
|
|
264
|
+
bar.print('random message for bar', bar, i)
|
|
265
|
+
|
|
266
|
+
|
|
267
|
+
with progressbar.MultiBar() as multibar:
|
|
268
|
+
for i in range(BARS):
|
|
269
|
+
# Get a progressbar
|
|
270
|
+
bar = multibar[f'Thread label here {i}']
|
|
271
|
+
# Create a thread and pass the progressbar
|
|
272
|
+
threading.Thread(target=do_something, args=(bar,)).start()
|
|
273
|
+
|
|
178
274
|
Context wrapper
|
|
179
275
|
==============================================================================
|
|
180
276
|
.. code:: python
|
|
@@ -261,55 +357,72 @@ Bar with wide Chinese (or other multibyte) characters
|
|
|
261
357
|
for i in bar(range(10)):
|
|
262
358
|
time.sleep(0.1)
|
|
263
359
|
|
|
264
|
-
Showing multiple
|
|
360
|
+
Showing multiple independent progress bars in parallel
|
|
265
361
|
==============================================================================
|
|
266
362
|
|
|
267
|
-
While this method works fine and will continue to work fine, a smarter and
|
|
268
|
-
fully automatic version of this is currently being made:
|
|
269
|
-
https://github.com/WoLpH/python-progressbar/issues/176
|
|
270
|
-
|
|
271
363
|
.. code:: python
|
|
272
364
|
|
|
273
365
|
import random
|
|
274
366
|
import sys
|
|
275
|
-
import threading
|
|
276
367
|
import time
|
|
277
368
|
|
|
278
369
|
import progressbar
|
|
279
370
|
|
|
280
|
-
|
|
371
|
+
BARS = 5
|
|
372
|
+
N = 100
|
|
281
373
|
|
|
374
|
+
# Construct the list of progress bars with the `line_offset` so they draw
|
|
375
|
+
# below each other
|
|
376
|
+
bars = []
|
|
377
|
+
for i in range(BARS):
|
|
378
|
+
bars.append(
|
|
379
|
+
progressbar.ProgressBar(
|
|
380
|
+
max_value=N,
|
|
381
|
+
# We add 1 to the line offset to account for the `print_fd`
|
|
382
|
+
line_offset=i + 1,
|
|
383
|
+
max_error=False,
|
|
384
|
+
)
|
|
385
|
+
)
|
|
282
386
|
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
DOWN = '\033[B'
|
|
387
|
+
# Create a file descriptor for regular printing as well
|
|
388
|
+
print_fd = progressbar.LineOffsetStreamWrapper(sys.stdout, 0)
|
|
286
389
|
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
390
|
+
# The progress bar updates, normally you would do something useful here
|
|
391
|
+
for i in range(N * BARS):
|
|
392
|
+
time.sleep(0.005)
|
|
290
393
|
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
self.stream.write(self.UP * self.lines)
|
|
294
|
-
self.stream.write(data)
|
|
295
|
-
self.stream.write(self.DOWN * self.lines)
|
|
296
|
-
self.stream.flush()
|
|
394
|
+
# Increment one of the progress bars at random
|
|
395
|
+
bars[random.randrange(0, BARS)].increment()
|
|
297
396
|
|
|
298
|
-
|
|
299
|
-
|
|
397
|
+
# Print a status message to the `print_fd` below the progress bars
|
|
398
|
+
print(f'Hi, we are at update {i+1} of {N * BARS}', file=print_fd)
|
|
300
399
|
|
|
400
|
+
# Cleanup the bars
|
|
401
|
+
for bar in bars:
|
|
402
|
+
bar.finish()
|
|
301
403
|
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
fd=LineOffsetStreamWrapper(i),
|
|
307
|
-
max_value=1000,
|
|
308
|
-
)
|
|
309
|
-
)
|
|
404
|
+
# Add a newline to make sure the next print starts on a new line
|
|
405
|
+
print()
|
|
406
|
+
|
|
407
|
+
******************************************************************************
|
|
310
408
|
|
|
311
|
-
|
|
312
|
-
|
|
409
|
+
Naturally we can do this from separate threads as well:
|
|
410
|
+
|
|
411
|
+
.. code:: python
|
|
412
|
+
|
|
413
|
+
import random
|
|
414
|
+
import threading
|
|
415
|
+
import time
|
|
416
|
+
|
|
417
|
+
import progressbar
|
|
418
|
+
|
|
419
|
+
BARS = 5
|
|
420
|
+
N = 100
|
|
421
|
+
|
|
422
|
+
# Create the bars with the given line offset
|
|
423
|
+
bars = []
|
|
424
|
+
for line_offset in range(BARS):
|
|
425
|
+
bars.append(progressbar.ProgressBar(line_offset=line_offset, max_value=N))
|
|
313
426
|
|
|
314
427
|
|
|
315
428
|
class Worker(threading.Thread):
|
|
@@ -318,10 +431,12 @@ https://github.com/WoLpH/python-progressbar/issues/176
|
|
|
318
431
|
self.bar = bar
|
|
319
432
|
|
|
320
433
|
def run(self):
|
|
321
|
-
for i in range(
|
|
322
|
-
time.sleep(random.random() /
|
|
434
|
+
for i in range(N):
|
|
435
|
+
time.sleep(random.random() / 25)
|
|
323
436
|
self.bar.update(i)
|
|
324
437
|
|
|
325
438
|
|
|
326
439
|
for bar in bars:
|
|
327
440
|
Worker(bar).start()
|
|
441
|
+
|
|
442
|
+
print()
|