radboy 0.0.645__py3-none-any.whl → 0.0.646__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 +59 -0
- 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.646.dist-info}/METADATA +1 -1
- {radboy-0.0.645.dist-info → radboy-0.0.646.dist-info}/RECORD +8 -8
- {radboy-0.0.645.dist-info → radboy-0.0.646.dist-info}/WHEEL +0 -0
- {radboy-0.0.645.dist-info → radboy-0.0.646.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={
|
|
@@ -877,6 +925,16 @@ SALES TAX ON APPLICABLE TANGIBLE ITEMS = (PRICE + CRV) * TTL TAX RATE
|
|
|
877
925
|
'cmds':generate_cmds(startcmd=['salary','sal','slry'],endCmd=['2hours','2hr','tohr','tohour','-hour','-hr']),
|
|
878
926
|
'desc':f'{Fore.light_yellow}Annual Salary{Fore.medium_violet_red} from hourly wage rate and hours worked{Style.reset}',
|
|
879
927
|
'exec':hourlyWageToSalary
|
|
928
|
+
},
|
|
929
|
+
f'{uuid1()}':{
|
|
930
|
+
'cmds':generate_cmds(startcmd=['hourly','hrly'],endCmd=['frm salary','frm sal','frm slry','frmsalary','.salary','.slry']),
|
|
931
|
+
'desc':f'{Fore.light_yellow}Hourly wage{Fore.medium_violet_red} from hours worked and salary{Style.reset}',
|
|
932
|
+
'exec':hourlyWageFromSalaryAndHoursWorked
|
|
933
|
+
},
|
|
934
|
+
f'{uuid1()}':{
|
|
935
|
+
'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']),
|
|
936
|
+
'desc':f'{Fore.light_yellow}Hours worked{Fore.medium_violet_red} from wage rate and salary{Style.reset}',
|
|
937
|
+
'exec':hoursWorkedFromAnnualSalaryAndWage
|
|
880
938
|
},
|
|
881
939
|
f'{uuid1()}':{
|
|
882
940
|
'cmds':generate_cmds(startcmd=['hash','hsh','checksum','cksm'],endCmd=['text','txt','t',]),
|
|
@@ -888,6 +946,7 @@ SALES TAX ON APPLICABLE TANGIBLE ITEMS = (PRICE + CRV) * TTL TAX RATE
|
|
|
888
946
|
'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
947
|
'exec':tax_info
|
|
890
948
|
},
|
|
949
|
+
|
|
891
950
|
|
|
892
951
|
}
|
|
893
952
|
self.options[f'{uuid1()}']={
|
|
Binary file
|
radboy/__init__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
VERSION='0.0.
|
|
1
|
+
VERSION='0.0.646'
|
|
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=EZgpUOz9at9SYan4kMsQtKYUOcPSQ8KoA-K1edFdbEg,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=7qx0UvsGNCaq279oJQlEVuQtSLgyG_Lt9GNmHYItOXo,348932
|
|
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=5_hcAA5e3R6K4JFc7HFc8fjgv3fabewLRm1tJH8ITM4,422961
|
|
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=4t6hbw8mVopZ4NKwDzJLKWmT_wE9-KYZZPz3PPvRr14,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.646.dist-info/METADATA,sha256=-jSq-0ZQQifTucMghNd0iOBHXC-McI9lkXRZ4rdI5lY,1891
|
|
433
|
+
radboy-0.0.646.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
434
|
+
radboy-0.0.646.dist-info/top_level.txt,sha256=mlM0RWMUxGo1YHnlLmYrHOgGdK4XNRpr7nMFD5lR56c,7
|
|
435
|
+
radboy-0.0.646.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|