halib 0.1.41__tar.gz → 0.1.42__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 (38) hide show
  1. {halib-0.1.41/halib.egg-info → halib-0.1.42}/PKG-INFO +5 -1
  2. {halib-0.1.41 → halib-0.1.42}/README.md +4 -0
  3. {halib-0.1.41 → halib-0.1.42}/halib/rich_color.py +26 -0
  4. {halib-0.1.41 → halib-0.1.42/halib.egg-info}/PKG-INFO +5 -1
  5. {halib-0.1.41 → halib-0.1.42}/setup.py +1 -1
  6. {halib-0.1.41 → halib-0.1.42}/.gitignore +0 -0
  7. {halib-0.1.41 → halib-0.1.42}/GDriveFolder.txt +0 -0
  8. {halib-0.1.41 → halib-0.1.42}/LICENSE.txt +0 -0
  9. {halib-0.1.41 → halib-0.1.42}/guide_publish_pip.pdf +0 -0
  10. {halib-0.1.41 → halib-0.1.42}/halib/__init__.py +0 -0
  11. {halib-0.1.41 → halib-0.1.42}/halib/common.py +0 -0
  12. {halib-0.1.41 → halib-0.1.42}/halib/cuda.py +0 -0
  13. {halib-0.1.41 → halib-0.1.42}/halib/dataset.py +0 -0
  14. {halib-0.1.41 → halib-0.1.42}/halib/filetype/__init__.py +0 -0
  15. {halib-0.1.41 → halib-0.1.42}/halib/filetype/csvfile.py +0 -0
  16. {halib-0.1.41 → halib-0.1.42}/halib/filetype/jsonfile.py +0 -0
  17. {halib-0.1.41 → halib-0.1.42}/halib/filetype/textfile.py +0 -0
  18. {halib-0.1.41 → halib-0.1.42}/halib/filetype/videofile.py +0 -0
  19. {halib-0.1.41 → halib-0.1.42}/halib/filetype/yamlfile.py +0 -0
  20. {halib-0.1.41 → halib-0.1.42}/halib/listop.py +0 -0
  21. {halib-0.1.41 → halib-0.1.42}/halib/online/__init__.py +0 -0
  22. {halib-0.1.41 → halib-0.1.42}/halib/online/gdrive.py +0 -0
  23. {halib-0.1.41 → halib-0.1.42}/halib/online/gdrive_mkdir.py +0 -0
  24. {halib-0.1.41 → halib-0.1.42}/halib/online/gdrive_test.py +0 -0
  25. {halib-0.1.41 → halib-0.1.42}/halib/online/projectmake.py +0 -0
  26. {halib-0.1.41 → halib-0.1.42}/halib/plot.py +0 -0
  27. {halib-0.1.41 → halib-0.1.42}/halib/system/__init__.py +0 -0
  28. {halib-0.1.41 → halib-0.1.42}/halib/system/cmd.py +0 -0
  29. {halib-0.1.41 → halib-0.1.42}/halib/system/filesys.py +0 -0
  30. {halib-0.1.41 → halib-0.1.42}/halib/tele_noti.py +0 -0
  31. {halib-0.1.41 → halib-0.1.42}/halib/torchloader.py +0 -0
  32. {halib-0.1.41 → halib-0.1.42}/halib.egg-info/SOURCES.txt +0 -0
  33. {halib-0.1.41 → halib-0.1.42}/halib.egg-info/dependency_links.txt +0 -0
  34. {halib-0.1.41 → halib-0.1.42}/halib.egg-info/requires.txt +0 -0
  35. {halib-0.1.41 → halib-0.1.42}/halib.egg-info/top_level.txt +0 -0
  36. {halib-0.1.41 → halib-0.1.42}/setup.cfg +0 -0
  37. {halib-0.1.41 → halib-0.1.42}/test/test15.py +0 -0
  38. {halib-0.1.41 → halib-0.1.42}/test/test_df_creator.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: halib
3
- Version: 0.1.41
3
+ Version: 0.1.42
4
4
  Summary: Small library for common tasks
5
5
  Author: Hoang Van Ha
6
6
  Author-email: hoangvanhauit@gmail.com
@@ -14,6 +14,10 @@ Description-Content-Type: text/markdown
14
14
  License-File: LICENSE.txt
15
15
 
16
16
  Helper package for coding and automation
17
+
18
+ **Version 0.1.42**
19
+ + add <rich_color.py>: add basic color list (for easy usage)
20
+
17
21
  **Version 0.1.41**
18
22
  + add <rich_color.py> to display rich color information in <rich> python package (rcolor_str, rcolor_pallet_all, etc.)
19
23
 
@@ -1,4 +1,8 @@
1
1
  Helper package for coding and automation
2
+
3
+ **Version 0.1.42**
4
+ + add <rich_color.py>: add basic color list (for easy usage)
5
+
2
6
  **Version 0.1.41**
3
7
  + add <rich_color.py> to display rich color information in <rich> python package (rcolor_str, rcolor_pallet_all, etc.)
4
8
 
@@ -212,9 +212,31 @@ all_colors = [
212
212
  "grey93",
213
213
  ]
214
214
 
215
+ basic_colors = [
216
+ "black",
217
+ "red",
218
+ "green",
219
+ "yellow",
220
+ "blue",
221
+ "magenta",
222
+ "cyan",
223
+ "white",
224
+ "bright_black",
225
+ "bright_red",
226
+ "bright_green",
227
+ "bright_yellow",
228
+ "bright_blue",
229
+ "bright_magenta",
230
+ "bright_cyan",
231
+ "bright_white",
232
+ ]
233
+
215
234
  def rcolor_all_str():
216
235
  pprint(all_colors)
217
236
 
237
+ def rcolor_basic_str():
238
+ pprint(basic_colors)
239
+
218
240
  def rcolor_str(in_str, color="white"):
219
241
  assert color in all_colors, f"color must be one of {all_colors}"
220
242
  return f"[{color}]{in_str}[/{color}]"
@@ -255,5 +277,9 @@ def rcolor_palette(color_list):
255
277
 
256
278
  # Print the table
257
279
  console.print(table)
280
+
281
+ def rcolor_palette_basic():
282
+ rcolor_palette(basic_colors)
283
+
258
284
  def rcolor_palette_all():
259
285
  rcolor_palette(all_colors)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: halib
3
- Version: 0.1.41
3
+ Version: 0.1.42
4
4
  Summary: Small library for common tasks
5
5
  Author: Hoang Van Ha
6
6
  Author-email: hoangvanhauit@gmail.com
@@ -14,6 +14,10 @@ Description-Content-Type: text/markdown
14
14
  License-File: LICENSE.txt
15
15
 
16
16
  Helper package for coding and automation
17
+
18
+ **Version 0.1.42**
19
+ + add <rich_color.py>: add basic color list (for easy usage)
20
+
17
21
  **Version 0.1.41**
18
22
  + add <rich_color.py> to display rich color information in <rich> python package (rcolor_str, rcolor_pallet_all, etc.)
19
23
 
@@ -8,7 +8,7 @@ with open("requirements.txt") as f:
8
8
 
9
9
  setuptools.setup(
10
10
  name="halib",
11
- version="0.1.41",
11
+ version="0.1.42",
12
12
  author="Hoang Van Ha",
13
13
  author_email="hoangvanhauit@gmail.com",
14
14
  description="Small library for common tasks",
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
File without changes
File without changes
File without changes
File without changes
File without changes