nercone-modern 1.2.0__py3-none-any.whl → 1.2.2__py3-none-any.whl

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.
@@ -132,7 +132,7 @@ class ModernProgressBar:
132
132
  status = "(RUNN)"
133
133
  else:
134
134
  status = f"({self.current:>{total_width}}/{self.total})"
135
- line = f"({self._color('reset')}{bar}{self._color('reset')}) {self.process_name} - {'....' if self.spinner_mode else percentage} {status} | {self.message}"
135
+ line = f"({self._color('gray')}{bar}{self._color('reset')}) {self.process_name} - {'....' if self.spinner_mode else percentage} {status} | {self.message}"
136
136
  total_move_up = self.log_lines + (len(ModernProgressBar._active_bars) - self.index)
137
137
  if total_move_up > 0:
138
138
  sys.stdout.write(f"\033[{total_move_up}A")
@@ -160,7 +160,7 @@ class ModernProgressBar:
160
160
  filled_length = int(progress * bar_length) + 1
161
161
  else:
162
162
  filled_length = int(progress * bar_length)
163
- return f"{self._color('blue')}{filled_bar * filled_length}{self._color('cyan')}{center_bar}{self._color('black')}{empty_bar * (bar_length - filled_length)}"
163
+ return f"{self._color('blue')}{filled_bar * filled_length}{self._color('cyan')}{center_bar}{self._color('gray')}{empty_bar * (bar_length - filled_length)}"
164
164
  else:
165
165
  if self.current <= 0 and not self._spinner_ready:
166
166
  return f"{self._color('gray')}{'-' * (bar_length + 1)}"
@@ -169,7 +169,7 @@ class ModernProgressBar:
169
169
  spinner_start_bar_length = bar_length - spinner_end_bar_length
170
170
  if advance_spinner:
171
171
  self.spinner_step = (self.spinner_step + 1) % (bar_length + 1)
172
- return f"{self._color('black')}{'-' * spinner_start_bar_length}{self._color('blue')}{'-' * spinner_symbol_length}{self._color('black')}{'-' * spinner_end_bar_length}"
172
+ return f"{self._color('gray')}{'-' * spinner_start_bar_length}{self._color('blue')}{'-' * spinner_symbol_length}{self._color('gray')}{'-' * spinner_end_bar_length}"
173
173
 
174
174
  def _should_spin(self):
175
175
  return self.spinner_mode and self._spinner_ready
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: nercone-modern
3
- Version: 1.2.0
3
+ Version: 1.2.2
4
4
  Summary: Modern Logging and Progress Bar Library
5
5
  Author: Nercone
6
6
  Author-email: Nercone <nercone@diamondgotcat.net>
@@ -13,7 +13,7 @@ Project-URL: Homepage, https://github.com/DiamondGotCat/nercone-modern
13
13
  Description-Content-Type: text/markdown
14
14
 
15
15
 
16
- <img width="1920" alt="Nercone Modern" src="https://github.com/user-attachments/assets/803bbff3-44fd-4347-b2cd-08d8f0122ae8" />
16
+ <img width="1920" alt="Nercone Modern" src="https://github.com/user-attachments/assets/c92b0407-916f-46ec-9116-c3388b38c88c" />
17
17
 
18
18
  # nercone-modern
19
19
  Modern Logging and Progress Bar Library
@@ -0,0 +1,7 @@
1
+ nercone_modern/__init__.py,sha256=ArF3T8FdWIhwGcL4MfYcHqMse3n5gjuyzbLNlcqRcxs,443
2
+ nercone_modern/__main__.py,sha256=7ZhJgTJOF73XO3HwSed9LAyf9K9A-Bnqd8N3pTuV2b0,1962
3
+ nercone_modern/logging.py,sha256=CVMyOGoHAP87A578hvFFc0mNNtNjXCn49rTQDWLo-fE,4860
4
+ nercone_modern/progressbar.py,sha256=xPUDQG77pXyKT3YuEVQl8ERjWrZ1YXOnujEUwkFc0YA,7915
5
+ nercone_modern-1.2.2.dist-info/WHEEL,sha256=UH59_qNuDUAa1VxQvC6fxmbl24EMw6DOIlT1yp8oeuU,78
6
+ nercone_modern-1.2.2.dist-info/METADATA,sha256=e5rADnucSyZHDsNRyVJqG_aoocdU9igp85kt3s0u3Io,1403
7
+ nercone_modern-1.2.2.dist-info/RECORD,,
@@ -1,7 +0,0 @@
1
- nercone_modern/__init__.py,sha256=ArF3T8FdWIhwGcL4MfYcHqMse3n5gjuyzbLNlcqRcxs,443
2
- nercone_modern/__main__.py,sha256=7ZhJgTJOF73XO3HwSed9LAyf9K9A-Bnqd8N3pTuV2b0,1962
3
- nercone_modern/logging.py,sha256=CVMyOGoHAP87A578hvFFc0mNNtNjXCn49rTQDWLo-fE,4860
4
- nercone_modern/progressbar.py,sha256=OzLmw14UaRMbQgCYtvXZr2ot3REIVt1QWrcmOBAsss4,7919
5
- nercone_modern-1.2.0.dist-info/WHEEL,sha256=UH59_qNuDUAa1VxQvC6fxmbl24EMw6DOIlT1yp8oeuU,78
6
- nercone_modern-1.2.0.dist-info/METADATA,sha256=X4ZHcwmObOLrbX7N5sx82P8_fcaypfdqMIcazutXbYU,1403
7
- nercone_modern-1.2.0.dist-info/RECORD,,