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

@@ -1150,11 +1150,14 @@ fxtbl - update table with correct columns
1150
1150
  #else:
1151
1151
  # pass
1152
1152
  #
1153
- print('HERE4')
1153
+ #print('HERE4')
1154
1154
  if orderByTotalValue:
1155
1155
  totals_ordered_keys=OrderedDict({})
1156
1156
  for key in totals:
1157
- totals_ordered_keys[key]=round(((total_crv[key]+total_tax[key]+total_price[key])/total_expense)*100,ROUNDTO)
1157
+ try:
1158
+ totals_ordered_keys[key]=decc(((total_crv[key]+total_tax[key]+total_price[key])/total_expense)*100,cf=ROUNDTO)
1159
+ except Exception as e:
1160
+ totals_ordered_keys[key]=0
1158
1161
  #need to sort dictionary
1159
1162
  #according to -> round(((total_crv[key]+total_tax[key]+total_price[key])/total_expense)*100,ROUNDTO)
1160
1163
  totals_ordered_keys=OrderedDict(sorted(totals_ordered_keys.items(),key=lambda item:item[1],reverse=not reverse))
@@ -1176,7 +1179,7 @@ fxtbl - update table with correct columns
1176
1179
  counter+=1
1177
1180
  if counter >= len(fields_for_total):
1178
1181
  continue
1179
- print('HERE6')
1182
+ #print('HERE6')
1180
1183
  print(decc(total_crv[key],cf=ROUNDTO),decc(total_tax[key],cf=ROUNDTO),decc(total_price[key],cf=ROUNDTO),decc(total_expense,cf=ROUNDTO))
1181
1184
  try:
1182
1185
  msg=f"{Fore.orange_red_1}{decc((decc(total_crv[key],cf=ROUNDTO)+decc(total_tax[key],cf=ROUNDTO)+decc(total_price[key])),cf=ROUNDTO)/decc(total_expense*100,cf=ROUNDTO)}% of {decc(total_expense,cf=ROUNDTO)} ** {Fore.light_cyan}{num}/{Fore.light_yellow}{num+1} of {Fore.light_red}{totals_len}{Fore.light_sea_green} '{dl.Name}' = {Fore.grey_70}{decc(totals[key],cf=ROUNDTO)} acquired,{Fore.dark_goldenrod} From {date_from} {Fore.dark_green}To {date_to},{Fore.spring_green_3a}for a period of {date_to-date_from},{Fore.medium_violet_red} for a total cost of {decc(total_crv[key]+total_tax[key]+total_price[key],cf=ROUNDTO)} [{Fore.light_steel_blue}DayLogId({Fore.green_yellow}{dl.DayLogId}{Fore.light_steel_blue}),{Fore.cadet_blue_1}EntryId({Fore.light_sea_green}{dl.EntryId}{Fore.cadet_blue_1}){Fore.medium_violet_red}].{Style.reset}\n"
@@ -1185,7 +1188,7 @@ fxtbl - update table with correct columns
1185
1188
  if export:
1186
1189
  logInput(msg,user=False,filter_colors=True,maxed_hfl=False,ofile=text_cr_export)
1187
1190
  print(msg)
1188
- print('HERE7')
1191
+ #print('HERE7')
1189
1192
  ex=f"{Fore.light_red}Duration:{Fore.light_steel_blue}{datetime.now()-local_start}|{Fore.light_cyan}OrderByFinalValue[{Fore.deep_pink_4c}{orderByTotalValue}{Fore.light_cyan}]|GraphIt[{Fore.deep_pink_4c}{graph_it}{Fore.light_cyan}]|Export[{Fore.deep_pink_4c}{export}{Fore.light_cyan}]"
1190
1193
  if orderByTotalValue:
1191
1194
  reverse_state={False:'False - Desc. (First Line Oldest/Biggest,Last Line Newest/Smallest)',True:'True - Asc. (Firt Line Newest/Smallest,Last Line Newest/Biggest)'}
radboy/__init__.py CHANGED
@@ -1 +1 @@
1
- VERSION='0.0.640'
1
+ VERSION='0.0.642'
Binary file
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: radboy
3
- Version: 0.0.640
3
+ Version: 0.0.642
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=KI7Jmf3MX0Zng_YUvcjVKN2siyUOhaMAHQGzpPuX8KQ,41373
7
7
  radboy/Run.py,sha256=JUoCTHnzQBv7n8PB2_i93ANdAC_iW__RkAge8esCnk4,76
8
- radboy/__init__.py,sha256=TPEsEXioz_EnfkX_PXoTgilL79vglBdghNc7ZcTACUI,17
8
+ radboy/__init__.py,sha256=iPnvEu9T57xzVUfcaK98Zwp1azyhf1ZTkf9Opnh-DYE,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
@@ -139,7 +139,7 @@ radboy/DB/__pycache__/renderText2Png.cpython-311.pyc,sha256=ivSzvyAeWhsS-a_RcFF8
139
139
  radboy/DB/__pycache__/renderText2Png.cpython-312.pyc,sha256=1CUGjOhJw_vC4DNMQ-W5jBXEKp7HzDrq7--x9VyBTo8,8991
140
140
  radboy/DB/__pycache__/renderText2Png.cpython-313.pyc,sha256=LDJOo7uFztlxw3ptN8QuHrLkr0GKiAArBu34QiE15iQ,9096
141
141
  radboy/DB/__pycache__/testClass.cpython-311.pyc,sha256=nkWap8RuBsWWOB_ZhGbR3ELbnL1F1CHZCi0dpepqw-0,1225
142
- radboy/DayLog/DayLogger.py,sha256=MMxOzAWE7whVCOqTlVwFZmw_SpP4agE0odpadERXjDY,103996
142
+ radboy/DayLog/DayLogger.py,sha256=tKr43aHxgvVtIRLBs33YT0Qs2gCmrwEmhVRg5IJTEbk,104112
143
143
  radboy/DayLog/TaxiFares.py,sha256=3slYjtBcTnRe8IeneJ-_iZJJ3E7alW09f6GWYXPxhOo,10882
144
144
  radboy/DayLog/Wavelength4Freq.py,sha256=MfN2EATrN3bbEDgP1qOPjV1Fk8sVnkc_4tgX6sKfSE0,2054
145
145
  radboy/DayLog/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -401,7 +401,7 @@ radboy/__pycache__/Run.cpython-311.pyc,sha256=G_UEfMtkLRjR6ZpGA_BJzGenuaCcP469Y9
401
401
  radboy/__pycache__/Run.cpython-312.pyc,sha256=v4xolc3mHyla991XhpYBUbBHYT0bnJ1gE-lkFoQ4GFA,241
402
402
  radboy/__pycache__/__init__.cpython-311.pyc,sha256=R-DVbUioMOW-Fnaq7FpT5F1a5p0q3b_RW-HpLRArCAY,242
403
403
  radboy/__pycache__/__init__.cpython-312.pyc,sha256=FsFzLXOlTK8_7ixoPZzakkR8Wibt-DvXLFh-oG2QlPw,164
404
- radboy/__pycache__/__init__.cpython-313.pyc,sha256=n8vOTpF6A483FGq3fURy8jHi963U31MUctiAA4cLcVQ,165
404
+ radboy/__pycache__/__init__.cpython-313.pyc,sha256=HMimmGT0qgYShN4Rbys_flDT9F_jHFoBbsbjlkN-mS8,165
405
405
  radboy/__pycache__/__init__.cpython-39.pyc,sha256=D48T6x6FUeKPfubo0sdS_ZUut3FmBvPMP7qT6rYBZzU,275
406
406
  radboy/__pycache__/possibleCode.cpython-311.pyc,sha256=zFiHyzqD8gUnIWu4vtyMYIBposiRQqaRXfcT_fOl4rU,20882
407
407
  radboy/__pycache__/possibleCode.cpython-312.pyc,sha256=tk_CO-AcsO3YZj5j6vEsw3g37UmEzWc5YgeWEoJEUg4,27922
@@ -429,7 +429,7 @@ radboy/tkGui/Images/__pycache__/__init__.cpython-311.pyc,sha256=tXBYpqbOlZ24B1BI
429
429
  radboy/tkGui/__pycache__/BeginnersLuck.cpython-311.pyc,sha256=xLQOnV1wuqHGaub16mPX0dDMGU9ryCeLtNz5e517_GE,3004
430
430
  radboy/tkGui/__pycache__/Review.cpython-311.pyc,sha256=wKq24iM6Xe2OampgZ7-8U6Nvmgs2y-qWOrGwtWhc75k,4047
431
431
  radboy/tkGui/__pycache__/__init__.cpython-311.pyc,sha256=BX7DBn5qbvKTvlrKOP5gzTBPBTeTgSMjBW6EMl7N8e0,230
432
- radboy-0.0.640.dist-info/METADATA,sha256=FUndog67eQaUgzzkj0p-SbOSj-tNRaF3w1TfYP7-3_E,1891
433
- radboy-0.0.640.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
434
- radboy-0.0.640.dist-info/top_level.txt,sha256=mlM0RWMUxGo1YHnlLmYrHOgGdK4XNRpr7nMFD5lR56c,7
435
- radboy-0.0.640.dist-info/RECORD,,
432
+ radboy-0.0.642.dist-info/METADATA,sha256=0proZT01pAHw4-Kw6NLrhCi7nq46bL8BrZHy2TCDlWQ,1891
433
+ radboy-0.0.642.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
434
+ radboy-0.0.642.dist-info/top_level.txt,sha256=mlM0RWMUxGo1YHnlLmYrHOgGdK4XNRpr7nMFD5lR56c,7
435
+ radboy-0.0.642.dist-info/RECORD,,