radboy 0.0.465__py3-none-any.whl → 0.0.466__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/TasksMode/Tasks.py CHANGED
@@ -2182,7 +2182,18 @@ so use {Fore.orange_red_1}ls-lq/ls Shelf {Fore.light_yellow}from {Fore.light_mag
2182
2182
  else:
2183
2183
  total_price=round(round(result.Price+result.Tax,3)+round(result.CRV,3),3)
2184
2184
 
2185
- taxRate=Decimal(result.Tax/(result.Price+result.CRV)).quantize(Decimal("0.00000"))
2185
+ try:
2186
+ taxRate=Decimal(result.Tax/(result.Price+result.CRV)).quantize(Decimal("0.00000"))
2187
+ except Exception as e:
2188
+ ex=[e,str(e),repr(e)]
2189
+ ct=len(ex)
2190
+ for num,z in enumerate(ex):
2191
+ print(std_colorize(z,num,ct))
2192
+
2193
+ taxRate=Decimal('0.00000')
2194
+ result.Tax=0
2195
+ session.commit()
2196
+ session.refresh(result)
2186
2197
 
2187
2198
  hafnhaf_l=f'''{Fore.grey_70}[{Fore.light_steel_blue}ListMode Entry Info{Fore.grey_70}]{Style.reset}
2188
2199
  {Fore.orange_red_1}Cost({Fore.light_red}${Fore.light_green}{round(total_price,3)}({Fore.light_steel_blue}Price({round(result.Price,3)}),{Fore.light_sea_green}CRV({round(result.CRV,3)}),{Fore.spring_green_3a}Tax({round(result.Tax,3)}){Fore.light_green}){Style.reset}
@@ -2785,8 +2796,18 @@ Location Fields:
2785
2796
  total_price=round(result.Price+result.CRV,3)
2786
2797
  else:
2787
2798
  total_price=round(round(result.Price+result.Tax,3)+round(result.CRV,3),3)
2788
-
2789
- taxRate=Decimal(result.Tax/(result.Price+result.CRV)).quantize(Decimal("0.00000"))
2799
+ try:
2800
+ taxRate=Decimal(result.Tax/(result.Price+result.CRV)).quantize(Decimal("0.00000"))
2801
+ except Exception as e:
2802
+ ex=[e,str(e),repr(e)]
2803
+ ct=len(ex)
2804
+ for num,z in enumerate(ex):
2805
+ print(std_colorize(z,num,ct))
2806
+
2807
+ taxRate=Decimal('0.00000')
2808
+ result.Tax=0
2809
+ session.commit()
2810
+ session.refresh(result)
2790
2811
 
2791
2812
  hafnhaf=f'''{Fore.grey_70}[{Fore.light_steel_blue}ListMode Entry Info{Fore.grey_70}]
2792
2813
  {Fore.orange_red_1}Cost({Fore.light_red}${Fore.light_green}{round(total_price,3)}({Fore.light_steel_blue}Price({round(result.Price,3)}),{Fore.light_sea_green}CRV({round(result.CRV,3)}),{Fore.spring_green_3a}Tax({round(result.Tax,3)}){Fore.light_green}){Style.reset}
@@ -2896,8 +2917,19 @@ Location Fields:
2896
2917
  total_price=round(result.Price+result.CRV,3)
2897
2918
  else:
2898
2919
  total_price=round(round(result.Price+result.Tax,3)+round(result.CRV,3),3)
2899
-
2900
- taxRate=Decimal(result.Tax/(result.Price+result.CRV)).quantize(Decimal("0.00000"))
2920
+ try:
2921
+ taxRate=Decimal(result.Tax/(result.Price+result.CRV)).quantize(Decimal("0.00000"))
2922
+ except Exception as e:
2923
+ ex=[e,str(e),repr(e)]
2924
+ ct=len(ex)
2925
+ for num,z in enumerate(ex):
2926
+ print(std_colorize(z,num,ct))
2927
+
2928
+ taxRate=Decimal('0.00000')
2929
+ result.Tax=0
2930
+ session.commit()
2931
+ session.refresh(result)
2932
+
2901
2933
 
2902
2934
  hafnhaf=f'''{Fore.grey_70}[{Fore.light_steel_blue}ListMode Entry Info{Fore.grey_70}]{Style.reset}
2903
2935
  {Fore.orange_red_1}Cost({Fore.light_red}${Fore.light_green}{round(total_price,3)}({Fore.light_steel_blue}Price({round(result.Price,3)}),{Fore.light_sea_green}CRV({round(result.CRV,3)}),{Fore.spring_green_3a}Tax({round(result.Tax,3)}){Fore.light_green}){Style.reset}
radboy/__init__.py CHANGED
@@ -1 +1 @@
1
- VERSION='0.0.465'
1
+ VERSION='0.0.466'
Binary file
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: radboy
3
- Version: 0.0.465
3
+ Version: 0.0.466
4
4
  Summary: A small example package
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=uciRBIbxBuMsdgoCjv25WftJuPMPzzJ9vLXcOLBV_jI,17
8
+ radboy/__init__.py,sha256=XoRQYLPR1Acp5OBIE_Mmd5kzwFNOPOdg5tJl_JNCCQc,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
@@ -342,7 +342,7 @@ radboy/SystemSettings/__pycache__/__init__.cpython-312.pyc,sha256=aIzp4Po0t8EhSA
342
342
  radboy/SystemSettings/__pycache__/__init__.cpython-313.pyc,sha256=QFDuoidxMWsGVLsy5lN-rDs6TP8nKJ4yyCyiamNOhwo,156
343
343
  radboy/TasksMode/ReFormula.py,sha256=REDRJYub-OEOE6g14oRQOLOQwv8pHqVJy4NQk3CCM90,2255
344
344
  radboy/TasksMode/SetEntryNEU.py,sha256=TTzlAT5rNXvXUAy16BHBq0hJOKhONYpPhdAfQKdTfGw,17364
345
- radboy/TasksMode/Tasks.py,sha256=QsJUdkWnfJ0ipeILXySvnHPzeigrkkHARXsRdfN5-g4,319448
345
+ radboy/TasksMode/Tasks.py,sha256=-xJ3L2BLbaI1qxgYiJPQUo-VM7_UnvZ_yRZsEsAbAts,321222
346
346
  radboy/TasksMode/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
347
347
  radboy/TasksMode/__pycache__/ReFormula.cpython-311.pyc,sha256=QEG3PwVw-8HTd_Mf9XbVcxU56F1fC9yBqWXYPLC39DU,4865
348
348
  radboy/TasksMode/__pycache__/ReFormula.cpython-312.pyc,sha256=aX7BWm2PPjCTnxsbGUitR-2h9hq4AjaBiHMrUXvIl0Y,3967
@@ -351,7 +351,7 @@ radboy/TasksMode/__pycache__/SetEntryNEU.cpython-312.pyc,sha256=pCdFj61aPKkHL6Sv
351
351
  radboy/TasksMode/__pycache__/SetEntryNEU.cpython-313.pyc,sha256=eSWkYvfm5RuRE5rbO5wI7XxzFyKnp6KlbphSqPAF2z4,20133
352
352
  radboy/TasksMode/__pycache__/Tasks.cpython-311.pyc,sha256=6QOTJnLiXSKdF81hkhy3vyrz49PPhS20s5_0X52g3Hw,131120
353
353
  radboy/TasksMode/__pycache__/Tasks.cpython-312.pyc,sha256=hyJwdaYaaRLdcrNxgg36diJ5iijX5_3I0UAORsj-6LU,310295
354
- radboy/TasksMode/__pycache__/Tasks.cpython-313.pyc,sha256=0TBVea14_ss82xYYnHh2_2N6mH4S5CGdIbHPpSVUMq0,393181
354
+ radboy/TasksMode/__pycache__/Tasks.cpython-313.pyc,sha256=1AwkTimjUJ4nTc1JO67F43onO3xjgYtKPjquDad9vns,394761
355
355
  radboy/TasksMode/__pycache__/__init__.cpython-311.pyc,sha256=PKV1JbihEacm639b53bZozRQvcllSkjGP3q8STVMxF4,234
356
356
  radboy/TasksMode/__pycache__/__init__.cpython-312.pyc,sha256=ERgnEvRMiGSecWp1BpNzLdSq_SdKw7GvFWUvUM7bLVw,272
357
357
  radboy/TasksMode/__pycache__/__init__.cpython-313.pyc,sha256=lvsTxukyvGKB3C0rdF9dQi_bvVh6ceDVINfwcuIsd0s,151
@@ -398,7 +398,7 @@ radboy/__pycache__/Run.cpython-311.pyc,sha256=G_UEfMtkLRjR6ZpGA_BJzGenuaCcP469Y9
398
398
  radboy/__pycache__/Run.cpython-312.pyc,sha256=v4xolc3mHyla991XhpYBUbBHYT0bnJ1gE-lkFoQ4GFA,241
399
399
  radboy/__pycache__/__init__.cpython-311.pyc,sha256=R-DVbUioMOW-Fnaq7FpT5F1a5p0q3b_RW-HpLRArCAY,242
400
400
  radboy/__pycache__/__init__.cpython-312.pyc,sha256=FsFzLXOlTK8_7ixoPZzakkR8Wibt-DvXLFh-oG2QlPw,164
401
- radboy/__pycache__/__init__.cpython-313.pyc,sha256=Op4gtXcNP0joboBaJTgY-kYGj2GTD9Gtqtc0mJsRLhQ,165
401
+ radboy/__pycache__/__init__.cpython-313.pyc,sha256=X98iMLVrn4G1NycmX0EAdrNrv9vZTSafUKho9CAI0UQ,165
402
402
  radboy/__pycache__/__init__.cpython-39.pyc,sha256=D48T6x6FUeKPfubo0sdS_ZUut3FmBvPMP7qT6rYBZzU,275
403
403
  radboy/__pycache__/possibleCode.cpython-311.pyc,sha256=zFiHyzqD8gUnIWu4vtyMYIBposiRQqaRXfcT_fOl4rU,20882
404
404
  radboy/__pycache__/possibleCode.cpython-312.pyc,sha256=tk_CO-AcsO3YZj5j6vEsw3g37UmEzWc5YgeWEoJEUg4,27922
@@ -423,7 +423,7 @@ radboy/tkGui/Images/__pycache__/__init__.cpython-311.pyc,sha256=tXBYpqbOlZ24B1BI
423
423
  radboy/tkGui/__pycache__/BeginnersLuck.cpython-311.pyc,sha256=xLQOnV1wuqHGaub16mPX0dDMGU9ryCeLtNz5e517_GE,3004
424
424
  radboy/tkGui/__pycache__/Review.cpython-311.pyc,sha256=wKq24iM6Xe2OampgZ7-8U6Nvmgs2y-qWOrGwtWhc75k,4047
425
425
  radboy/tkGui/__pycache__/__init__.cpython-311.pyc,sha256=BX7DBn5qbvKTvlrKOP5gzTBPBTeTgSMjBW6EMl7N8e0,230
426
- radboy-0.0.465.dist-info/METADATA,sha256=HvNan72UcA7c1x_3wdultVNN9juLFoTAKncCzDFhc50,1601
427
- radboy-0.0.465.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
428
- radboy-0.0.465.dist-info/top_level.txt,sha256=mlM0RWMUxGo1YHnlLmYrHOgGdK4XNRpr7nMFD5lR56c,7
429
- radboy-0.0.465.dist-info/RECORD,,
426
+ radboy-0.0.466.dist-info/METADATA,sha256=an3niBIayu7F7Y1PshivoD6O6lmLJgbPakmPvRaACko,1601
427
+ radboy-0.0.466.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
428
+ radboy-0.0.466.dist-info/top_level.txt,sha256=mlM0RWMUxGo1YHnlLmYrHOgGdK4XNRpr7nMFD5lR56c,7
429
+ radboy-0.0.466.dist-info/RECORD,,