Will McGugan
30392288b2
revert iteration speed column
2024-09-30 20:16:08 +01:00
Will McGugan
7022e20224
Test fixes
2024-09-30 17:45:26 +01:00
chthollyphile
74445d76c3
Merge branch 'master' of https://github.com/chthollyphile/rich
2024-07-06 01:06:37 +08:00
chthollyphile
7ba059e993
add test
2024-07-06 00:56:01 +08:00
Will McGugan
f031136973
exit track thread
2024-07-01 13:35:03 +01:00
Henry Mai
0177b03700
Black formatting ( #3035 )
...
* fix: minor black formatting
* style: update CONTRIBUTORS.md
* fix: more black formatting
Default black with no arguments provided
---------
Co-authored-by: Darren Burns <darrenburns@users.noreply.github.com>
2023-11-07 17:57:21 +00:00
Jan Katins
bed8ee9b4a
Show elapsed time when finished in rich.progress.track()
...
Before it was showing
```
Inserting nodes... ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100% 0:00:00
```
now it will show:
```
Inserting nodes... ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100% 0:12:03
```
2022-11-18 18:08:07 +01:00
oefe
f8b536ca06
Fix missing mode
property on file wrapper
...
Without this property, uploads using `requests` fails to set the
Content-Length header, and falls back to chunked encoding,
which many hosts (e.g. S3) don't support.
2022-08-27 17:08:29 +02:00
Martin Larralde
ca94962307
Forward the internal handle name wrapped in rich.progress._Reader
2022-05-05 12:26:52 +02:00
Will McGugan
b2ef89655d
added test
2022-04-21 16:42:35 +01:00
Will McGugan
759ed784d7
progress speed
2022-04-21 16:31:28 +01:00
Olivier Philippon
d2830c89b7
[progress] Adapt the rendering of some our columns when the total
we pass to a Progress renderable is None
2022-04-14 16:26:28 +01:00
Olivier Philippon
5daf99f612
[progress] Add a test for a "None" total
passed to a Progress renderable
2022-04-13 11:02:28 +01:00
Martin Larralde
aa5ca607eb
Fix failing tests in tests.test_progress
2022-03-21 13:32:11 +01:00
Martin Larralde
fc341f7f73
Add test to ensure Progress.wrap_file
can extract the total from a task
2022-03-13 18:45:29 +01:00
Martin Larralde
1320046537
Split Progress.read
into Progress.open
and Progress.wrap_file
methods
2022-03-13 18:36:47 +01:00
Martin Larralde
97da885c04
Reformat new progress
code with black
2022-03-13 12:54:12 +01:00
Martin Larralde
d6f61d83de
Add tests to tests.test_progress
to make sure files are closed properly
2022-03-13 12:54:12 +01:00
Will McGugan
646d933d47
Merge pull request #1992 from bhrutledge/condensed-time-column
...
Add condensed time column
2022-02-27 10:34:41 +00:00
Brian Rutledge
71b1ac60e3
Move new behaviors to TimeRemainingColumn
2022-02-26 15:57:58 -05:00
Brian Rutledge
1ab2fa650f
Add condensed time column
2022-02-22 06:59:01 -05:00
Brian Rutledge
156c9c450e
Use "kB" for DownloadColumn
2022-02-21 06:01:53 -05:00
ptmcg
32e437a47d
Add MofNCompleteColumn ProgressColumn type
2022-02-09 05:39:10 -06:00
ptmcg
76e234b79d
Rename default_columns to get_default_columns, and add docstring
2022-01-31 13:09:51 -06:00
ptmcg
b0794522a6
Add default_columns classmethod to Progress class
2022-01-31 08:29:01 -06:00
Will McGugan
07d51ffc1a
race condition and tests
2021-11-27 19:41:29 +00:00
Christian Clauss
9c12a45374
Fix typos discovered by codespell
2021-06-12 15:17:57 +02:00
Will McGugan
d89269e70e
Merge branch 'master' into master
2021-05-04 12:56:23 +01:00
Isaac Wahhab
c7f7cd683a
Last attempt at fixing progress coverage
2021-04-03 16:00:00 -07:00
Isaac Wahhab
8caee6a2e9
Coverage fix?
2021-04-03 15:33:56 -07:00
Isaac Wahhab
f9381dfab9
Fixing CI errors
2021-04-03 15:22:03 -07:00
Will McGugan
23497ed230
fix for race condition
2021-03-30 18:02:05 +01:00
JoshKarpel
34c56204e9
test that Progress writes nothing when disabled
2021-03-25 17:33:49 -05:00
JoshKarpel
9e397a13db
disabled progress does not start live
2021-03-21 10:19:32 -05:00
Will McGugan
2f752afaa9
style optimization
2021-03-01 19:42:00 +00:00
Will McGugan
91acbef376
fixes
2021-02-27 10:05:43 +00:00
Will McGugan
122b8131bb
live refactor
2021-02-06 11:49:54 +00:00
Will McGugan
6d616467f4
test fix
2020-12-28 16:33:46 +00:00
Will McGugan
a6e2cd6e1c
quicker test
2020-11-29 19:05:06 +00:00
Will McGugan
dea111b8b3
threading test
2020-11-29 19:04:01 +00:00
Will McGugan
67599f772a
tests
2020-11-29 19:01:02 +00:00
Will McGugan
05a26fa433
added disable option
2020-11-29 18:56:01 +00:00
Will McGugan
c65f0ee527
Merge branch 'master' into master
2020-10-16 14:44:07 +01:00
Will McGugan
447ed72fe3
bar refactor
2020-10-16 10:56:08 +01:00
amartya-dev
9982ce394a
Change decimal_suffix param to binary_units
2020-10-14 19:47:22 +05:30
Will McGugan
c7ea83d36a
added progress.reset
2020-10-14 10:19:38 +01:00
amartya-dev
630ed8bd7f
Add flag to render in binary/decimal suffix in DownloadColumn
...
Add a test for rendering binary suffix in test_progress.py
2020-10-13 06:56:59 +05:30
amartya-dev
d1cd347a31
Simplify the download column test
2020-10-04 23:00:52 +05:30
amartya-dev
82c2f44cd2
Change download column test to not use progress and console
...
Add new version in CHANGELOG.md
2020-10-04 22:15:22 +05:30
amartya-dev
1778cdf71f
Reformat with black
2020-10-04 16:29:35 +05:30