radboy 0.0.645__py3-none-any.whl → 0.0.647__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 +90 -1
- radboy/TasksMode/__pycache__/Tasks.cpython-313.pyc +0 -0
- radboy/__init__.py +1 -1
- radboy/__pycache__/__init__.cpython-313.pyc +0 -0
- {radboy-0.0.645.dist-info → radboy-0.0.647.dist-info}/METADATA +1 -1
- {radboy-0.0.645.dist-info → radboy-0.0.647.dist-info}/RECORD +8 -8
- {radboy-0.0.645.dist-info → radboy-0.0.647.dist-info}/WHEEL +0 -0
- {radboy-0.0.645.dist-info → radboy-0.0.647.dist-info}/top_level.txt +0 -0
radboy/TasksMode/Tasks.py
CHANGED
|
@@ -582,6 +582,54 @@ SALES TAX ON APPLICABLE TANGIBLE ITEMS = (PRICE + CRV) * TTL TAX RATE
|
|
|
582
582
|
print(MSG)
|
|
583
583
|
return link,
|
|
584
584
|
|
|
585
|
+
def hourlyWageFromSalaryAndHoursWorked():
|
|
586
|
+
data={
|
|
587
|
+
'Hours Worked':{
|
|
588
|
+
'default':28,
|
|
589
|
+
'type':'dec.dec'
|
|
590
|
+
},
|
|
591
|
+
'Annual Salary':{
|
|
592
|
+
'default':19200,
|
|
593
|
+
'type':'dec.dec'
|
|
594
|
+
},
|
|
595
|
+
'Monthly Salary':{
|
|
596
|
+
'default':None,
|
|
597
|
+
'type':'dec.dec'
|
|
598
|
+
}
|
|
599
|
+
}
|
|
600
|
+
fb=FormBuilder(data=data)
|
|
601
|
+
if fb is None:
|
|
602
|
+
return
|
|
603
|
+
if fb['Monthly Salary'] is not None:
|
|
604
|
+
fb['Annual Salary']=fb['Monthly Salary']*12
|
|
605
|
+
|
|
606
|
+
wage=(fb['Annual Salary']/52)/fb['Hours Worked']
|
|
607
|
+
return wage
|
|
608
|
+
|
|
609
|
+
def hoursWorkedFromAnnualSalaryAndWage():
|
|
610
|
+
data={
|
|
611
|
+
'Wage':{
|
|
612
|
+
'default':13,
|
|
613
|
+
'type':'dec.dec'
|
|
614
|
+
},
|
|
615
|
+
'Annual Salary':{
|
|
616
|
+
'default':19200,
|
|
617
|
+
'type':'dec.dec'
|
|
618
|
+
},
|
|
619
|
+
'Monthly Salary':{
|
|
620
|
+
'default':None,
|
|
621
|
+
'type':'dec.dec'
|
|
622
|
+
}
|
|
623
|
+
}
|
|
624
|
+
fb=FormBuilder(data=data)
|
|
625
|
+
if fb is None:
|
|
626
|
+
return
|
|
627
|
+
if fb['Monthly Salary'] is not None:
|
|
628
|
+
fb['Annual Salary']=fb['Monthly Salary']*12
|
|
629
|
+
|
|
630
|
+
wage=(fb['Annual Salary']/52)/fb['Wage']
|
|
631
|
+
return wage
|
|
632
|
+
|
|
585
633
|
def hourlyWageToSalary():
|
|
586
634
|
#Hourly Rate × Hours Worked Per Week × 52 Weeks in a Year = Annual Salary
|
|
587
635
|
data={
|
|
@@ -835,7 +883,32 @@ SALES TAX ON APPLICABLE TANGIBLE ITEMS = (PRICE + CRV) * TTL TAX RATE
|
|
|
835
883
|
|
|
836
884
|
result=tax_rate
|
|
837
885
|
return result
|
|
838
|
-
|
|
886
|
+
|
|
887
|
+
def dim_weight():
|
|
888
|
+
#dimensional weight
|
|
889
|
+
data={
|
|
890
|
+
'Height':{
|
|
891
|
+
'default':2,
|
|
892
|
+
'type':'dec.dec'
|
|
893
|
+
},
|
|
894
|
+
'Width':{
|
|
895
|
+
'default':2,
|
|
896
|
+
'type':'dec.dec'
|
|
897
|
+
},
|
|
898
|
+
'Length':{
|
|
899
|
+
'default':2,
|
|
900
|
+
'type':'dec.dec'
|
|
901
|
+
},
|
|
902
|
+
'DIM Rate (USPostal:166/FedEx&&UPS:139)':{
|
|
903
|
+
'default':166,
|
|
904
|
+
'type':'dec.dec'
|
|
905
|
+
}
|
|
906
|
+
}
|
|
907
|
+
fb=FormBuilder(data=data)
|
|
908
|
+
if fb is None:
|
|
909
|
+
return
|
|
910
|
+
dim_weight=(fb['Height']*fb['Width']*fb['Length'])/fb['DIM Rate (USPostal:166/FedEx&&UPS:139)']
|
|
911
|
+
return dim_weight
|
|
839
912
|
|
|
840
913
|
self.options={
|
|
841
914
|
f'{uuid1()}':{
|
|
@@ -877,6 +950,16 @@ SALES TAX ON APPLICABLE TANGIBLE ITEMS = (PRICE + CRV) * TTL TAX RATE
|
|
|
877
950
|
'cmds':generate_cmds(startcmd=['salary','sal','slry'],endCmd=['2hours','2hr','tohr','tohour','-hour','-hr']),
|
|
878
951
|
'desc':f'{Fore.light_yellow}Annual Salary{Fore.medium_violet_red} from hourly wage rate and hours worked{Style.reset}',
|
|
879
952
|
'exec':hourlyWageToSalary
|
|
953
|
+
},
|
|
954
|
+
f'{uuid1()}':{
|
|
955
|
+
'cmds':generate_cmds(startcmd=['hourly','hrly'],endCmd=['frm salary','frm sal','frm slry','frmsalary','.salary','.slry']),
|
|
956
|
+
'desc':f'{Fore.light_yellow}Hourly wage{Fore.medium_violet_red} from hours worked and salary{Style.reset}',
|
|
957
|
+
'exec':hourlyWageFromSalaryAndHoursWorked
|
|
958
|
+
},
|
|
959
|
+
f'{uuid1()}':{
|
|
960
|
+
'cmds':generate_cmds(startcmd=['hours worked','hrs wrkd','hrswkd'],endCmd=['frm salary & rate','frm sal & rt','frm slry & rt','frmsalary&rate','.salary&.rate','.slry&.rt']),
|
|
961
|
+
'desc':f'{Fore.light_yellow}Hours worked{Fore.medium_violet_red} from wage rate and salary{Style.reset}',
|
|
962
|
+
'exec':hoursWorkedFromAnnualSalaryAndWage
|
|
880
963
|
},
|
|
881
964
|
f'{uuid1()}':{
|
|
882
965
|
'cmds':generate_cmds(startcmd=['hash','hsh','checksum','cksm'],endCmd=['text','txt','t',]),
|
|
@@ -888,6 +971,12 @@ SALES TAX ON APPLICABLE TANGIBLE ITEMS = (PRICE + CRV) * TTL TAX RATE
|
|
|
888
971
|
'desc':f'{Fore.light_yellow}Display Tax Information for Reference{Fore.medium_violet_red}this is not for everyone, just anyone that\'s been where I have been.{Style.reset}',
|
|
889
972
|
'exec':tax_info
|
|
890
973
|
},
|
|
974
|
+
f'{uuid1()}':{
|
|
975
|
+
'cmds':generate_cmds(startcmd=['dim','dimensional',],endCmd=['wt','weight.',]),
|
|
976
|
+
'desc':f'{Fore.light_yellow}Calculate dimensional weight for package {Fore.medium_violet_red}whichever is greater the actual weight, or the dimensional weight is what will be charged{Style.reset}',
|
|
977
|
+
'exec':dim_weight
|
|
978
|
+
},
|
|
979
|
+
|
|
891
980
|
|
|
892
981
|
}
|
|
893
982
|
self.options[f'{uuid1()}']={
|
|
Binary file
|
radboy/__init__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
VERSION='0.0.
|
|
1
|
+
VERSION='0.0.647'
|
|
Binary file
|
|
@@ -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=
|
|
8
|
+
radboy/__init__.py,sha256=gbgQH6qvVRwW73XW-i90bSWBV05dNhStjWeDqeZko7w,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
|
|
@@ -345,7 +345,7 @@ radboy/SystemSettings/__pycache__/__init__.cpython-312.pyc,sha256=aIzp4Po0t8EhSA
|
|
|
345
345
|
radboy/SystemSettings/__pycache__/__init__.cpython-313.pyc,sha256=QFDuoidxMWsGVLsy5lN-rDs6TP8nKJ4yyCyiamNOhwo,156
|
|
346
346
|
radboy/TasksMode/ReFormula.py,sha256=REDRJYub-OEOE6g14oRQOLOQwv8pHqVJy4NQk3CCM90,2255
|
|
347
347
|
radboy/TasksMode/SetEntryNEU.py,sha256=mkV9zAZe0lfpu_3coMuIILEzh6PgCNi7g9lJ4yDUpYM,20596
|
|
348
|
-
radboy/TasksMode/Tasks.py,sha256=
|
|
348
|
+
radboy/TasksMode/Tasks.py,sha256=y1jYMFlkNukO7VdhwKZaNDvZQnauy0lPxYuNcc9xdc8,350295
|
|
349
349
|
radboy/TasksMode/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
350
350
|
radboy/TasksMode/__pycache__/ReFormula.cpython-311.pyc,sha256=QEG3PwVw-8HTd_Mf9XbVcxU56F1fC9yBqWXYPLC39DU,4865
|
|
351
351
|
radboy/TasksMode/__pycache__/ReFormula.cpython-312.pyc,sha256=aX7BWm2PPjCTnxsbGUitR-2h9hq4AjaBiHMrUXvIl0Y,3967
|
|
@@ -354,7 +354,7 @@ radboy/TasksMode/__pycache__/SetEntryNEU.cpython-312.pyc,sha256=pCdFj61aPKkHL6Sv
|
|
|
354
354
|
radboy/TasksMode/__pycache__/SetEntryNEU.cpython-313.pyc,sha256=jMSrUX9pvEhf67uVwrPE2ZlBCems8V7tHJ1LcC15ovU,24603
|
|
355
355
|
radboy/TasksMode/__pycache__/Tasks.cpython-311.pyc,sha256=6QOTJnLiXSKdF81hkhy3vyrz49PPhS20s5_0X52g3Hw,131120
|
|
356
356
|
radboy/TasksMode/__pycache__/Tasks.cpython-312.pyc,sha256=hyJwdaYaaRLdcrNxgg36diJ5iijX5_3I0UAORsj-6LU,310295
|
|
357
|
-
radboy/TasksMode/__pycache__/Tasks.cpython-313.pyc,sha256=
|
|
357
|
+
radboy/TasksMode/__pycache__/Tasks.cpython-313.pyc,sha256=SgXOcke9UfWFX1mIk3xOIdTf3772Z-jiYpYyM-x9_6w,423901
|
|
358
358
|
radboy/TasksMode/__pycache__/__init__.cpython-311.pyc,sha256=PKV1JbihEacm639b53bZozRQvcllSkjGP3q8STVMxF4,234
|
|
359
359
|
radboy/TasksMode/__pycache__/__init__.cpython-312.pyc,sha256=ERgnEvRMiGSecWp1BpNzLdSq_SdKw7GvFWUvUM7bLVw,272
|
|
360
360
|
radboy/TasksMode/__pycache__/__init__.cpython-313.pyc,sha256=lvsTxukyvGKB3C0rdF9dQi_bvVh6ceDVINfwcuIsd0s,151
|
|
@@ -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=
|
|
404
|
+
radboy/__pycache__/__init__.cpython-313.pyc,sha256=k4A3ObcNfMIxU3sO46WbGHAGkSlI9XaihhirMxKImVE,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.
|
|
433
|
-
radboy-0.0.
|
|
434
|
-
radboy-0.0.
|
|
435
|
-
radboy-0.0.
|
|
432
|
+
radboy-0.0.647.dist-info/METADATA,sha256=fo8pk5cWLPSodh0EfJfujt7E9w19Sdf_HVC8BCcJs_U,1891
|
|
433
|
+
radboy-0.0.647.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
434
|
+
radboy-0.0.647.dist-info/top_level.txt,sha256=mlM0RWMUxGo1YHnlLmYrHOgGdK4XNRpr7nMFD5lR56c,7
|
|
435
|
+
radboy-0.0.647.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|