progressbar2 4.7.0__tar.gz → 4.7.1__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.
Files changed (378) hide show
  1. progressbar2-4.7.1/.github/dependabot.yml +29 -0
  2. {progressbar2-4.7.0 → progressbar2-4.7.1}/.github/workflows/codeql.yml +1 -1
  3. {progressbar2-4.7.0 → progressbar2-4.7.1}/.github/workflows/docs.yml +3 -3
  4. {progressbar2-4.7.0 → progressbar2-4.7.1}/.github/workflows/main.yml +6 -6
  5. {progressbar2-4.7.0 → progressbar2-4.7.1}/.github/workflows/release.yml +4 -4
  6. progressbar2-4.7.1/.github/workflows/sign.yml +217 -0
  7. {progressbar2-4.7.0 → progressbar2-4.7.1}/.github/workflows/stale.yml +1 -1
  8. {progressbar2-4.7.0 → progressbar2-4.7.1}/CHANGES.rst +20 -0
  9. {progressbar2-4.7.0 → progressbar2-4.7.1}/PKG-INFO +2 -1
  10. progressbar2-4.7.1/SECURITY.md +18 -0
  11. {progressbar2-4.7.0 → progressbar2-4.7.1}/benchmarks/requirements.txt +3 -3
  12. progressbar2-4.7.1/docs/requirements.txt +2 -0
  13. {progressbar2-4.7.0 → progressbar2-4.7.1}/progressbar/__about__.py +2 -2
  14. {progressbar2-4.7.0 → progressbar2-4.7.1}/progressbar/multi.py +54 -3
  15. {progressbar2-4.7.0 → progressbar2-4.7.1}/progressbar/utils.py +51 -16
  16. {progressbar2-4.7.0 → progressbar2-4.7.1}/progressbar2.egg-info/PKG-INFO +2 -1
  17. {progressbar2-4.7.0 → progressbar2-4.7.1}/progressbar2.egg-info/SOURCES.txt +3 -0
  18. {progressbar2-4.7.0 → progressbar2-4.7.1}/pyproject.toml +1 -0
  19. {progressbar2-4.7.0 → progressbar2-4.7.1}/tests/test_multibar.py +133 -0
  20. {progressbar2-4.7.0 → progressbar2-4.7.1}/tests/test_stream_security.py +108 -3
  21. progressbar2-4.7.0/docs/requirements.txt +0 -2
  22. {progressbar2-4.7.0 → progressbar2-4.7.1}/.github/FUNDING.yml +0 -0
  23. {progressbar2-4.7.0 → progressbar2-4.7.1}/.github/ISSUE_TEMPLATE.md +0 -0
  24. {progressbar2-4.7.0 → progressbar2-4.7.1}/.github/ci-reporter.yml +0 -0
  25. {progressbar2-4.7.0 → progressbar2-4.7.1}/.github/workflows/autofix.yml +0 -0
  26. {progressbar2-4.7.0 → progressbar2-4.7.1}/.gitignore +0 -0
  27. {progressbar2-4.7.0 → progressbar2-4.7.1}/.npmrc +0 -0
  28. {progressbar2-4.7.0 → progressbar2-4.7.1}/.pre-commit-config.yaml +0 -0
  29. {progressbar2-4.7.0 → progressbar2-4.7.1}/.readthedocs.yaml +0 -0
  30. {progressbar2-4.7.0 → progressbar2-4.7.1}/AGENTS.md +0 -0
  31. {progressbar2-4.7.0 → progressbar2-4.7.1}/CONTRIBUTING.rst +0 -0
  32. {progressbar2-4.7.0 → progressbar2-4.7.1}/LICENSE +0 -0
  33. {progressbar2-4.7.0 → progressbar2-4.7.1}/MANIFEST.in +0 -0
  34. {progressbar2-4.7.0 → progressbar2-4.7.1}/README.md +0 -0
  35. {progressbar2-4.7.0 → progressbar2-4.7.1}/benchmarks/bench.py +0 -0
  36. {progressbar2-4.7.0 → progressbar2-4.7.1}/benchmarks/chart.png +0 -0
  37. {progressbar2-4.7.0 → progressbar2-4.7.1}/benchmarks/report.md +0 -0
  38. {progressbar2-4.7.0 → progressbar2-4.7.1}/benchmarks/report.py +0 -0
  39. {progressbar2-4.7.0 → progressbar2-4.7.1}/benchmarks/results.json +0 -0
  40. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/.gitignore +0 -0
  41. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/Makefile +0 -0
  42. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/_ext/__init__.py +0 -0
  43. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/_ext/demo.py +0 -0
  44. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/_ext/page_assets.py +0 -0
  45. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/_static/brand.css +0 -0
  46. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/_static/demos/homepage-quickstart.svg +0 -0
  47. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/_static/demos/howto-colors.svg +0 -0
  48. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/_static/demos/howto-custom-widget.svg +0 -0
  49. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/_static/demos/howto-dynamic-messages.svg +0 -0
  50. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/_static/demos/howto-file-transfer.svg +0 -0
  51. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/_static/demos/howto-iterable-wrapper.svg +0 -0
  52. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/_static/demos/howto-logging-integration.svg +0 -0
  53. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/_static/demos/howto-multibar-line-offset.svg +0 -0
  54. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/_static/demos/howto-multibar.svg +0 -0
  55. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/_static/demos/howto-non-tty.svg +0 -0
  56. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/_static/demos/howto-parallel-execution.svg +0 -0
  57. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/_static/demos/howto-prefix-suffix.svg +0 -0
  58. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/_static/demos/howto-redirect-stdout.svg +0 -0
  59. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/_static/demos/howto-tqdm-style.svg +0 -0
  60. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/_static/demos/howto-unknown-length.svg +0 -0
  61. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/_static/demos/readme-cli.svg +0 -0
  62. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/_static/demos/readme-colors.svg +0 -0
  63. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/_static/demos/readme-hero.svg +0 -0
  64. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/_static/demos/readme-multibar.svg +0 -0
  65. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/_static/demos/readme-parallel.svg +0 -0
  66. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/_static/demos/readme-race.svg +0 -0
  67. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/_static/demos/readme-unknown-length.svg +0 -0
  68. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/_static/demos/tutorial-step1.svg +0 -0
  69. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/_static/demos/tutorial-step2.svg +0 -0
  70. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/_static/demos/tutorial-step3.svg +0 -0
  71. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/_static/demos/tutorial-step4.svg +0 -0
  72. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/_static/demos/tutorial-step5.svg +0 -0
  73. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/_static/demos/widgets-absolute-eta.svg +0 -0
  74. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/_static/demos/widgets-adaptive-eta.svg +0 -0
  75. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/_static/demos/widgets-adaptive-transfer-speed.svg +0 -0
  76. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/_static/demos/widgets-animated-marker.svg +0 -0
  77. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/_static/demos/widgets-bar.svg +0 -0
  78. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/_static/demos/widgets-bouncing-bar.svg +0 -0
  79. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/_static/demos/widgets-counter.svg +0 -0
  80. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/_static/demos/widgets-current-time.svg +0 -0
  81. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/_static/demos/widgets-data-size.svg +0 -0
  82. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/_static/demos/widgets-dynamic-message.svg +0 -0
  83. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/_static/demos/widgets-eta.svg +0 -0
  84. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/_static/demos/widgets-file-transfer-speed.svg +0 -0
  85. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/_static/demos/widgets-format-custom-text.svg +0 -0
  86. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/_static/demos/widgets-format-label-bar.svg +0 -0
  87. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/_static/demos/widgets-format-label.svg +0 -0
  88. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/_static/demos/widgets-granular-bar.svg +0 -0
  89. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/_static/demos/widgets-job-status-bar.svg +0 -0
  90. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/_static/demos/widgets-multi-progress-bar.svg +0 -0
  91. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/_static/demos/widgets-multi-range-bar.svg +0 -0
  92. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/_static/demos/widgets-percentage-label-bar.svg +0 -0
  93. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/_static/demos/widgets-percentage.svg +0 -0
  94. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/_static/demos/widgets-postfix.svg +0 -0
  95. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/_static/demos/widgets-reverse-bar.svg +0 -0
  96. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/_static/demos/widgets-rotating-marker.svg +0 -0
  97. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/_static/demos/widgets-simple-progress.svg +0 -0
  98. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/_static/demos/widgets-smoothing-eta.svg +0 -0
  99. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/_static/demos/widgets-timer.svg +0 -0
  100. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/_static/demos/widgets-unit-progress.svg +0 -0
  101. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/_static/demos/widgets-variable.svg +0 -0
  102. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/_static/guide-cards.css +0 -0
  103. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/_static/home.css +0 -0
  104. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/_static/livecode/livecode.css +0 -0
  105. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/_static/livecode/livecode.js +0 -0
  106. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/_static/livecode/worker.js +0 -0
  107. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/_static/section-pages.css +0 -0
  108. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/_static/showcase.js +0 -0
  109. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/_static/vendor/LICENSE-addon-fit.txt +0 -0
  110. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/_static/vendor/LICENSE-xterm.txt +0 -0
  111. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/_static/vendor/README.md +0 -0
  112. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/_static/vendor/addon-fit.js +0 -0
  113. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/_static/vendor/addon-fit.js.map +0 -0
  114. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/_static/vendor/xterm.css +0 -0
  115. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/_static/vendor/xterm.js +0 -0
  116. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/_templates/page.html +0 -0
  117. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/conf.py +0 -0
  118. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/contributing.rst +0 -0
  119. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/examples/__init__.py +0 -0
  120. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/examples/_loader.py +0 -0
  121. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/examples/_registry.py +0 -0
  122. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/examples/homepage/__init__.py +0 -0
  123. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/examples/homepage/quickstart.py +0 -0
  124. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/examples/howto/__init__.py +0 -0
  125. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/examples/howto/colors.py +0 -0
  126. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/examples/howto/custom_widget.py +0 -0
  127. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/examples/howto/dynamic_messages.py +0 -0
  128. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/examples/howto/file_transfer.py +0 -0
  129. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/examples/howto/iterable_wrapper.py +0 -0
  130. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/examples/howto/logging_integration.py +0 -0
  131. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/examples/howto/multibar.py +0 -0
  132. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/examples/howto/multibar_line_offset.py +0 -0
  133. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/examples/howto/non_tty.py +0 -0
  134. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/examples/howto/parallel_execution.py +0 -0
  135. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/examples/howto/prefix_suffix.py +0 -0
  136. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/examples/howto/redirect_stdout.py +0 -0
  137. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/examples/howto/tqdm_style.py +0 -0
  138. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/examples/howto/unknown_length.py +0 -0
  139. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/examples/readme/__init__.py +0 -0
  140. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/examples/readme/cli.py +0 -0
  141. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/examples/readme/colors.py +0 -0
  142. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/examples/readme/hero.py +0 -0
  143. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/examples/readme/multibar.py +0 -0
  144. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/examples/readme/parallel.py +0 -0
  145. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/examples/readme/unknown_length.py +0 -0
  146. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/examples/tutorial/__init__.py +0 -0
  147. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/examples/tutorial/step1.py +0 -0
  148. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/examples/tutorial/step2.py +0 -0
  149. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/examples/tutorial/step3.py +0 -0
  150. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/examples/tutorial/step4.py +0 -0
  151. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/examples/tutorial/step5.py +0 -0
  152. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/examples/widgets/__init__.py +0 -0
  153. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/examples/widgets/absolute_eta.py +0 -0
  154. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/examples/widgets/adaptive_eta.py +0 -0
  155. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/examples/widgets/adaptive_transfer_speed.py +0 -0
  156. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/examples/widgets/animated_marker.py +0 -0
  157. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/examples/widgets/bar.py +0 -0
  158. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/examples/widgets/bouncing_bar.py +0 -0
  159. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/examples/widgets/counter.py +0 -0
  160. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/examples/widgets/current_time.py +0 -0
  161. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/examples/widgets/data_size.py +0 -0
  162. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/examples/widgets/dynamic_message.py +0 -0
  163. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/examples/widgets/eta.py +0 -0
  164. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/examples/widgets/file_transfer_speed.py +0 -0
  165. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/examples/widgets/format_custom_text.py +0 -0
  166. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/examples/widgets/format_label.py +0 -0
  167. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/examples/widgets/format_label_bar.py +0 -0
  168. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/examples/widgets/granular_bar.py +0 -0
  169. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/examples/widgets/job_status_bar.py +0 -0
  170. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/examples/widgets/multi_progress_bar.py +0 -0
  171. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/examples/widgets/multi_range_bar.py +0 -0
  172. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/examples/widgets/percentage.py +0 -0
  173. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/examples/widgets/percentage_label_bar.py +0 -0
  174. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/examples/widgets/postfix.py +0 -0
  175. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/examples/widgets/reverse_bar.py +0 -0
  176. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/examples/widgets/rotating_marker.py +0 -0
  177. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/examples/widgets/simple_progress.py +0 -0
  178. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/examples/widgets/smoothing_eta.py +0 -0
  179. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/examples/widgets/timer.py +0 -0
  180. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/examples/widgets/unit_progress.py +0 -0
  181. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/examples/widgets/variable.py +0 -0
  182. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/examples.rst +0 -0
  183. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/explanation/backwards-compatibility.rst +0 -0
  184. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/explanation/index.rst +0 -0
  185. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/explanation/performance-and-the-fast-path.rst +0 -0
  186. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/explanation/rendering-and-the-update-gate.rst +0 -0
  187. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/explanation/terminal-detection.rst +0 -0
  188. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/history.rst +0 -0
  189. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/howto/colors.rst +0 -0
  190. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/howto/custom-widget.rst +0 -0
  191. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/howto/dynamic-messages.rst +0 -0
  192. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/howto/file-transfer.rst +0 -0
  193. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/howto/index.rst +0 -0
  194. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/howto/iterable-wrapper.rst +0 -0
  195. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/howto/logging-integration.rst +0 -0
  196. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/howto/multibar-line-offset.rst +0 -0
  197. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/howto/multibar.rst +0 -0
  198. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/howto/non-tty.rst +0 -0
  199. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/howto/parallel-execution.rst +0 -0
  200. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/howto/prefix-suffix.rst +0 -0
  201. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/howto/redirect-stdout.rst +0 -0
  202. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/howto/tqdm-style.rst +0 -0
  203. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/howto/unknown-length.rst +0 -0
  204. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/index.rst +0 -0
  205. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/installation.rst +0 -0
  206. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/major-version-backlog.md +0 -0
  207. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/make.bat +0 -0
  208. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/progressbar.algorithms.rst +0 -0
  209. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/progressbar.bar.rst +0 -0
  210. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/progressbar.base.rst +0 -0
  211. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/progressbar.env.rst +0 -0
  212. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/progressbar.fast.rst +0 -0
  213. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/progressbar.multi.rst +0 -0
  214. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/progressbar.rst +0 -0
  215. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/progressbar.shortcuts.rst +0 -0
  216. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/progressbar.terminal.base.rst +0 -0
  217. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/progressbar.terminal.colors.rst +0 -0
  218. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/progressbar.terminal.rst +0 -0
  219. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/progressbar.terminal.stream.rst +0 -0
  220. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/progressbar.utils.rst +0 -0
  221. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/progressbar.widgets.rst +0 -0
  222. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/reference/cli.rst +0 -0
  223. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/reference/index.rst +0 -0
  224. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/reference/multibar.rst +0 -0
  225. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/reference/parallel.rst +0 -0
  226. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/reference/progressbar.rst +0 -0
  227. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/sponsor.rst +0 -0
  228. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/tutorial/index.rst +0 -0
  229. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/tutorial/step1.rst +0 -0
  230. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/tutorial/step2.rst +0 -0
  231. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/tutorial/step3.rst +0 -0
  232. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/tutorial/step4.rst +0 -0
  233. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/tutorial/step5.rst +0 -0
  234. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/usage.rst +0 -0
  235. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/widgets/absolute-eta.rst +0 -0
  236. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/widgets/adaptive-eta.rst +0 -0
  237. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/widgets/adaptive-transfer-speed.rst +0 -0
  238. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/widgets/animated-marker.rst +0 -0
  239. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/widgets/bar.rst +0 -0
  240. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/widgets/bouncing-bar.rst +0 -0
  241. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/widgets/counter.rst +0 -0
  242. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/widgets/current-time.rst +0 -0
  243. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/widgets/data-size.rst +0 -0
  244. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/widgets/dynamic-message.rst +0 -0
  245. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/widgets/eta.rst +0 -0
  246. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/widgets/file-transfer-speed.rst +0 -0
  247. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/widgets/format-custom-text.rst +0 -0
  248. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/widgets/format-label-bar.rst +0 -0
  249. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/widgets/format-label.rst +0 -0
  250. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/widgets/granular-bar.rst +0 -0
  251. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/widgets/index.rst +0 -0
  252. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/widgets/job-status-bar.rst +0 -0
  253. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/widgets/multi-progress-bar.rst +0 -0
  254. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/widgets/multi-range-bar.rst +0 -0
  255. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/widgets/percentage-label-bar.rst +0 -0
  256. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/widgets/percentage.rst +0 -0
  257. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/widgets/postfix.rst +0 -0
  258. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/widgets/reverse-bar.rst +0 -0
  259. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/widgets/rotating-marker.rst +0 -0
  260. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/widgets/simple-progress.rst +0 -0
  261. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/widgets/smoothing-eta.rst +0 -0
  262. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/widgets/timer.rst +0 -0
  263. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/widgets/unit-progress.rst +0 -0
  264. {progressbar2-4.7.0 → progressbar2-4.7.1}/docs/widgets/variable.rst +0 -0
  265. {progressbar2-4.7.0 → progressbar2-4.7.1}/examples.py +0 -0
  266. {progressbar2-4.7.0 → progressbar2-4.7.1}/progressbar/__init__.py +0 -0
  267. {progressbar2-4.7.0 → progressbar2-4.7.1}/progressbar/__main__.py +0 -0
  268. {progressbar2-4.7.0 → progressbar2-4.7.1}/progressbar/_identity.py +0 -0
  269. {progressbar2-4.7.0 → progressbar2-4.7.1}/progressbar/_parallel/__init__.py +0 -0
  270. {progressbar2-4.7.0 → progressbar2-4.7.1}/progressbar/_parallel/_async.py +0 -0
  271. {progressbar2-4.7.0 → progressbar2-4.7.1}/progressbar/_parallel/_common.py +0 -0
  272. {progressbar2-4.7.0 → progressbar2-4.7.1}/progressbar/_parallel/_decorator.py +0 -0
  273. {progressbar2-4.7.0 → progressbar2-4.7.1}/progressbar/_parallel/_display.py +0 -0
  274. {progressbar2-4.7.0 → progressbar2-4.7.1}/progressbar/_parallel/_shell.py +0 -0
  275. {progressbar2-4.7.0 → progressbar2-4.7.1}/progressbar/_parallel/_sync.py +0 -0
  276. {progressbar2-4.7.0 → progressbar2-4.7.1}/progressbar/algorithms.py +0 -0
  277. {progressbar2-4.7.0 → progressbar2-4.7.1}/progressbar/bar.py +0 -0
  278. {progressbar2-4.7.0 → progressbar2-4.7.1}/progressbar/base.py +0 -0
  279. {progressbar2-4.7.0 → progressbar2-4.7.1}/progressbar/env.py +0 -0
  280. {progressbar2-4.7.0 → progressbar2-4.7.1}/progressbar/fast.py +0 -0
  281. {progressbar2-4.7.0 → progressbar2-4.7.1}/progressbar/py.typed +0 -0
  282. {progressbar2-4.7.0 → progressbar2-4.7.1}/progressbar/shortcuts.py +0 -0
  283. {progressbar2-4.7.0 → progressbar2-4.7.1}/progressbar/terminal/__init__.py +0 -0
  284. {progressbar2-4.7.0 → progressbar2-4.7.1}/progressbar/terminal/base.py +0 -0
  285. {progressbar2-4.7.0 → progressbar2-4.7.1}/progressbar/terminal/colors.py +0 -0
  286. {progressbar2-4.7.0 → progressbar2-4.7.1}/progressbar/terminal/os_specific/__init__.py +0 -0
  287. {progressbar2-4.7.0 → progressbar2-4.7.1}/progressbar/terminal/os_specific/posix.py +0 -0
  288. {progressbar2-4.7.0 → progressbar2-4.7.1}/progressbar/terminal/os_specific/windows.py +0 -0
  289. {progressbar2-4.7.0 → progressbar2-4.7.1}/progressbar/terminal/stream.py +0 -0
  290. {progressbar2-4.7.0 → progressbar2-4.7.1}/progressbar/widgets.py +0 -0
  291. {progressbar2-4.7.0 → progressbar2-4.7.1}/progressbar2.egg-info/dependency_links.txt +0 -0
  292. {progressbar2-4.7.0 → progressbar2-4.7.1}/progressbar2.egg-info/entry_points.txt +0 -0
  293. {progressbar2-4.7.0 → progressbar2-4.7.1}/progressbar2.egg-info/requires.txt +0 -0
  294. {progressbar2-4.7.0 → progressbar2-4.7.1}/progressbar2.egg-info/top_level.txt +0 -0
  295. {progressbar2-4.7.0 → progressbar2-4.7.1}/pytest.ini +0 -0
  296. {progressbar2-4.7.0 → progressbar2-4.7.1}/ruff.toml +0 -0
  297. {progressbar2-4.7.0 → progressbar2-4.7.1}/scripts/__init__.py +0 -0
  298. {progressbar2-4.7.0 → progressbar2-4.7.1}/scripts/build_docs_wheels.py +0 -0
  299. {progressbar2-4.7.0 → progressbar2-4.7.1}/scripts/render_demos.py +0 -0
  300. {progressbar2-4.7.0 → progressbar2-4.7.1}/scripts/render_race.py +0 -0
  301. {progressbar2-4.7.0 → progressbar2-4.7.1}/setup.cfg +0 -0
  302. {progressbar2-4.7.0 → progressbar2-4.7.1}/tests/api_surface_snapshot.json +0 -0
  303. {progressbar2-4.7.0 → progressbar2-4.7.1}/tests/conftest.py +0 -0
  304. {progressbar2-4.7.0 → progressbar2-4.7.1}/tests/console/__init__.py +0 -0
  305. {progressbar2-4.7.0 → progressbar2-4.7.1}/tests/console/test_console.py +0 -0
  306. {progressbar2-4.7.0 → progressbar2-4.7.1}/tests/console/test_example_colours.py +0 -0
  307. {progressbar2-4.7.0 → progressbar2-4.7.1}/tests/console/test_homepage.py +0 -0
  308. {progressbar2-4.7.0 → progressbar2-4.7.1}/tests/console/test_showcase_assets.py +0 -0
  309. {progressbar2-4.7.0 → progressbar2-4.7.1}/tests/original_examples.py +0 -0
  310. {progressbar2-4.7.0 → progressbar2-4.7.1}/tests/requirements.txt +0 -0
  311. {progressbar2-4.7.0 → progressbar2-4.7.1}/tests/test_algorithms.py +0 -0
  312. {progressbar2-4.7.0 → progressbar2-4.7.1}/tests/test_api_surface.py +0 -0
  313. {progressbar2-4.7.0 → progressbar2-4.7.1}/tests/test_backwards_compatibility.py +0 -0
  314. {progressbar2-4.7.0 → progressbar2-4.7.1}/tests/test_color.py +0 -0
  315. {progressbar2-4.7.0 → progressbar2-4.7.1}/tests/test_color_fast_path.py +0 -0
  316. {progressbar2-4.7.0 → progressbar2-4.7.1}/tests/test_custom_widgets.py +0 -0
  317. {progressbar2-4.7.0 → progressbar2-4.7.1}/tests/test_data.py +0 -0
  318. {progressbar2-4.7.0 → progressbar2-4.7.1}/tests/test_data_transfer_bar.py +0 -0
  319. {progressbar2-4.7.0 → progressbar2-4.7.1}/tests/test_demo_animations.py +0 -0
  320. {progressbar2-4.7.0 → progressbar2-4.7.1}/tests/test_deprecation_warnings.py +0 -0
  321. {progressbar2-4.7.0 → progressbar2-4.7.1}/tests/test_dill_pickle.py +0 -0
  322. {progressbar2-4.7.0 → progressbar2-4.7.1}/tests/test_docs_examples.py +0 -0
  323. {progressbar2-4.7.0 → progressbar2-4.7.1}/tests/test_docs_wheel_urls.py +0 -0
  324. {progressbar2-4.7.0 → progressbar2-4.7.1}/tests/test_empty.py +0 -0
  325. {progressbar2-4.7.0 → progressbar2-4.7.1}/tests/test_end.py +0 -0
  326. {progressbar2-4.7.0 → progressbar2-4.7.1}/tests/test_env_detection.py +0 -0
  327. {progressbar2-4.7.0 → progressbar2-4.7.1}/tests/test_failure.py +0 -0
  328. {progressbar2-4.7.0 → progressbar2-4.7.1}/tests/test_fast_default.py +0 -0
  329. {progressbar2-4.7.0 → progressbar2-4.7.1}/tests/test_fastpath.py +0 -0
  330. {progressbar2-4.7.0 → progressbar2-4.7.1}/tests/test_flush.py +0 -0
  331. {progressbar2-4.7.0 → progressbar2-4.7.1}/tests/test_format_security.py +0 -0
  332. {progressbar2-4.7.0 → progressbar2-4.7.1}/tests/test_init_exports.py +0 -0
  333. {progressbar2-4.7.0 → progressbar2-4.7.1}/tests/test_iterators.py +0 -0
  334. {progressbar2-4.7.0 → progressbar2-4.7.1}/tests/test_job_status.py +0 -0
  335. {progressbar2-4.7.0 → progressbar2-4.7.1}/tests/test_large_values.py +0 -0
  336. {progressbar2-4.7.0 → progressbar2-4.7.1}/tests/test_misc.py +0 -0
  337. {progressbar2-4.7.0 → progressbar2-4.7.1}/tests/test_monitor_progress.py +0 -0
  338. {progressbar2-4.7.0 → progressbar2-4.7.1}/tests/test_native_accelerator.py +0 -0
  339. {progressbar2-4.7.0 → progressbar2-4.7.1}/tests/test_needs_update.py +0 -0
  340. {progressbar2-4.7.0 → progressbar2-4.7.1}/tests/test_os_specific.py +0 -0
  341. {progressbar2-4.7.0 → progressbar2-4.7.1}/tests/test_os_specific_posix.py +0 -0
  342. {progressbar2-4.7.0 → progressbar2-4.7.1}/tests/test_parallel_aliases.py +0 -0
  343. {progressbar2-4.7.0 → progressbar2-4.7.1}/tests/test_parallel_async.py +0 -0
  344. {progressbar2-4.7.0 → progressbar2-4.7.1}/tests/test_parallel_common.py +0 -0
  345. {progressbar2-4.7.0 → progressbar2-4.7.1}/tests/test_parallel_decorator.py +0 -0
  346. {progressbar2-4.7.0 → progressbar2-4.7.1}/tests/test_parallel_display.py +0 -0
  347. {progressbar2-4.7.0 → progressbar2-4.7.1}/tests/test_parallel_display_security.py +0 -0
  348. {progressbar2-4.7.0 → progressbar2-4.7.1}/tests/test_parallel_errors.py +0 -0
  349. {progressbar2-4.7.0 → progressbar2-4.7.1}/tests/test_parallel_imap.py +0 -0
  350. {progressbar2-4.7.0 → progressbar2-4.7.1}/tests/test_parallel_map.py +0 -0
  351. {progressbar2-4.7.0 → progressbar2-4.7.1}/tests/test_parallel_pool.py +0 -0
  352. {progressbar2-4.7.0 → progressbar2-4.7.1}/tests/test_parallel_process.py +0 -0
  353. {progressbar2-4.7.0 → progressbar2-4.7.1}/tests/test_parallel_shell.py +0 -0
  354. {progressbar2-4.7.0 → progressbar2-4.7.1}/tests/test_perf_budget.py +0 -0
  355. {progressbar2-4.7.0 → progressbar2-4.7.1}/tests/test_progressbar.py +0 -0
  356. {progressbar2-4.7.0 → progressbar2-4.7.1}/tests/test_progressbar_command.py +0 -0
  357. {progressbar2-4.7.0 → progressbar2-4.7.1}/tests/test_readme_demos.py +0 -0
  358. {progressbar2-4.7.0 → progressbar2-4.7.1}/tests/test_render_race.py +0 -0
  359. {progressbar2-4.7.0 → progressbar2-4.7.1}/tests/test_samples.py +0 -0
  360. {progressbar2-4.7.0 → progressbar2-4.7.1}/tests/test_speed.py +0 -0
  361. {progressbar2-4.7.0 → progressbar2-4.7.1}/tests/test_stream.py +0 -0
  362. {progressbar2-4.7.0 → progressbar2-4.7.1}/tests/test_subclass_compat.py +0 -0
  363. {progressbar2-4.7.0 → progressbar2-4.7.1}/tests/test_terminal.py +0 -0
  364. {progressbar2-4.7.0 → progressbar2-4.7.1}/tests/test_timed.py +0 -0
  365. {progressbar2-4.7.0 → progressbar2-4.7.1}/tests/test_timer.py +0 -0
  366. {progressbar2-4.7.0 → progressbar2-4.7.1}/tests/test_unicode.py +0 -0
  367. {progressbar2-4.7.0 → progressbar2-4.7.1}/tests/test_unknown_length.py +0 -0
  368. {progressbar2-4.7.0 → progressbar2-4.7.1}/tests/test_update_guard.py +0 -0
  369. {progressbar2-4.7.0 → progressbar2-4.7.1}/tests/test_utils.py +0 -0
  370. {progressbar2-4.7.0 → progressbar2-4.7.1}/tests/test_widget_default_colours.py +0 -0
  371. {progressbar2-4.7.0 → progressbar2-4.7.1}/tests/test_widgets.py +0 -0
  372. {progressbar2-4.7.0 → progressbar2-4.7.1}/tests/test_windows.py +0 -0
  373. {progressbar2-4.7.0 → progressbar2-4.7.1}/tests/test_with.py +0 -0
  374. {progressbar2-4.7.0 → progressbar2-4.7.1}/tests/test_wrappingio.py +0 -0
  375. {progressbar2-4.7.0 → progressbar2-4.7.1}/tools/README.md +0 -0
  376. {progressbar2-4.7.0 → progressbar2-4.7.1}/tools/generate_colors.py +0 -0
  377. {progressbar2-4.7.0 → progressbar2-4.7.1}/tox.ini +0 -0
  378. {progressbar2-4.7.0 → progressbar2-4.7.1}/uv.lock +0 -0
@@ -0,0 +1,29 @@
1
+ version: 2
2
+ updates:
3
+ - package-ecosystem: github-actions
4
+ directory: /
5
+ target-branch: develop
6
+ labels:
7
+ - "meta: CI"
8
+ schedule:
9
+ interval: monthly
10
+ cooldown:
11
+ default-days: 14
12
+ groups:
13
+ actions:
14
+ patterns:
15
+ - "*"
16
+
17
+ - package-ecosystem: pip
18
+ directory: /
19
+ target-branch: develop
20
+ labels:
21
+ - "meta: deps"
22
+ schedule:
23
+ interval: monthly
24
+ cooldown:
25
+ default-days: 14
26
+ groups:
27
+ python:
28
+ patterns:
29
+ - "*"
@@ -24,7 +24,7 @@ jobs:
24
24
 
25
25
  steps:
26
26
  - name: Checkout
27
- uses: actions/checkout@v6
27
+ uses: actions/checkout@v7
28
28
 
29
29
  - name: Initialize CodeQL
30
30
  uses: github/codeql-action/init@v3
@@ -22,9 +22,9 @@ jobs:
22
22
  # minutes leaves headroom without letting a genuine hang run forever.
23
23
  timeout-minutes: 20
24
24
  steps:
25
- - uses: actions/checkout@v6
25
+ - uses: actions/checkout@v7
26
26
  - name: Set up Python 3.13
27
- uses: actions/setup-python@v6
27
+ uses: actions/setup-python@v7
28
28
  with:
29
29
  python-version: '3.13'
30
30
  - name: Install dependencies
@@ -38,7 +38,7 @@ jobs:
38
38
  run: python -m pytest tests/console -v --no-cov
39
39
  - name: Upload the built docs
40
40
  if: always()
41
- uses: actions/upload-artifact@v4
41
+ uses: actions/upload-artifact@v7
42
42
  with:
43
43
  name: docs-html
44
44
  path: docs/_build/html
@@ -19,9 +19,9 @@ jobs:
19
19
  runs-on: ubuntu-latest
20
20
  timeout-minutes: 10
21
21
  steps:
22
- - uses: actions/checkout@v6
22
+ - uses: actions/checkout@v7
23
23
  - name: Set up Python 3.13
24
- uses: actions/setup-python@v6
24
+ uses: actions/setup-python@v7
25
25
  with:
26
26
  python-version: '3.13'
27
27
  - name: Install dependencies
@@ -80,9 +80,9 @@ jobs:
80
80
  tox-env: codespell
81
81
 
82
82
  steps:
83
- - uses: actions/checkout@v6
83
+ - uses: actions/checkout@v7
84
84
  - name: Set up Python ${{ matrix.python-version }}
85
- uses: actions/setup-python@v6
85
+ uses: actions/setup-python@v7
86
86
  with:
87
87
  python-version: ${{ matrix.python-version }}
88
88
  allow-prereleases: true
@@ -122,9 +122,9 @@ jobs:
122
122
  # pytest's fd-level capture.
123
123
  PYTHONUTF8: '1'
124
124
  steps:
125
- - uses: actions/checkout@v6
125
+ - uses: actions/checkout@v7
126
126
  - name: Set up Python 3.12
127
- uses: actions/setup-python@v6
127
+ uses: actions/setup-python@v7
128
128
  with:
129
129
  python-version: '3.12'
130
130
  - name: Install dependencies
@@ -18,7 +18,7 @@ jobs:
18
18
  name: Build distributions
19
19
  runs-on: ubuntu-latest
20
20
  steps:
21
- - uses: actions/checkout@v6
21
+ - uses: actions/checkout@v7
22
22
  with:
23
23
  ref: ${{ inputs.ref || github.ref }}
24
24
  - name: Verify the ref is a release tag matching __version__
@@ -86,7 +86,7 @@ jobs:
86
86
  echo "::error::distribution contains stray conflict or backup files"
87
87
  exit 1
88
88
  fi
89
- - uses: actions/upload-artifact@v6
89
+ - uses: actions/upload-artifact@v7
90
90
  with:
91
91
  name: dist
92
92
  path: dist/
@@ -101,9 +101,9 @@ jobs:
101
101
  permissions:
102
102
  id-token: write
103
103
  steps:
104
- - uses: actions/download-artifact@v7
104
+ - uses: actions/download-artifact@v8
105
105
  with:
106
106
  name: dist
107
107
  path: dist/
108
108
  - name: Publish via Trusted Publishing
109
- uses: pypa/gh-action-pypi-publish@release/v1
109
+ uses: pypa/gh-action-pypi-publish@7245906fb61fa33a13554f9d5fb856fe61758086 # v1.14.3
@@ -0,0 +1,217 @@
1
+ # Signs the PyPI files of a GitHub release with Sigstore, using the identity
2
+ # of this workflow run. Copy this file unchanged to .github/workflows/sign.yml.
3
+ # `ppt sign` dispatches it and finds the run by its run-name.
4
+ name: Sign release
5
+
6
+ run-name: Sign ${{ inputs.tag }} ${{ inputs.request_id }}
7
+
8
+ on:
9
+ workflow_dispatch:
10
+ inputs:
11
+ tag:
12
+ description: Release tag to sign, for example v1.2.3
13
+ required: true
14
+ type: string
15
+ package:
16
+ description: Name of the package on PyPI
17
+ required: true
18
+ type: string
19
+ version:
20
+ description: Version on PyPI, when it differs from the tag without its leading v
21
+ required: false
22
+ default: ''
23
+ type: string
24
+ request_id:
25
+ description: Only used by ppt to find this run
26
+ required: false
27
+ default: ''
28
+ type: string
29
+
30
+ permissions: {}
31
+
32
+ concurrency:
33
+ group: sign-${{ inputs.tag }}
34
+ cancel-in-progress: false
35
+
36
+ jobs:
37
+ sign:
38
+ name: Sign the PyPI files of the release
39
+ runs-on: ubuntu-latest
40
+ timeout-minutes: 30
41
+ permissions:
42
+ contents: write # upload the bundles and missing files to the release
43
+ id-token: write # the OIDC token Sigstore signs with
44
+ env:
45
+ GH_REPO: ${{ github.repository }}
46
+ TAG: ${{ inputs.tag }}
47
+ PACKAGE: ${{ inputs.package }}
48
+ PYPI_VERSION: ${{ inputs.version }}
49
+ steps:
50
+ - name: Validate inputs
51
+ run: |
52
+ if ! [[ "$TAG" =~ ^v?[0-9][0-9A-Za-z._+!-]*$ ]]; then
53
+ echo "Invalid tag input" >&2
54
+ exit 1
55
+ fi
56
+ if ! [[ "$PACKAGE" =~ ^[A-Za-z0-9][A-Za-z0-9._-]*$ ]]; then
57
+ echo "Invalid package input" >&2
58
+ exit 1
59
+ fi
60
+ if [ -n "$PYPI_VERSION" ] && ! [[ "$PYPI_VERSION" =~ ^v?[0-9][0-9A-Za-z._+!-]*$ ]]; then
61
+ echo "Invalid version input" >&2
62
+ exit 1
63
+ fi
64
+
65
+ - name: Read the release
66
+ env:
67
+ GH_TOKEN: ${{ github.token }}
68
+ run: gh release view "$TAG" --json assets > assets.json
69
+
70
+ - name: Download the files already on the release
71
+ env:
72
+ GH_TOKEN: ${{ github.token }}
73
+ run: |
74
+ mkdir existing
75
+ count="$(python3 -I -c '
76
+ import json
77
+ import sys
78
+ with open(sys.argv[1], encoding="utf-8") as handle:
79
+ names = [a["name"] for a in json.load(handle)["assets"]]
80
+ suffixes = (".whl", ".tar.gz", ".zip")
81
+ print(sum(1 for name in names if name.endswith(suffixes)))
82
+ ' assets.json)"
83
+ if [ "$count" -eq 0 ]; then
84
+ echo "No distribution files on the release yet"
85
+ else
86
+ gh release download "$TAG" -D existing -p '*.whl' -p '*.tar.gz' -p '*.zip'
87
+ fi
88
+
89
+ - name: Plan
90
+ id: plan
91
+ env:
92
+ EXISTING_DIR: existing
93
+ DIST_DIR: dist
94
+ ASSETS_JSON: assets.json
95
+ run: |
96
+ python3 -I - <<'PYEOF'
97
+ # ppt-plan-begin
98
+ import hashlib
99
+ import json
100
+ import os
101
+ import re
102
+ import sys
103
+ import urllib.request
104
+ from pathlib import Path
105
+ from typing import NoReturn
106
+
107
+ TAG: str = os.environ['TAG']
108
+ PACKAGE: str = os.environ['PACKAGE']
109
+ # The version input when ppt passes one, else the tag without its v.
110
+ VERSION: str = os.environ.get('PYPI_VERSION') or (
111
+ TAG[1:] if TAG.startswith('v') else TAG
112
+ )
113
+ URL_TEMPLATE: str = os.environ.get(
114
+ 'PYPI_JSON_URL', 'https://pypi.org/pypi/{package}/{version}/json'
115
+ )
116
+ # Only files PyPI serves itself are fetched. Tests point it at file://.
117
+ FILES_PREFIX: str = os.environ.get(
118
+ 'PYPI_FILES_PREFIX', 'https://files.pythonhosted.org/'
119
+ )
120
+ EXISTING_DIR: Path = Path(os.environ['EXISTING_DIR'])
121
+ DIST_DIR: Path = Path(os.environ['DIST_DIR'])
122
+
123
+
124
+ def fail(message: str) -> NoReturn:
125
+ print(message, file=sys.stderr)
126
+ raise SystemExit(1)
127
+
128
+
129
+ def sha256_of(data: bytes) -> str:
130
+ return hashlib.sha256(data).hexdigest()
131
+
132
+
133
+ def fetch(url: str) -> bytes:
134
+ with urllib.request.urlopen(url, timeout=120) as response:
135
+ data: bytes = response.read()
136
+ return data
137
+
138
+
139
+ def main() -> None:
140
+ json_url: str = URL_TEMPLATE.format(package=PACKAGE, version=VERSION)
141
+ info: dict = json.loads(fetch(json_url))
142
+ files: list[dict] = info.get('urls') or []
143
+ if not files:
144
+ fail(f'PyPI lists no files for {PACKAGE} {VERSION}')
145
+ with open(os.environ['ASSETS_JSON'], encoding='utf-8') as handle:
146
+ assets: set[str] = {a['name'] for a in json.load(handle)['assets']}
147
+ DIST_DIR.mkdir(parents=True, exist_ok=True)
148
+ to_sign: list[str] = []
149
+ to_upload: list[str] = []
150
+ for entry in files:
151
+ name: str = entry['filename']
152
+ if not re.fullmatch(r'[A-Za-z0-9][A-Za-z0-9._+!-]*', name):
153
+ fail(f'Refusing unsafe file name {name!r}')
154
+ expected: str = entry['digests']['sha256']
155
+ url: str = entry['url']
156
+ if not url.startswith(FILES_PREFIX):
157
+ fail(f'Refusing {name}: its URL does not start with {FILES_PREFIX}')
158
+ data: bytes = fetch(url)
159
+ if sha256_of(data) != expected:
160
+ fail(f'Downloaded {name} does not match the PyPI sha256')
161
+ (DIST_DIR / name).write_bytes(data)
162
+ if name in assets:
163
+ existing: Path = EXISTING_DIR / name
164
+ if not existing.is_file():
165
+ fail(f'Release asset {name} could not be downloaded')
166
+ if sha256_of(existing.read_bytes()) != expected:
167
+ fail(f'Release asset {name} differs from the PyPI file')
168
+ else:
169
+ to_upload.append(name)
170
+ if f'{name}.sigstore.json' not in assets:
171
+ to_sign.append(name)
172
+ with open(os.environ['GITHUB_OUTPUT'], 'a', encoding='utf-8') as out:
173
+ out.write(f'to_sign={" ".join(to_sign)}\n')
174
+ out.write(f'to_upload={" ".join(to_upload)}\n')
175
+
176
+
177
+ main()
178
+ # ppt-plan-end
179
+ PYEOF
180
+
181
+ - name: List files to sign
182
+ id: paths
183
+ env:
184
+ TO_SIGN: ${{ steps.plan.outputs.to_sign }}
185
+ run: |
186
+ paths=""
187
+ for name in $TO_SIGN; do
188
+ paths="$paths dist/$name"
189
+ done
190
+ echo "sign_inputs=${paths# }" >> "$GITHUB_OUTPUT"
191
+
192
+ - name: Sign with Sigstore
193
+ if: steps.plan.outputs.to_sign != ''
194
+ uses: sigstore/gh-action-sigstore-python@790bc6befb9d733738f18d8f895854b453640ec9 # v3.5.0
195
+ with:
196
+ inputs: ${{ steps.paths.outputs.sign_inputs }}
197
+ upload-signing-artifacts: false
198
+ release-signing-artifacts: false
199
+
200
+ - name: Upload to the release
201
+ env:
202
+ GH_TOKEN: ${{ github.token }}
203
+ TO_SIGN: ${{ steps.plan.outputs.to_sign }}
204
+ TO_UPLOAD: ${{ steps.plan.outputs.to_upload }}
205
+ run: |
206
+ files=()
207
+ for name in $TO_UPLOAD; do
208
+ files+=("dist/$name")
209
+ done
210
+ for name in $TO_SIGN; do
211
+ files+=("dist/$name.sigstore.json")
212
+ done
213
+ if [ "${#files[@]}" -eq 0 ]; then
214
+ echo "Nothing to upload"
215
+ exit 0
216
+ fi
217
+ gh release upload "$TAG" "${files[@]}"
@@ -12,7 +12,7 @@ jobs:
12
12
  issues: write
13
13
  pull-requests: write
14
14
  steps:
15
- - uses: actions/stale@v8
15
+ - uses: actions/stale@v11
16
16
  with:
17
17
  days-before-issue-stale: 30
18
18
  exempt-issue-labels: in-progress,help-wanted,pinned,security,enhancement
@@ -2,6 +2,26 @@
2
2
  Changelog
3
3
  =========
4
4
 
5
+ 4.7.1 - 2026-11-16
6
+ ------------------
7
+
8
+ A bar that leaves a ``MultiBar``, through ``pop``, ``del``, ``clear``,
9
+ a replacement under the same label or ``remove_finished``, takes its
10
+ generated label widgets with it. Adding it again labels it once. 4.7.0
11
+ left the old labels in ``bar.widgets`` and labelled it twice.
12
+
13
+ The ``stop_capturing()`` that brings the count to zero flushes the
14
+ original stream once, as 4.6.0 did. 4.7.0 flushed it three times. A
15
+ ``StreamWrapper`` subclass whose ``update_capturing()`` calls ``super()``
16
+ gets two flushes, the second one on an empty buffer.
17
+
18
+ A ``WrappingIO.flush()`` replacement that raises no longer costs the
19
+ captured text. The text goes back in front of anything written since,
20
+ and the next flush delivers it in order. 4.7.0 drained the buffer first
21
+ and lost the text.
22
+
23
+ The package metadata on PyPI links to the release notes (PR #335).
24
+
5
25
  4.7.0 - 2026-11-05
6
26
  ------------------
7
27
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: progressbar2
3
- Version: 4.7.0
3
+ Version: 4.7.1
4
4
  Summary: A Python Progressbar library to provide visual (yet text based) progress to long running operations.
5
5
  Author-email: "Rick van Hattem (Wolph)" <wolph@wol.ph>
6
6
  License: BSD-3-Clause
@@ -8,6 +8,7 @@ Project-URL: bugs, https://github.com/wolph/python-progressbar/issues
8
8
  Project-URL: documentation, https://progressbar-2.readthedocs.io/en/latest/
9
9
  Project-URL: repository, https://github.com/wolph/python-progressbar/
10
10
  Project-URL: Funding, https://github.com/sponsors/wolph
11
+ Project-URL: Changelog, https://github.com/wolph/python-progressbar/releases
11
12
  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
12
13
  Classifier: Development Status :: 5 - Production/Stable
13
14
  Classifier: Development Status :: 6 - Mature
@@ -0,0 +1,18 @@
1
+ # Security policy
2
+
3
+ ## Supported versions
4
+
5
+ Security fixes land on the latest release. Earlier releases are not
6
+ maintained.
7
+
8
+ ## Reporting a vulnerability
9
+
10
+ Report vulnerabilities privately through GitHub's advisory form:
11
+
12
+ <https://github.com/wolph/python-progressbar/security/advisories/new>
13
+
14
+ That keeps the report out of the public issue tracker until a fix is
15
+ available. If you cannot use the form, mail <Wolph@Wol.ph> instead.
16
+
17
+ Please include the progressbar2 version, the configuration that triggers the
18
+ issue and a minimal reproduction. Expect an acknowledgement within a week.
@@ -1,6 +1,6 @@
1
- speedups==2.3.0
2
- tqdm==4.68.3
1
+ speedups==2.3.3
2
+ tqdm==4.70.1
3
3
  rich==15.0.0
4
4
  alive-progress==3.3.0
5
- click==8.4.1
5
+ click==8.5.0
6
6
  matplotlib==3.11.0
@@ -0,0 +1,2 @@
1
+ -e.[docs,tests]
2
+ furo>=2025.12.19
@@ -21,9 +21,9 @@ long running operations.
21
21
  """.strip().split(),
22
22
  )
23
23
  __email__ = 'wolph@wol.ph'
24
- __version__ = '4.7.0'
24
+ __version__ = '4.7.1'
25
25
  #: Release date of ``__version__`` as a static string. Bump on each release.
26
- __date__ = '2026-11-05'
26
+ __date__ = '2026-11-16'
27
27
  __license__ = 'BSD'
28
28
  __copyright__ = 'Copyright 2015-2026 Rick van Hattem (Wolph)'
29
29
  __url__ = 'https://github.com/wolph/python-progressbar'
@@ -39,6 +39,9 @@ importlib.import_module('progressbar.widgets')
39
39
 
40
40
  SortKeyFunc = collections.abc.Callable[[bar.ProgressBar], typing.Any]
41
41
  _NO_LABEL: object = object()
42
+ #: The label widgets a `MultiBar` inserted into one bar: the prefix and
43
+ #: the suffix, `None` for the end that got no label.
44
+ _Labels = tuple[str | None, str | None]
42
45
 
43
46
 
44
47
  class _Update(typing.Protocol):
@@ -176,6 +179,7 @@ class MultiBar(dict[str, bar.ProgressBar]):
176
179
  _previous_output: list[str]
177
180
  _finished_at: _identity.IdentityMap[bar.ProgressBar, float]
178
181
  _labeled: _identity.IdentitySet[bar.ProgressBar]
182
+ _labels: _identity.IdentityMap[bar.ProgressBar, _Labels]
179
183
  _custom_labels: bool
180
184
  _membership_box: utils._SharedLock # pyright: ignore[reportPrivateUsage]
181
185
  _print_lock: threading.RLock
@@ -237,6 +241,7 @@ class MultiBar(dict[str, bar.ProgressBar]):
237
241
 
238
242
  self._custom_labels = False
239
243
  self._labeled = _identity.IdentitySet[bar.ProgressBar]()
244
+ self._labels = _identity.IdentityMap()
240
245
  self._finished_at = _identity.IdentityMap()
241
246
  self._previous_output = []
242
247
  self._buffer = io.StringIO()
@@ -344,6 +349,35 @@ class MultiBar(dict[str, bar.ProgressBar]):
344
349
  if progress is not None:
345
350
  self._finished_at.pop(progress, None)
346
351
  self._labeled.discard(progress)
352
+ self._remove_labels(
353
+ progress, self._labels.pop(progress, (None, None))
354
+ )
355
+
356
+ @staticmethod
357
+ def _remove_labels(progress: bar.ProgressBar, labels: _Labels) -> None:
358
+ """Take the generated label widgets out of a bar that leaves.
359
+
360
+ The widgets are matched by identity: the bar keeps a label of
361
+ its own that happens to render the same text. The prefix is
362
+ searched from the front and the suffix from the back, because
363
+ `label_format` can return an object the bar also holds as a
364
+ widget of its own (`'{label}'` returns the key itself).
365
+ """
366
+ widgets: collections.abc.MutableSequence[typing.Any] = progress.widgets
367
+ prefix: str | None
368
+ suffix: str | None
369
+ prefix, suffix = labels
370
+ index: int
371
+ if prefix is not None:
372
+ for index in range(len(widgets)):
373
+ if widgets[index] is prefix:
374
+ del widgets[index]
375
+ break
376
+ if suffix is not None:
377
+ for index in reversed(range(len(widgets))):
378
+ if widgets[index] is suffix:
379
+ del widgets[index]
380
+ break
347
381
 
348
382
  def __delitem__(self, key: str) -> None:
349
383
  """Remove a progressbar and its tracking."""
@@ -424,9 +458,12 @@ class MultiBar(dict[str, bar.ProgressBar]):
424
458
  removed = list(super().values())
425
459
  removed.extend(self._finished_at)
426
460
  removed.extend(self._labeled)
461
+ for progress in self._labels:
462
+ self._remove_labels(progress, self._labels[progress])
427
463
  super().clear()
428
464
  self._finished_at.clear()
429
465
  self._labeled.clear()
466
+ self._labels.clear()
430
467
  # `removed` keeps the bars alive until this method returns, so
431
468
  # their finalisers run after the membership guard is released.
432
469
 
@@ -445,11 +482,25 @@ class MultiBar(dict[str, bar.ProgressBar]):
445
482
  if self.prepend_label or self.append_label:
446
483
  self._labeled.add(bar)
447
484
 
485
+ prefix: str | None = None
486
+ suffix: str | None = None
448
487
  if self.prepend_label: # pragma: no branch
449
- widgets.insert(0, self.label_format.format(label=label))
488
+ prefix = self.label_format.format(label=label)
489
+ widgets.insert(0, prefix)
450
490
  if self.append_label: # pragma: no branch
451
- widgets.append(self.label_format.format(label=label))
452
- return True
491
+ suffix = self.label_format.format(label=label)
492
+ widgets.append(suffix)
493
+ if prefix is None and suffix is None:
494
+ return True
495
+ labels: _Labels = (prefix, suffix)
496
+ with self._membership_guard(label):
497
+ if bar in self._labeled:
498
+ self._labels[bar] = labels
499
+ return True
500
+ # The bar left while its labels were being formatted. Take them
501
+ # out again, so a later insertion labels it once.
502
+ self._remove_labels(bar, labels)
503
+ return not require_member
453
504
 
454
505
  def render(self, flush: bool = True, force: bool = False) -> None:
455
506
  """Redraw every bar, only touching lines that actually changed.
@@ -449,12 +449,33 @@ class WrappingIO:
449
449
  if value:
450
450
  # A replacement flush() may log. Call it only during
451
451
  # delivery, outside both the buffer and transition locks.
452
- self.flush()
452
+ try:
453
+ self.flush()
454
+ except BaseException:
455
+ # The text was taken already. Put it back in front of
456
+ # anything written since, so a flush() that fails once
457
+ # (a handler that is not ready yet) costs no output.
458
+ self._restore(value)
459
+ raise
453
460
  if value and not self.target.closed:
454
461
  self.target.write(value)
455
462
  # when explicitly flushing, always flush the target as well
456
463
  self.flush_target()
457
464
 
465
+ def _restore(self, value: str) -> None:
466
+ """Put text taken by `_take()` back, ahead of later writes."""
467
+ with (
468
+ self._buffer_box.lock
469
+ if self._native_buffer()
470
+ else contextlib.nullcontext()
471
+ ):
472
+ rest: str = self.buffer.getvalue()
473
+ self.buffer.seek(0)
474
+ self.buffer.truncate(0)
475
+ self.buffer.write(value + rest)
476
+ if '\n' in value:
477
+ self.needs_clear = True
478
+
458
479
  def flush_target(self) -> None: # pragma: no cover
459
480
  """Flush `target` itself, if it's open and flushable."""
460
481
  if not self.target.closed and getattr(self.target, 'flush', None):
@@ -681,6 +702,11 @@ class StreamWrapper:
681
702
  """
682
703
  pending: list[_Pending] = []
683
704
  failure: BaseException | None = None
705
+ # The default hook drains and delivers through `flush()`, as
706
+ # 4.6.0 did, so the original stream is flushed once. Only a
707
+ # replaced hook, which may not call `super()`, needs this stop
708
+ # to deliver its own text before the hook runs.
709
+ deliver: bool = not self._default_capture_hook()
684
710
  with self.lock:
685
711
  if bar: # pragma: no branch
686
712
  with self.listeners_lock, contextlib.suppress(KeyError):
@@ -690,16 +716,24 @@ class StreamWrapper:
690
716
  # the next start_capturing() a no-op
691
717
  self.capturing = max(self.capturing - 1, 0)
692
718
  try:
693
- pending = self._apply_capturing()
719
+ if deliver:
720
+ pending = self._apply_capturing()
721
+ else:
722
+ self._propagate_capturing()
694
723
  except BaseException as exception: # noqa: BLE001
695
724
  failure = exception
696
- if failure is None:
725
+ if failure is None and pending:
697
726
  try:
698
727
  self._deliver(pending)
699
728
  except BaseException as exception: # noqa: BLE001
700
729
  failure = exception
701
730
  self._notify_capturing(failure)
702
731
 
732
+ def _default_capture_hook(self) -> bool:
733
+ """Return whether `update_capturing` is the one defined here."""
734
+ hook: object = getattr(self.update_capturing, '__func__', None)
735
+ return hook is StreamWrapper.update_capturing
736
+
703
737
  def _notify_capturing(self, failure: BaseException | None) -> None:
704
738
  """Notify the public hook without replacing an earlier failure."""
705
739
  if failure is None:
@@ -720,22 +754,28 @@ class StreamWrapper:
720
754
  until something else happens to trigger a flush.
721
755
 
722
756
  Start and stop invoke overrides after the state propagation
723
- attempt. Stop also attempts delivery before invoking the hook,
724
- even if that attempt fails. Calling `super()` reconciles the
725
- current state again and can flush an already empty target.
757
+ attempt. A stop with a replaced hook also delivers its own text
758
+ before invoking it, even if that delivery fails. Calling
759
+ `super()` reconciles the current state again and flushes.
726
760
  Concurrent transitions can change the state before the hook
727
761
  runs, so it can observe a later transition's count and flags.
728
762
  """
729
763
  with self.lock:
730
- pending: list[_Pending] = self._apply_capturing()
731
- self._deliver(pending)
764
+ self._propagate_capturing()
732
765
  if self.capturing <= 0:
733
766
  # 4.6.0 flushed through the public method here, so a
734
767
  # subclass that overrides `flush()` sees the last bar stop
735
- # capturing. The text itself went out above, this drains
736
- # whatever a listener wrote in between.
768
+ # capturing, and the original stream is flushed once.
737
769
  self.flush()
738
770
 
771
+ def _propagate_capturing(self) -> None:
772
+ """Push the capture flag onto the installed wrappers, under `lock`."""
773
+ if isinstance(self.stdout, WrappingIO):
774
+ self.stdout.capturing = self.capturing > 0
775
+
776
+ if isinstance(self.stderr, WrappingIO):
777
+ self.stderr.capturing = self.capturing > 0
778
+
739
779
  def _apply_capturing(self) -> list[_Pending]:
740
780
  """Push the capture state onto the wrappers, under `lock`.
741
781
 
@@ -748,12 +788,7 @@ class StreamWrapper:
748
788
  same text twice, and an unwrap cannot swap the wrapper out
749
789
  between the type check and the drain.
750
790
  """
751
- if isinstance(self.stdout, WrappingIO):
752
- self.stdout.capturing = self.capturing > 0
753
-
754
- if isinstance(self.stderr, WrappingIO):
755
- self.stderr.capturing = self.capturing > 0
756
-
791
+ self._propagate_capturing()
757
792
  if self.capturing > 0:
758
793
  return []
759
794
  return self._take()