dcicutils 8.8.3.1b16__py3-none-any.whl → 8.8.3.1b18__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
dcicutils/progress_bar.py CHANGED
@@ -335,7 +335,15 @@ class ProgressBar:
335
335
  nonlocal sys_stdout_write
336
336
  if sys_stdout_write is not None:
337
337
  sys.stdout.write = sys_stdout_write
338
+ def ascii_spinners() -> list: # noqa
339
+ # Fun with ASCII spinners.
340
+ return list("⣾⣽⣻⢿⡿⣟⣯⣷") # borrowed from rich python package
341
+ # return list("⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏") # borrowed from rich python package
342
+ # return list("⠿⠻⠽⠾⠷⠯⠟")
343
+ # return list("⠏⠛⠹⠼⠶⠧")
344
+ # return list("⠻⠽⠾⠷⠯⠟")
345
+ # return list("|/—◦\\")
338
346
  sys.stdout.write = tidy_stdout_write
339
- spina = ["|", "/", "—", "◦", "\\"] ; spini = 0 ; spinn = len(spina) # noqa
347
+ spina = ascii_spinners() ; spini = 0 ; spinn = len(spina) # noqa
340
348
  sentinel = "[progress]" ; sentinel_internal = f"{sentinel}:" # noqa
341
349
  return namedtuple("tidy_output_hack", ["restore", "sentinel"])(restore_stdout_write, sentinel)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: dcicutils
3
- Version: 8.8.3.1b16
3
+ Version: 8.8.3.1b18
4
4
  Summary: Utility package for interacting with the 4DN Data Portal and other 4DN resources
5
5
  Home-page: https://github.com/4dn-dcic/utils
6
6
  License: MIT
@@ -48,7 +48,7 @@ dcicutils/obfuscation_utils.py,sha256=fo2jOmDRC6xWpYX49u80bVNisqRRoPskFNX3ymFAmj
48
48
  dcicutils/opensearch_utils.py,sha256=V2exmFYW8Xl2_pGFixF4I2Cc549Opwe4PhFi5twC0M8,1017
49
49
  dcicutils/portal_object_utils.py,sha256=gDXRgPsRvqCFwbC8WatsuflAxNiigOnqr0Hi93k3AgE,15422
50
50
  dcicutils/portal_utils.py,sha256=DYyE5o15GekDgzpJWas9iS7klAYbjJZUPW0G42McArk,30779
51
- dcicutils/progress_bar.py,sha256=th-M7Q1UfkmQWc8M36lfVoRhFAQVRT9fSpdHi5RHqNY,17389
51
+ dcicutils/progress_bar.py,sha256=v3BpdWchXmDxgK31r7_I4watQbiLSYrm6O8NuwhGzec,17833
52
52
  dcicutils/project_utils.py,sha256=qPdCaFmWUVBJw4rw342iUytwdQC0P-XKpK4mhyIulMM,31250
53
53
  dcicutils/qa_checkers.py,sha256=cdXjeL0jCDFDLT8VR8Px78aS10hwNISOO5G_Zv2TZ6M,20534
54
54
  dcicutils/qa_utils.py,sha256=TT0SiJWiuxYvbsIyhK9VO4uV_suxhB6CpuC4qPacCzQ,160208
@@ -72,8 +72,8 @@ dcicutils/trace_utils.py,sha256=g8kwV4ebEy5kXW6oOrEAUsurBcCROvwtZqz9fczsGRE,1769
72
72
  dcicutils/validation_utils.py,sha256=cMZIU2cY98FYtzK52z5WUYck7urH6JcqOuz9jkXpqzg,14797
73
73
  dcicutils/variant_utils.py,sha256=2H9azNx3xAj-MySg-uZ2SFqbWs4kZvf61JnK6b-h4Qw,4343
74
74
  dcicutils/zip_utils.py,sha256=rnjNv_k6L9jT2SjDSgVXp4BEJYLtz9XN6Cl2Fy-tqnM,2027
75
- dcicutils-8.8.3.1b16.dist-info/LICENSE.txt,sha256=qnwSmfnEWMl5l78VPDEzAmEbLVrRqQvfUQiHT0ehrOo,1102
76
- dcicutils-8.8.3.1b16.dist-info/METADATA,sha256=911IvUnQQ4KuLpV7KUYEOz9rduwKZVugINSficjzMIY,3357
77
- dcicutils-8.8.3.1b16.dist-info/WHEEL,sha256=7Z8_27uaHI_UZAc4Uox4PpBhQ9Y5_modZXWMxtUi4NU,88
78
- dcicutils-8.8.3.1b16.dist-info/entry_points.txt,sha256=51Q4F_2V10L0282W7HFjP4jdzW4K8lnWDARJQVFy_hw,270
79
- dcicutils-8.8.3.1b16.dist-info/RECORD,,
75
+ dcicutils-8.8.3.1b18.dist-info/LICENSE.txt,sha256=qnwSmfnEWMl5l78VPDEzAmEbLVrRqQvfUQiHT0ehrOo,1102
76
+ dcicutils-8.8.3.1b18.dist-info/METADATA,sha256=oHwRt6Y-OAWiaArxmykUSHO5-cbV4olDplVGpKjBy6c,3357
77
+ dcicutils-8.8.3.1b18.dist-info/WHEEL,sha256=7Z8_27uaHI_UZAc4Uox4PpBhQ9Y5_modZXWMxtUi4NU,88
78
+ dcicutils-8.8.3.1b18.dist-info/entry_points.txt,sha256=51Q4F_2V10L0282W7HFjP4jdzW4K8lnWDARJQVFy_hw,270
79
+ dcicutils-8.8.3.1b18.dist-info/RECORD,,