progress-table 2.2.4__tar.gz → 2.2.6__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 (22) hide show
  1. {progress-table-2.2.4 → progress_table-2.2.6}/PKG-INFO +5 -1
  2. {progress-table-2.2.4 → progress_table-2.2.6}/README.md +4 -0
  3. {progress-table-2.2.4 → progress_table-2.2.6}/progress_table/__init__.py +1 -1
  4. {progress-table-2.2.4 → progress_table-2.2.6}/progress_table/v1/progress_table.py +3 -2
  5. {progress-table-2.2.4 → progress_table-2.2.6}/progress_table.egg-info/PKG-INFO +5 -1
  6. {progress-table-2.2.4 → progress_table-2.2.6}/LICENSE.txt +0 -0
  7. {progress-table-2.2.4 → progress_table-2.2.6}/progress_table/v0/__init__.py +0 -0
  8. {progress-table-2.2.4 → progress_table-2.2.6}/progress_table/v0/progress_table.py +0 -0
  9. {progress-table-2.2.4 → progress_table-2.2.6}/progress_table/v0/symbols.py +0 -0
  10. {progress-table-2.2.4 → progress_table-2.2.6}/progress_table/v1/__init__.py +0 -0
  11. {progress-table-2.2.4 → progress_table-2.2.6}/progress_table/v1/common.py +0 -0
  12. {progress-table-2.2.4 → progress_table-2.2.6}/progress_table/v1/styles.py +0 -0
  13. {progress-table-2.2.4 → progress_table-2.2.6}/progress_table.egg-info/PKG-INFO.sync-conflict-20240314-015933-NXTV2IO +0 -0
  14. {progress-table-2.2.4 → progress_table-2.2.6}/progress_table.egg-info/SOURCES.txt +0 -0
  15. {progress-table-2.2.4 → progress_table-2.2.6}/progress_table.egg-info/dependency_links.txt +0 -0
  16. {progress-table-2.2.4 → progress_table-2.2.6}/progress_table.egg-info/requires.txt +0 -0
  17. {progress-table-2.2.4 → progress_table-2.2.6}/progress_table.egg-info/top_level.txt +0 -0
  18. {progress-table-2.2.4 → progress_table-2.2.6}/pyproject.toml +0 -0
  19. {progress-table-2.2.4 → progress_table-2.2.6}/setup.cfg +0 -0
  20. {progress-table-2.2.4 → progress_table-2.2.6}/setup.py +0 -0
  21. {progress-table-2.2.4 → progress_table-2.2.6}/tests/test_docs_automated.py +0 -0
  22. {progress-table-2.2.4 → progress_table-2.2.6}/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.4
3
+ Version: 2.2.6
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
@@ -121,6 +121,10 @@ Progress Table works correctly in most consoles, but there are some exceptions:
121
121
  > By default `interactive=2`. You can change the default `interactive` with an argument when creating the table object
122
122
  > or by setting `PTABLE_INTERACTIVE` environment variable, e.g. `PTABLE_INTERACTIVE=1`.
123
123
 
124
+ ### Other problems
125
+
126
+ If you encounter different messy outputs or other unexpected behavior: please create an issue!
127
+
124
128
  ## Installation
125
129
 
126
130
  Install Progress Table easily with pip:
@@ -100,6 +100,10 @@ Progress Table works correctly in most consoles, but there are some exceptions:
100
100
  > By default `interactive=2`. You can change the default `interactive` with an argument when creating the table object
101
101
  > or by setting `PTABLE_INTERACTIVE` environment variable, e.g. `PTABLE_INTERACTIVE=1`.
102
102
 
103
+ ### Other problems
104
+
105
+ If you encounter different messy outputs or other unexpected behavior: please create an issue!
106
+
103
107
  ## Installation
104
108
 
105
109
  Install Progress Table easily with pip:
@@ -1,6 +1,6 @@
1
1
  # Copyright (c) 2022-2024 Szymon Mikler
2
2
 
3
- __version__ = "2.2.4"
3
+ __version__ = "2.2.6"
4
4
 
5
5
  from progress_table.v0.progress_table import ProgressTableV0
6
6
  from progress_table.v1 import styles
@@ -263,7 +263,7 @@ class ProgressTableV1:
263
263
  self._at_indexer = TableAtIndexer(self)
264
264
 
265
265
  # Close the table at program exit
266
- atexit.register(self.close)
266
+ # atexit.register(self.close)
267
267
 
268
268
  def add_column(
269
269
  self,
@@ -422,7 +422,8 @@ class ProgressTableV1:
422
422
  data_row_index = len(self._data_rows) - 1
423
423
 
424
424
  # Color is applied to the existing row - not the new one!
425
- row.COLORS.update(self._resolve_row_color_dict(color))
425
+ # Existing colors applied by `update` get the priority over row color
426
+ row.COLORS = {**self._resolve_row_color_dict(color), **row.COLORS}
426
427
 
427
428
  # Refreshing the existing row is necessary to apply colors
428
429
  # Or - if row is empty, this will cause the first addition to display rows
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: progress-table
3
- Version: 2.2.4
3
+ Version: 2.2.6
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
@@ -121,6 +121,10 @@ Progress Table works correctly in most consoles, but there are some exceptions:
121
121
  > By default `interactive=2`. You can change the default `interactive` with an argument when creating the table object
122
122
  > or by setting `PTABLE_INTERACTIVE` environment variable, e.g. `PTABLE_INTERACTIVE=1`.
123
123
 
124
+ ### Other problems
125
+
126
+ If you encounter different messy outputs or other unexpected behavior: please create an issue!
127
+
124
128
  ## Installation
125
129
 
126
130
  Install Progress Table easily with pip:
File without changes
File without changes