progress-table 2.2.2__tar.gz → 2.2.4__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.
- {progress-table-2.2.2 → progress-table-2.2.4}/PKG-INFO +3 -3
- {progress-table-2.2.2 → progress-table-2.2.4}/README.md +2 -2
- {progress-table-2.2.2 → progress-table-2.2.4}/progress_table/__init__.py +1 -1
- {progress-table-2.2.2 → progress-table-2.2.4}/progress_table/v1/progress_table.py +1 -1
- {progress-table-2.2.2 → progress-table-2.2.4}/progress_table/v1/styles.py +28 -7
- {progress-table-2.2.2 → progress-table-2.2.4}/progress_table.egg-info/PKG-INFO +3 -3
- {progress-table-2.2.2 → progress-table-2.2.4}/setup.py +6 -2
- {progress-table-2.2.2 → progress-table-2.2.4}/tests/test_docs_automated.py +2 -1
- {progress-table-2.2.2 → progress-table-2.2.4}/tests/test_examples_automated.py +1 -1
- {progress-table-2.2.2 → progress-table-2.2.4}/LICENSE.txt +0 -0
- {progress-table-2.2.2 → progress-table-2.2.4}/progress_table/v0/__init__.py +0 -0
- {progress-table-2.2.2 → progress-table-2.2.4}/progress_table/v0/progress_table.py +0 -0
- {progress-table-2.2.2 → progress-table-2.2.4}/progress_table/v0/symbols.py +0 -0
- {progress-table-2.2.2 → progress-table-2.2.4}/progress_table/v1/__init__.py +0 -0
- {progress-table-2.2.2 → progress-table-2.2.4}/progress_table/v1/common.py +0 -0
- {progress-table-2.2.2 → progress-table-2.2.4}/progress_table.egg-info/PKG-INFO.sync-conflict-20240314-015933-NXTV2IO +0 -0
- {progress-table-2.2.2 → progress-table-2.2.4}/progress_table.egg-info/SOURCES.txt +0 -0
- {progress-table-2.2.2 → progress-table-2.2.4}/progress_table.egg-info/dependency_links.txt +0 -0
- {progress-table-2.2.2 → progress-table-2.2.4}/progress_table.egg-info/requires.txt +0 -0
- {progress-table-2.2.2 → progress-table-2.2.4}/progress_table.egg-info/top_level.txt +0 -0
- {progress-table-2.2.2 → progress-table-2.2.4}/pyproject.toml +0 -0
- {progress-table-2.2.2 → progress-table-2.2.4}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: progress-table
|
|
3
|
-
Version: 2.2.
|
|
3
|
+
Version: 2.2.4
|
|
4
4
|
Summary: Display progress as a pretty table in the command line.
|
|
5
5
|
Home-page: https://github.com/gahaalt/progress-table.git
|
|
6
6
|
Author: Szymon Mikler
|
|
@@ -100,12 +100,12 @@ table.close()
|
|
|
100
100
|
|
|
101
101
|
```
|
|
102
102
|
|
|
103
|
-
> Go to [integrations](https://github.com/sjmikler/progress-table/blob/main/docs
|
|
103
|
+
> Go to [integrations](https://github.com/sjmikler/progress-table/blob/main/docs//integrations.md)
|
|
104
104
|
> page to see examples of integration with deep learning libraries.
|
|
105
105
|
|
|
106
106
|
## Advanced usage
|
|
107
107
|
|
|
108
|
-
Go to [advanced usage](https://github.com/sjmikler/progress-table/blob/main/docs
|
|
108
|
+
Go to [advanced usage](https://github.com/sjmikler/progress-table/blob/main/docs//advanced-usage.md) page for more information.
|
|
109
109
|
|
|
110
110
|
## Troubleshooting
|
|
111
111
|
|
|
@@ -79,12 +79,12 @@ table.close()
|
|
|
79
79
|
|
|
80
80
|
```
|
|
81
81
|
|
|
82
|
-
> Go to [integrations](
|
|
82
|
+
> Go to [integrations](docs/integrations.md)
|
|
83
83
|
> page to see examples of integration with deep learning libraries.
|
|
84
84
|
|
|
85
85
|
## Advanced usage
|
|
86
86
|
|
|
87
|
-
Go to [advanced usage](
|
|
87
|
+
Go to [advanced usage](docs/advanced-usage.md) page for more information.
|
|
88
88
|
|
|
89
89
|
## Troubleshooting
|
|
90
90
|
|
|
@@ -119,7 +119,7 @@ class ProgressTableV1:
|
|
|
119
119
|
pbar_show_eta: bool = False,
|
|
120
120
|
pbar_embedded: bool = True,
|
|
121
121
|
pbar_style: str | Type[styles.PbarStyleBase] = "square",
|
|
122
|
-
pbar_style_embed: str | Type[styles.PbarStyleBase] = "
|
|
122
|
+
pbar_style_embed: str | Type[styles.PbarStyleBase] = "cdots",
|
|
123
123
|
print_header_on_top: bool = True,
|
|
124
124
|
print_header_every_n_rows: int = 30,
|
|
125
125
|
custom_cell_format: Callable[[Any], str] | None = None,
|
|
@@ -134,13 +134,6 @@ class PbarStyleAngled(PbarStyleBase):
|
|
|
134
134
|
head = "▰"
|
|
135
135
|
|
|
136
136
|
|
|
137
|
-
class PbarStyleEmbed(PbarStyleBase):
|
|
138
|
-
name = "embed"
|
|
139
|
-
filled = "ꞏ"
|
|
140
|
-
empty = " "
|
|
141
|
-
head = ">"
|
|
142
|
-
|
|
143
|
-
|
|
144
137
|
class PbarStyleRich(PbarStyleBase):
|
|
145
138
|
name = "rich"
|
|
146
139
|
filled = "━"
|
|
@@ -156,6 +149,34 @@ class PbarStyleRich(PbarStyleBase):
|
|
|
156
149
|
self.empty = self.filled
|
|
157
150
|
|
|
158
151
|
|
|
152
|
+
class PbarStyleCdots(PbarStyleBase):
|
|
153
|
+
name = "cdots"
|
|
154
|
+
filled = "ꞏ"
|
|
155
|
+
empty = " "
|
|
156
|
+
head = ">"
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
class PbarStyleDash(PbarStyleBase):
|
|
160
|
+
name = "dash"
|
|
161
|
+
filled = "-"
|
|
162
|
+
empty = " "
|
|
163
|
+
head = ">"
|
|
164
|
+
|
|
165
|
+
|
|
166
|
+
class PbarStyleUnder(PbarStyleBase):
|
|
167
|
+
name = "under"
|
|
168
|
+
filled = "_"
|
|
169
|
+
empty = " "
|
|
170
|
+
head = "_"
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
class PbarStyleDoubleDash(PbarStyleBase):
|
|
174
|
+
name = "doubledash"
|
|
175
|
+
filled = "="
|
|
176
|
+
empty = " "
|
|
177
|
+
head = ">"
|
|
178
|
+
|
|
179
|
+
|
|
159
180
|
class PbarStyleNone(PbarStyleBase):
|
|
160
181
|
name = "hidden"
|
|
161
182
|
filled = " "
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: progress-table
|
|
3
|
-
Version: 2.2.
|
|
3
|
+
Version: 2.2.4
|
|
4
4
|
Summary: Display progress as a pretty table in the command line.
|
|
5
5
|
Home-page: https://github.com/gahaalt/progress-table.git
|
|
6
6
|
Author: Szymon Mikler
|
|
@@ -100,12 +100,12 @@ table.close()
|
|
|
100
100
|
|
|
101
101
|
```
|
|
102
102
|
|
|
103
|
-
> Go to [integrations](https://github.com/sjmikler/progress-table/blob/main/docs
|
|
103
|
+
> Go to [integrations](https://github.com/sjmikler/progress-table/blob/main/docs//integrations.md)
|
|
104
104
|
> page to see examples of integration with deep learning libraries.
|
|
105
105
|
|
|
106
106
|
## Advanced usage
|
|
107
107
|
|
|
108
|
-
Go to [advanced usage](https://github.com/sjmikler/progress-table/blob/main/docs
|
|
108
|
+
Go to [advanced usage](https://github.com/sjmikler/progress-table/blob/main/docs//advanced-usage.md) page for more information.
|
|
109
109
|
|
|
110
110
|
## Troubleshooting
|
|
111
111
|
|
|
@@ -23,8 +23,12 @@ long_description = package_relative_path("README.md").read_text(encoding="UTF-8"
|
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
def with_direct_github_urls(description):
|
|
26
|
-
|
|
27
|
-
|
|
26
|
+
images_github_link = "https://raw.githubusercontent.com/sjmikler/progress-table/main/images"
|
|
27
|
+
description = description.replace("(images", "(" + images_github_link)
|
|
28
|
+
|
|
29
|
+
docs_github_link = "https://github.com/sjmikler/progress-table/blob/main/docs/"
|
|
30
|
+
description = description.replace("(docs", "(" + docs_github_link)
|
|
31
|
+
return description
|
|
28
32
|
|
|
29
33
|
|
|
30
34
|
setup(
|
|
@@ -23,6 +23,7 @@ def scan_for_code_blobs(text):
|
|
|
23
23
|
new_blobs = []
|
|
24
24
|
for mode, blob in blobs:
|
|
25
25
|
if "..." in blob:
|
|
26
|
+
# ignore blobs that are not complete
|
|
26
27
|
continue
|
|
27
28
|
header = get_header(f"Generated ({mode})")
|
|
28
29
|
blob = header + blob
|
|
@@ -41,7 +42,7 @@ def test_all_code_blobs():
|
|
|
41
42
|
# Testing whether code blobs from the documentation run without errors
|
|
42
43
|
all_code_blobs = []
|
|
43
44
|
|
|
44
|
-
for root, dirs, files in os.walk(""):
|
|
45
|
+
for root, dirs, files in os.walk("."):
|
|
45
46
|
for file in files:
|
|
46
47
|
path = pathlib.Path(os.path.join(root, file))
|
|
47
48
|
if path.suffix == ".md":
|
|
@@ -7,7 +7,7 @@ from glob import glob
|
|
|
7
7
|
from io import StringIO
|
|
8
8
|
|
|
9
9
|
EXPECTED_OUTPUTS = {
|
|
10
|
-
"examples.training": "
|
|
10
|
+
"examples.training": "6993e60d3edc3cb48014480fc4890404",
|
|
11
11
|
"examples.tictactoe": "378133fb7804a678282564d751068531",
|
|
12
12
|
"examples.brown2d": "c0f37fdfcfc2db6ef465473c67c05d83",
|
|
13
13
|
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|