radboy 0.0.531__py3-none-any.whl → 0.0.532__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.

Potentially problematic release.


This version of radboy might be problematic. Click here for more details.

radboy/DB/Prompt.py CHANGED
@@ -49,25 +49,42 @@ except Exception as e:
49
49
  ru_maxrss=0
50
50
  return use()
51
51
 
52
+ def std_colorize(m,n,c,start=f"[Prompt]{Back.grey_27}{Fore.pale_turquoise_1} Start {'*'*(os.get_terminal_size().columns-(len(Fore.pale_turquoise_1)+(len(Fore.grey_27)*2)+len(Style.reset)))}{Style.reset}\n",end=f"\n{Back.grey_50}{Fore.dark_red_1}{'-'*(os.get_terminal_size().columns-(len(Fore.dark_red_1)+(len(Fore.grey_50)*2)+len(Style.reset)))} Stop {Style.reset}"):
53
+ if ((n % 2) != 0) and n > 0:
54
+ msg=f'{start}{Fore.cyan}{n}/{Fore.light_yellow}{n+1}{Fore.light_red} of {c} {Fore.dark_goldenrod}{m}{Style.reset}{end}'
55
+ else:
56
+ msg=f'{start}{Fore.light_cyan}{n}/{Fore.green_yellow}{n+1}{Fore.orange_red_1} of {c} {Fore.light_salmon_1}{m}{Style.reset}{end}'
57
+ return msg
58
+
52
59
  def timedout(ptext,htext='',timeout_returnable="timeout"):
53
60
  try:
54
61
  while True:
55
62
  t=db.BooleanAnswers.timeout
56
63
  past=datetime.now()
57
- if htext != '':
58
- user_input = inputimeout(prompt=f"{db.BooleanAnswers.timeout_msg}{htext}\n{ptext}({t} Seconds Passed='timeout' returned from {past.strftime("%I:%M:%S %p(12H)/%H:%M:%S(24H)")}):", timeout=t)
59
- else:
60
- user_input = inputimeout(prompt=f"{db.BooleanAnswers.timeout_msg}{ptext}({t} Seconds Passed='timeout' returned from {past.strftime("%I:%M:%S %p(12H)/%H:%M:%S(24H)")}):", timeout=t)
61
- if user_input in ['fb','fastboot']:
64
+ user_input = inputimeout(prompt=f"{db.BooleanAnswers.timeout_msg}{ptext}({t} Seconds Passed='timeout' returned from {past.strftime("%I:%M:%S %p(12H)/%H:%M:%S(24H)")}):", timeout=t)
65
+ if user_input.lower() in ['help','h','?']:
66
+ print(htext)
67
+ h=[]
68
+ z=f'''{Fore.light_steel_blue}fb,fastboot - {Fore.light_green}set timeout to 0 and continue{Style.reset}
69
+ {Fore.light_steel_blue}fba,fastboot-auto,autoboot,timeout -{Fore.light_green} set timeout to 0 and return {timeout_returnable}{Style.reset}
70
+ {Fore.light_steel_blue}lb,longboot - {Fore.light_green}set timeout to {db.BooleanAnswers.long_boot_time} and continue{Style.reset}
71
+ {Fore.light_steel_blue}sto,set to,set timeout - {Fore.light_green}set timeout to custom value and continue{Style.reset}
72
+ '''.split("\n")
73
+ ct=len(z)
74
+ for num,i in enumerate(z):
75
+ h.append(std_colorize(i,num,ct))
76
+ print('\n'.join(h))
77
+ continue
78
+ elif user_input in ['fb','fastboot']:
62
79
  db.BooleanAnswers.timeout=0
63
80
  return ''
64
- if user_input in ['fba','fastboot-auto']:
81
+ elif user_input in ['fba','fastboot-auto','autoboot','timeout']:
65
82
  db.BooleanAnswers.timeout=0
66
83
  return 'autoboot'
67
84
  elif user_input in ['lb','longboot']:
68
85
  db.BooleanAnswers.timeout=db.BooleanAnswers.long_boot_time
69
86
  continue
70
- elif user_input in ['to','timeout']:
87
+ elif user_input in ['sto','set to','set timeout']:
71
88
  timeout = inputimeout(prompt=f"{db.BooleanAnswers.timeout_msg}{htext}\nSet Your Custom Timeout({t} Seconds Passed='timeout' returned from {past.strftime("%I:%M:%S %p(12H)/%H:%M:%S(24H)")}):", timeout=t)
72
89
  try:
73
90
  db.BooleanAnswers.timeout=float(timeout)
Binary file
radboy/DB/db.py CHANGED
@@ -175,7 +175,7 @@ str(uuid1()):{
175
175
  user_input = timedout(f"Boot CMDS(timeout=autoboot from)",htext=BooleanAnswers.help)
176
176
  #user_input = inputimeout(prompt=f"{BooleanAnswers.timeout_msg}Boot CMDS({t} Seconds Passed=autoboot from {past.strftime("%I:%M:%S %p(12H)/%H:%M:%S(24H)")}):", timeout=t)
177
177
  print(f"You entered: {user_input}")
178
- if user_input in ['fb','fastboot','fba','fastboot-auto']:
178
+ if user_input in ['fb','fastboot','fba','fastboot-auto','timeout']:
179
179
  BooleanAnswers.timeout=0
180
180
  user_input="autoboot"
181
181
  if user_input in ['longboot','lb']:
@@ -184,6 +184,7 @@ str(uuid1()):{
184
184
  except TimeoutOccurred:
185
185
  print("Time's up! No input received.")
186
186
  user_input = "autoboot"
187
+ break
187
188
 
188
189
  #user_input=z
189
190
  #print(user_input)
@@ -755,7 +756,7 @@ class EntryExtras:
755
756
  def __neg__(self):
756
757
  return -self.Price
757
758
 
758
- def std_colorize(m,n,c,start=f"{Back.grey_27}{Fore.pale_turquoise_1} Start {'*'*(os.get_terminal_size().columns-(len(Fore.pale_turquoise_1)+(len(Fore.grey_27)*2)+len(Style.reset)))}{Style.reset}\n",end=f"\n{Back.grey_50}{Fore.dark_red_1}{'-'*(os.get_terminal_size().columns-(len(Fore.dark_red_1)+(len(Fore.grey_50)*2)+len(Style.reset)))} Stop {Style.reset}"):
759
+ def std_colorize(m,n,c,start=f"[DB]{Back.grey_27}{Fore.pale_turquoise_1} Start {'*'*(os.get_terminal_size().columns-(len(Fore.pale_turquoise_1)+(len(Fore.grey_27)*2)+len(Style.reset)))}{Style.reset}\n",end=f"\n{Back.grey_50}{Fore.dark_red_1}{'-'*(os.get_terminal_size().columns-(len(Fore.dark_red_1)+(len(Fore.grey_50)*2)+len(Style.reset)))} Stop {Style.reset}"):
759
760
  if ((n % 2) != 0) and n > 0:
760
761
  msg=f'{start}{Fore.cyan}{n}/{Fore.light_yellow}{n+1}{Fore.light_red} of {c} {Fore.dark_goldenrod}{m}{Style.reset}{end}'
761
762
  else:
radboy/__init__.py CHANGED
@@ -1 +1 @@
1
- VERSION='0.0.531'
1
+ VERSION='0.0.532'
Binary file
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: radboy
3
- Version: 0.0.531
3
+ Version: 0.0.532
4
4
  Summary: A Retail Calculator for Android/Linux
5
5
  Author: Carl Joseph Hirner III
6
6
  Author-email: Carl Hirner III <k.j.hirner.wisdom@gmail.com>
@@ -5,7 +5,7 @@ radboy/Holidays.txt,sha256=y-JZPihh5iaWKxMIHNXD39yVuVmf1vMs4FdNDcg0f1Y,3114
5
5
  radboy/InventoryGlossary.txt,sha256=018-Yqca6DFb10jPdkUY-5qhkRlQN1k3rxoTaERQ-LA,91008
6
6
  radboy/RecordMyCodes.py,sha256=Lt2reA6xchq3U7Y08DvkrHboZ25i1ts7X2E9gSIwcVg,41101
7
7
  radboy/Run.py,sha256=JUoCTHnzQBv7n8PB2_i93ANdAC_iW__RkAge8esCnk4,76
8
- radboy/__init__.py,sha256=p3P2-8fCvSJEWokWqJNgNOzI5ZdfBCjQPWiQNf3LkYQ,17
8
+ radboy/__init__.py,sha256=yjpG3Yd0u_ic00bnKJvKgHpAlHTJeol3nGzSB7TPPPo,17
9
9
  radboy/api_key,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
10
10
  radboy/case-export-2024-05-14-13-10-00.672971.xlsx,sha256=Wd592d_VLFmfUI9KKKSVjNwjV91euc1T7ATyvwvUhlg,5431
11
11
  radboy/case-export-2024-05-14-13-13-22.540614.xlsx,sha256=OnGrhmScHfGp_mVaWW-LNMsqrQgyZDpiU3wV-2s3U5Q,5556
@@ -84,14 +84,14 @@ radboy/DB/ExerciseTracker.py,sha256=G4qHQcK27FJxQikD4msZmo29AIbv8pFmEkF54OwVIhA,
84
84
  radboy/DB/PayDay.py,sha256=H2kPGvBCDkMOz7lbxQhYtUt_oAInpxi37Q6MFrah98I,8710
85
85
  radboy/DB/PayModels.py,sha256=hjwWxP7PL33hmfzQl5YTf0HqzaMxXJxFknPdxFJXJc8,3499
86
86
  radboy/DB/PrintLogging.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
87
- radboy/DB/Prompt.py,sha256=JuZPxppSNFDLRoJTS0voGEgGsLuGG6MxLFjGxRpGOvw,153113
87
+ radboy/DB/Prompt.py,sha256=Ofap2-BvCLho9wCugrNPQowTAPufcuPeXChZ4fybyHw,154439
88
88
  radboy/DB/RandomStringUtil.py,sha256=eZCpR907WStgfbk4Evcghjv9hOkUDXH-iMXIq0-kXq8,24386
89
89
  radboy/DB/ResetTools.py,sha256=RbI-Ua7UlsN0S9qLqtEkTWvzyTZ6R-hHR3CW4NHlUPE,6660
90
90
  radboy/DB/SMLabelImporter.py,sha256=eUoBDxVUUEKGL2g_PwkASM67ZB7FmXtSnn4bCagskhY,4013
91
91
  radboy/DB/__init__.py,sha256=JiigA9B7GalP7YuRdcwyGDu5PDSBahoi0lLjtScxlN8,49
92
92
  radboy/DB/blankDataFile.py,sha256=YX_05Usi71UpDkZN9UTMYwUipbTndTAtEgqzBEga0kE,9285
93
93
  radboy/DB/config.py,sha256=bvu43dUl1_yO3Zq3gsLuenGUgJSiS3S9Cs6ppFEvZbg,239
94
- radboy/DB/db.py,sha256=TtIa1uxmf1iE_C_RINd29gGsd7rPrfj2d0tbpy-kyik,247492
94
+ radboy/DB/db.py,sha256=Hf8ZWU3s3IfsqomJxU9Mb0jt1odNTvJ_NPUpoIOfhSk,247528
95
95
  radboy/DB/glossary_db.py,sha256=1_qxeEpjjEtpWB_eDjsgJisimLv7OBm75MuqM-Lt6zg,28218
96
96
  radboy/DB/masterLookup.py,sha256=DBaM2uscG3_X5dek49wjdnOzhrjWhKgvOEz_umdz0mY,4566
97
97
  radboy/DB/msg.txt,sha256=YxWed6A6tuP1djJ5QPS2Rz3ING4TKKf8kUiCCPtzHXE,7937
@@ -108,7 +108,7 @@ radboy/DB/__pycache__/FormBuilder.cpython-312.pyc,sha256=p1o-5SMRL8OXP_XQ5liUpf-
108
108
  radboy/DB/__pycache__/PrintLogging.cpython-312.pyc,sha256=pIAFqTi6OiQQORSc-oMH1zAbsdH7sY1TifxrN_QOvnU,148
109
109
  radboy/DB/__pycache__/Prompt.cpython-311.pyc,sha256=P2uPRpeqfLFtxieZ0JHBG3X_HZzWUCsFSLb_fpRqky0,6407
110
110
  radboy/DB/__pycache__/Prompt.cpython-312.pyc,sha256=6CcQ1gE2hcz3cKPjo4f6d7xNM2PTDnl8NzQG0Pme5BE,142886
111
- radboy/DB/__pycache__/Prompt.cpython-313.pyc,sha256=68Xplu56r6_PquKubv1l2NV6ChFzy_evdRZ70m5gx6o,231695
111
+ radboy/DB/__pycache__/Prompt.cpython-313.pyc,sha256=ZAdUOliqCMsr1Q_JFU-3-uaYiy0d4Xkl9zsXfEbepXA,234983
112
112
  radboy/DB/__pycache__/RandomStringUtil.cpython-312.pyc,sha256=TrbEY89MuLmNlvoo5d8vOE6Dyshh5_EMlTZvk8MDVN4,48597
113
113
  radboy/DB/__pycache__/RandomStringUtil.cpython-313.pyc,sha256=MCcgVwV2Y-9rAY2FVaJZCKcou3HDX70EZudoiCigT0o,49217
114
114
  radboy/DB/__pycache__/ResetTools.cpython-311.pyc,sha256=4Vyc57iAAF0yRPjjglnVKovnTn8OoFIi6Zok3Wpj_YM,9292
@@ -126,7 +126,7 @@ radboy/DB/__pycache__/config.cpython-312.pyc,sha256=Qo7E6MHrF6yqvKgepNFyCoekZXiv
126
126
  radboy/DB/__pycache__/config.cpython-313.pyc,sha256=_8wCIg_3jhyJjxnExD2Sm6aY-uZTw036p7Ki5znL7dc,376
127
127
  radboy/DB/__pycache__/db.cpython-311.pyc,sha256=rNgigyBd0D-cg1JxKAS8t0B_k0IEJivgVlRaZE10Xis,210105
128
128
  radboy/DB/__pycache__/db.cpython-312.pyc,sha256=ANDJPC0RoavbmSKFxG15vC7B4rEGyVt7xRJt7XGY3OA,334609
129
- radboy/DB/__pycache__/db.cpython-313.pyc,sha256=OeCc3Mm6CiYQnz0ptC4unXccttcpfb9BprZX57XbP-A,393413
129
+ radboy/DB/__pycache__/db.cpython-313.pyc,sha256=5REjXS7GO3uPjazkOiWZdLuTyR6Tf3MCiDAOD2x0c3U,393432
130
130
  radboy/DB/__pycache__/glossary_db.cpython-312.pyc,sha256=8UL-29cKqtKovx0BANm6kzKKteef1BW_2qF3wumzst4,36023
131
131
  radboy/DB/__pycache__/glossary_db.cpython-313.pyc,sha256=Ke9bkvllGv5CK0JdT9DRvQ3MOdrXxoYv7TVLNkqLux0,36582
132
132
  radboy/DB/__pycache__/masterLookup.cpython-312.pyc,sha256=bQiOkmMwwHgcO18tYSWGQ-YUff4GQlKVhBMp1GoWAqY,6324
@@ -397,7 +397,7 @@ radboy/__pycache__/Run.cpython-311.pyc,sha256=G_UEfMtkLRjR6ZpGA_BJzGenuaCcP469Y9
397
397
  radboy/__pycache__/Run.cpython-312.pyc,sha256=v4xolc3mHyla991XhpYBUbBHYT0bnJ1gE-lkFoQ4GFA,241
398
398
  radboy/__pycache__/__init__.cpython-311.pyc,sha256=R-DVbUioMOW-Fnaq7FpT5F1a5p0q3b_RW-HpLRArCAY,242
399
399
  radboy/__pycache__/__init__.cpython-312.pyc,sha256=FsFzLXOlTK8_7ixoPZzakkR8Wibt-DvXLFh-oG2QlPw,164
400
- radboy/__pycache__/__init__.cpython-313.pyc,sha256=qOLX2W8AqL14pMJzv9j0exXKGm1LbZgVRQIyqxeXJ-M,165
400
+ radboy/__pycache__/__init__.cpython-313.pyc,sha256=oKelnG8p2JcK-Ny6vBSUqyRglitVmzsA6zMh6KQdv_Y,165
401
401
  radboy/__pycache__/__init__.cpython-39.pyc,sha256=D48T6x6FUeKPfubo0sdS_ZUut3FmBvPMP7qT6rYBZzU,275
402
402
  radboy/__pycache__/possibleCode.cpython-311.pyc,sha256=zFiHyzqD8gUnIWu4vtyMYIBposiRQqaRXfcT_fOl4rU,20882
403
403
  radboy/__pycache__/possibleCode.cpython-312.pyc,sha256=tk_CO-AcsO3YZj5j6vEsw3g37UmEzWc5YgeWEoJEUg4,27922
@@ -422,7 +422,7 @@ radboy/tkGui/Images/__pycache__/__init__.cpython-311.pyc,sha256=tXBYpqbOlZ24B1BI
422
422
  radboy/tkGui/__pycache__/BeginnersLuck.cpython-311.pyc,sha256=xLQOnV1wuqHGaub16mPX0dDMGU9ryCeLtNz5e517_GE,3004
423
423
  radboy/tkGui/__pycache__/Review.cpython-311.pyc,sha256=wKq24iM6Xe2OampgZ7-8U6Nvmgs2y-qWOrGwtWhc75k,4047
424
424
  radboy/tkGui/__pycache__/__init__.cpython-311.pyc,sha256=BX7DBn5qbvKTvlrKOP5gzTBPBTeTgSMjBW6EMl7N8e0,230
425
- radboy-0.0.531.dist-info/METADATA,sha256=HiINMpfzgxCfYJjzejzY4Hs8RCvLxiGu_wIlPPVNsSY,1615
426
- radboy-0.0.531.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
427
- radboy-0.0.531.dist-info/top_level.txt,sha256=mlM0RWMUxGo1YHnlLmYrHOgGdK4XNRpr7nMFD5lR56c,7
428
- radboy-0.0.531.dist-info/RECORD,,
425
+ radboy-0.0.532.dist-info/METADATA,sha256=rmT2axSz-90TF0zLxyxpq6KLDDrvjYDdrsJ5JqTzQqw,1615
426
+ radboy-0.0.532.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
427
+ radboy-0.0.532.dist-info/top_level.txt,sha256=mlM0RWMUxGo1YHnlLmYrHOgGdK4XNRpr7nMFD5lR56c,7
428
+ radboy-0.0.532.dist-info/RECORD,,