progress-table 2.2.0__tar.gz → 2.2.2__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.0 → progress-table-2.2.2}/PKG-INFO +7 -7
- {progress-table-2.2.0 → progress-table-2.2.2}/README.md +2 -2
- {progress-table-2.2.0 → progress-table-2.2.2}/progress_table/__init__.py +1 -1
- {progress-table-2.2.0 → progress-table-2.2.2}/progress_table/v1/styles.py +5 -1
- {progress-table-2.2.0 → progress-table-2.2.2}/progress_table.egg-info/PKG-INFO +7 -7
- {progress-table-2.2.0 → progress-table-2.2.2}/setup.py +7 -1
- {progress-table-2.2.0 → progress-table-2.2.2}/LICENSE.txt +0 -0
- {progress-table-2.2.0 → progress-table-2.2.2}/progress_table/v0/__init__.py +0 -0
- {progress-table-2.2.0 → progress-table-2.2.2}/progress_table/v0/progress_table.py +0 -0
- {progress-table-2.2.0 → progress-table-2.2.2}/progress_table/v0/symbols.py +0 -0
- {progress-table-2.2.0 → progress-table-2.2.2}/progress_table/v1/__init__.py +0 -0
- {progress-table-2.2.0 → progress-table-2.2.2}/progress_table/v1/common.py +0 -0
- {progress-table-2.2.0 → progress-table-2.2.2}/progress_table/v1/progress_table.py +0 -0
- {progress-table-2.2.0 → progress-table-2.2.2}/progress_table.egg-info/PKG-INFO.sync-conflict-20240314-015933-NXTV2IO +0 -0
- {progress-table-2.2.0 → progress-table-2.2.2}/progress_table.egg-info/SOURCES.txt +0 -0
- {progress-table-2.2.0 → progress-table-2.2.2}/progress_table.egg-info/dependency_links.txt +0 -0
- {progress-table-2.2.0 → progress-table-2.2.2}/progress_table.egg-info/requires.txt +0 -0
- {progress-table-2.2.0 → progress-table-2.2.2}/progress_table.egg-info/top_level.txt +0 -0
- {progress-table-2.2.0 → progress-table-2.2.2}/pyproject.toml +0 -0
- {progress-table-2.2.0 → progress-table-2.2.2}/setup.cfg +0 -0
- {progress-table-2.2.0 → progress-table-2.2.2}/tests/test_docs_automated.py +0 -0
- {progress-table-2.2.0 → progress-table-2.2.2}/tests/test_examples_automated.py +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.2
|
|
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
|
|
@@ -37,29 +37,29 @@ Lightweight utility to display the progress of your process as a pretty table in
|
|
|
37
37
|
|
|
38
38
|
### Change this:
|
|
39
39
|
|
|
40
|
-

|
|
41
41
|
|
|
42
42
|
### Into this:
|
|
43
43
|
|
|
44
|
-

|
|
45
45
|
|
|
46
46
|
## Examples
|
|
47
47
|
|
|
48
48
|
* Neural network training
|
|
49
49
|
|
|
50
|
-

|
|
50
|
+

|
|
51
51
|
|
|
52
52
|
* Progress of multi-threaded downloads
|
|
53
53
|
|
|
54
|
-

|
|
54
|
+

|
|
55
55
|
|
|
56
56
|
* Simulation and interactive display of Brownian motion
|
|
57
57
|
|
|
58
|
-

|
|
58
|
+

|
|
59
59
|
|
|
60
60
|
* Display of a game board
|
|
61
61
|
|
|
62
|
-

|
|
62
|
+

|
|
63
63
|
|
|
64
64
|
## Quick start code
|
|
65
65
|
|
|
@@ -16,11 +16,11 @@ Lightweight utility to display the progress of your process as a pretty table in
|
|
|
16
16
|
|
|
17
17
|
### Change this:
|
|
18
18
|
|
|
19
|
-

|
|
20
20
|
|
|
21
21
|
### Into this:
|
|
22
22
|
|
|
23
|
-

|
|
24
24
|
|
|
25
25
|
## Examples
|
|
26
26
|
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Copyright (c) 2022-2024 Szymon Mikler
|
|
2
2
|
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing import Tuple, Union
|
|
6
|
+
|
|
3
7
|
from progress_table.v1.common import ALL_COLOR_NAME, maybe_convert_to_colorama
|
|
4
8
|
|
|
5
9
|
|
|
@@ -73,7 +77,7 @@ class PbarStyleBase:
|
|
|
73
77
|
name: str
|
|
74
78
|
filled: str
|
|
75
79
|
empty: str
|
|
76
|
-
head: str
|
|
80
|
+
head: Union[str, Tuple[str, ...]]
|
|
77
81
|
color: str = ""
|
|
78
82
|
color_empty: str = ""
|
|
79
83
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: progress-table
|
|
3
|
-
Version: 2.2.
|
|
3
|
+
Version: 2.2.2
|
|
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
|
|
@@ -37,29 +37,29 @@ Lightweight utility to display the progress of your process as a pretty table in
|
|
|
37
37
|
|
|
38
38
|
### Change this:
|
|
39
39
|
|
|
40
|
-

|
|
41
41
|
|
|
42
42
|
### Into this:
|
|
43
43
|
|
|
44
|
-

|
|
45
45
|
|
|
46
46
|
## Examples
|
|
47
47
|
|
|
48
48
|
* Neural network training
|
|
49
49
|
|
|
50
|
-

|
|
50
|
+

|
|
51
51
|
|
|
52
52
|
* Progress of multi-threaded downloads
|
|
53
53
|
|
|
54
|
-

|
|
54
|
+

|
|
55
55
|
|
|
56
56
|
* Simulation and interactive display of Brownian motion
|
|
57
57
|
|
|
58
|
-

|
|
58
|
+

|
|
59
59
|
|
|
60
60
|
* Display of a game board
|
|
61
61
|
|
|
62
|
-

|
|
62
|
+

|
|
63
63
|
|
|
64
64
|
## Quick start code
|
|
65
65
|
|
|
@@ -21,6 +21,12 @@ def get_version():
|
|
|
21
21
|
|
|
22
22
|
long_description = package_relative_path("README.md").read_text(encoding="UTF-8")
|
|
23
23
|
|
|
24
|
+
|
|
25
|
+
def with_direct_github_urls(description):
|
|
26
|
+
github_link = "https://raw.githubusercontent.com/sjmikler/progress-table/main/images"
|
|
27
|
+
return description.replace("(images", "(" + github_link)
|
|
28
|
+
|
|
29
|
+
|
|
24
30
|
setup(
|
|
25
31
|
name="progress-table",
|
|
26
32
|
version=get_version(),
|
|
@@ -42,6 +48,6 @@ setup(
|
|
|
42
48
|
"Programming Language :: Python :: 3.12",
|
|
43
49
|
],
|
|
44
50
|
install_requires=["colorama"],
|
|
45
|
-
long_description=long_description,
|
|
51
|
+
long_description=with_direct_github_urls(long_description),
|
|
46
52
|
long_description_content_type="text/markdown",
|
|
47
53
|
)
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|