radboy 0.0.719__py3-none-any.whl → 0.0.720__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 +37 -31
- radboy/TasksMode/__pycache__/Tasks.cpython-313.pyc +0 -0
- radboy/__init__.py +1 -1
- radboy/__pycache__/__init__.cpython-313.pyc +0 -0
- radboy/preloader/preloader.py +5 -0
- radboy/preloader/preloader_func.py +50 -0
- {radboy-0.0.719.dist-info → radboy-0.0.720.dist-info}/METADATA +1 -1
- {radboy-0.0.719.dist-info → radboy-0.0.720.dist-info}/RECORD +10 -10
- {radboy-0.0.719.dist-info → radboy-0.0.720.dist-info}/WHEEL +0 -0
- {radboy-0.0.719.dist-info → radboy-0.0.720.dist-info}/top_level.txt +0 -0
radboy/TasksMode/Tasks.py
CHANGED
|
@@ -1162,37 +1162,6 @@ def generateWhiteNoise():
|
|
|
1162
1162
|
except Exception as e:
|
|
1163
1163
|
print(e)
|
|
1164
1164
|
|
|
1165
|
-
defaultEntries='''
|
|
1166
|
-
Aluminum Beverage Can [http://www.kadealu.com/] Stubby Container Volume: 250ml Can Ht: 92mm Can Body Diam: 66mm Can End Diam. 52/58mm Net Wt: 9.3/10.g
|
|
1167
|
-
Aluminum Beverage Can [http://www.kadealu.com/] Standard Container Volume: 330ml Can Ht: 116mm Can Body Diam: 66mm Can End Diam. 52mm Net Wt: 10.6g
|
|
1168
|
-
Aluminum Beverage Can [http://www.kadealu.com/] Standard Container Volume: 355ml Can Ht: 122mm Can Body Diam: 66mm Can End Diam. 52mm Net Wt: 11.5g
|
|
1169
|
-
Aluminum Beverage Can [http://www.kadealu.com/] Standard Container Volume: 475ml Can Ht: 158mm Can Body Diam: 66mm Can End Diam. 52mm Net Wt: 13g
|
|
1170
|
-
Aluminum Beverage Can [http://www.kadealu.com/] Standard Container Volume: 500ml Can Ht: 168mm Can Body Diam: 66mm Can End Diam. 52mm Net Wt: 13.4g
|
|
1171
|
-
Aluminum Beverage Can [http://www.kadealu.com/] Sleek Container Volume: 250ml Can Ht: 115mm Can Body Diam: 57mm Can End Diam. 52mm Net Wt: 11.4g
|
|
1172
|
-
Aluminum Beverage Can [http://www.kadealu.com/] Sleek Container Volume: 270ml Can Ht: 123mm Can Body Diam: 57mm Can End Diam. 52mm Net Wt: 13.4g
|
|
1173
|
-
Aluminum Beverage Can [http://www.kadealu.com/] Sleek Container Volume: 310ml Can Ht: 138.8mm Can Body Diam: 57mm Can End Diam. 52mm Net Wt: 9.5g
|
|
1174
|
-
Aluminum Beverage Can [http://www.kadealu.com/] Sleek Container Volume: 330ml Can Ht: 147mm Can Body Diam: 57mm Can End Diam. 52mm Net Wt: 10.8g
|
|
1175
|
-
Aluminum Beverage Can [http://www.kadealu.com/] Sleek Container Volume: 355ml Can Ht: 156mm Can Body Diam: 57mm Can End Diam. 52mm Net Wt: 10.8g
|
|
1176
|
-
Aluminum Beverage Can [http://www.kadealu.com/] Slim Container Volume: 180ml Can Ht: 104mm Can Body Diam: 53mm Can End Diam. 50mm Net Wt: 8.8g
|
|
1177
|
-
Aluminum Beverage Can [http://www.kadealu.com/] Slim Container Volume: 250ml Can Ht: 134mm Can Body Diam: 53mm Can End Diam. 50mm Net Wt: 9.1g
|
|
1178
|
-
Aluminum Beverage Can [http://www.kadealu.com/] Sleek Container Volume: 200ml Can Ht: 96mm Can Body Diam: 57mm Can End Diam. 52mm Net Wt: 11.4g
|
|
1179
|
-
'''.split("\n")
|
|
1180
|
-
with Session(ENGINE) as session:
|
|
1181
|
-
for line in defaultEntries:
|
|
1182
|
-
check=session.query(Entry).filter(or_(
|
|
1183
|
-
Entry.Barcode.icontains(line),
|
|
1184
|
-
Entry.Code.icontains(line),
|
|
1185
|
-
Entry.Name.icontains(line),
|
|
1186
|
-
)).first()
|
|
1187
|
-
if check is None:
|
|
1188
|
-
e=Entry(Barcode=line.lower(),Code=line.upper(),Name=line)
|
|
1189
|
-
session.add(e)
|
|
1190
|
-
else:
|
|
1191
|
-
session.delete(check)
|
|
1192
|
-
#e=Entry(Barcode=line.lower(),Code=line.upper(),Name=line)
|
|
1193
|
-
#session.add(e)
|
|
1194
|
-
session.commit()
|
|
1195
|
-
|
|
1196
1165
|
class TasksMode:
|
|
1197
1166
|
def networth_ui(self):
|
|
1198
1167
|
NetWorthUi()
|
|
@@ -5707,6 +5676,12 @@ where:
|
|
|
5707
5676
|
'exec':lambda self=self: OAR.CountTo(),
|
|
5708
5677
|
}
|
|
5709
5678
|
count+=1
|
|
5679
|
+
self.options[str(uuid1())]={
|
|
5680
|
+
'cmds':["#"+str(count),*[i for i in generate_cmds(startcmd=["add"],endCmd=["recycle entries",'rec. entry',])]],
|
|
5681
|
+
'desc':f"add new default recycle entries",
|
|
5682
|
+
'exec':lambda self=self:self.addRecycleEntries(),
|
|
5683
|
+
}
|
|
5684
|
+
count+=1
|
|
5710
5685
|
#self.product_history=
|
|
5711
5686
|
|
|
5712
5687
|
'''
|
|
@@ -5784,7 +5759,38 @@ where:
|
|
|
5784
5759
|
except Exception as e:
|
|
5785
5760
|
print(e)
|
|
5786
5761
|
print(type(command),f"{command}")
|
|
5762
|
+
|
|
5787
5763
|
break
|
|
5764
|
+
def addRecycleEntries(self):
|
|
5765
|
+
defaultEntries='''Aluminum Beverage Can [http://www.kadealu.com/] Stubby Container Volume: 250ml Can Ht: 92mm Can Body Diam: 66mm Can End Diam. 52/58mm Net Wt: 9.3/10.g
|
|
5766
|
+
Aluminum Beverage Can [http://www.kadealu.com/] Standard Container Volume: 330ml Can Ht: 116mm Can Body Diam: 66mm Can End Diam. 52mm Net Wt: 10.6g
|
|
5767
|
+
Aluminum Beverage Can [http://www.kadealu.com/] Standard Container Volume: 355ml Can Ht: 122mm Can Body Diam: 66mm Can End Diam. 52mm Net Wt: 11.5g
|
|
5768
|
+
Aluminum Beverage Can [http://www.kadealu.com/] Standard Container Volume: 475ml Can Ht: 158mm Can Body Diam: 66mm Can End Diam. 52mm Net Wt: 13g
|
|
5769
|
+
Aluminum Beverage Can [http://www.kadealu.com/] Standard Container Volume: 500ml Can Ht: 168mm Can Body Diam: 66mm Can End Diam. 52mm Net Wt: 13.4g
|
|
5770
|
+
Aluminum Beverage Can [http://www.kadealu.com/] Sleek Container Volume: 250ml Can Ht: 115mm Can Body Diam: 57mm Can End Diam. 52mm Net Wt: 11.4g
|
|
5771
|
+
Aluminum Beverage Can [http://www.kadealu.com/] Sleek Container Volume: 270ml Can Ht: 123mm Can Body Diam: 57mm Can End Diam. 52mm Net Wt: 13.4g
|
|
5772
|
+
Aluminum Beverage Can [http://www.kadealu.com/] Sleek Container Volume: 310ml Can Ht: 138.8mm Can Body Diam: 57mm Can End Diam. 52mm Net Wt: 9.5g
|
|
5773
|
+
Aluminum Beverage Can [http://www.kadealu.com/] Sleek Container Volume: 330ml Can Ht: 147mm Can Body Diam: 57mm Can End Diam. 52mm Net Wt: 10.8g
|
|
5774
|
+
Aluminum Beverage Can [http://www.kadealu.com/] Sleek Container Volume: 355ml Can Ht: 156mm Can Body Diam: 57mm Can End Diam. 52mm Net Wt: 10.8g
|
|
5775
|
+
Aluminum Beverage Can [http://www.kadealu.com/] Slim Container Volume: 180ml Can Ht: 104mm Can Body Diam: 53mm Can End Diam. 50mm Net Wt: 8.8g
|
|
5776
|
+
Aluminum Beverage Can [http://www.kadealu.com/] Slim Container Volume: 250ml Can Ht: 134mm Can Body Diam: 53mm Can End Diam. 50mm Net Wt: 9.1g
|
|
5777
|
+
Aluminum Beverage Can [http://www.kadealu.com/] Sleek Container Volume: 200ml Can Ht: 96mm Can Body Diam: 57mm Can End Diam. 52mm Net Wt: 11.4g
|
|
5778
|
+
'''.split("\n")
|
|
5779
|
+
with Session(ENGINE) as session:
|
|
5780
|
+
for line in defaultEntries:
|
|
5781
|
+
check=session.query(Entry).filter(or_(
|
|
5782
|
+
Entry.Barcode.icontains(line),
|
|
5783
|
+
Entry.Code.icontains(line),
|
|
5784
|
+
Entry.Name.icontains(line),
|
|
5785
|
+
)).first()
|
|
5786
|
+
if check is None:
|
|
5787
|
+
e=Entry(Barcode=line.lower(),Code=line.upper(),Name=line)
|
|
5788
|
+
session.add(e)
|
|
5789
|
+
else:
|
|
5790
|
+
session.delete(check)
|
|
5791
|
+
#e=Entry(Barcode=line.lower(),Code=line.upper(),Name=line)
|
|
5792
|
+
#session.add(e)
|
|
5793
|
+
session.commit()
|
|
5788
5794
|
|
|
5789
5795
|
def promptForOp(self,n,total,entryIdList,barcode):
|
|
5790
5796
|
with Session(ENGINE) as session:
|
|
Binary file
|
radboy/__init__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
VERSION='0.0.
|
|
1
|
+
VERSION='0.0.720'
|
|
Binary file
|
radboy/preloader/preloader.py
CHANGED
|
@@ -145,6 +145,11 @@ Here:
|
|
|
145
145
|
'desc':f'obtain the area of a circle using diameter',
|
|
146
146
|
'exec':lambda: areaCircleDiameter(),
|
|
147
147
|
},
|
|
148
|
+
f'{uuid1()}':{
|
|
149
|
+
'cmds':[i for i in generate_cmds(startcmd=['sudoku',],endCmd=['candidates','cd'])],
|
|
150
|
+
'desc':f'obtain candidates for sudoku cell',
|
|
151
|
+
'exec':lambda: sudokuCandidates(),
|
|
152
|
+
},
|
|
148
153
|
f'{uuid1()}':{
|
|
149
154
|
'cmds':['herons formula','hrns fmla'],
|
|
150
155
|
'desc':f'''
|
|
@@ -1095,6 +1095,56 @@ def circumferenceCircleDiameter():
|
|
|
1095
1095
|
circumference=2*Deimal(math.pi)*Decimal(fd['diameter']/2)
|
|
1096
1096
|
return circumference
|
|
1097
1097
|
|
|
1098
|
+
def sudokuCandidates():
|
|
1099
|
+
#get the circumference of a circle using diameter
|
|
1100
|
+
with localcontext() as ctx:
|
|
1101
|
+
ctx.prec=int(db.detectGetOrSet("lsbld ROUNDTO default",4,setValue=False,literal=True))
|
|
1102
|
+
'''
|
|
1103
|
+
2π(d/2)
|
|
1104
|
+
'''
|
|
1105
|
+
fields={
|
|
1106
|
+
'Game Symbols':{
|
|
1107
|
+
'default':'123456789',
|
|
1108
|
+
'type':'string'
|
|
1109
|
+
},
|
|
1110
|
+
'Symbols for Row':{
|
|
1111
|
+
'default':'',
|
|
1112
|
+
'type':'string'
|
|
1113
|
+
},
|
|
1114
|
+
'Symbols for Column':{
|
|
1115
|
+
'default':'',
|
|
1116
|
+
'type':'string'
|
|
1117
|
+
},
|
|
1118
|
+
'Symbols for Cell':{
|
|
1119
|
+
'default':'',
|
|
1120
|
+
'type':'string'
|
|
1121
|
+
},
|
|
1122
|
+
'Symbols for Right-Diagnal':{
|
|
1123
|
+
'default':'',
|
|
1124
|
+
'type':'string'
|
|
1125
|
+
},
|
|
1126
|
+
'Symbols for Left-Diagnal':{
|
|
1127
|
+
'default':'',
|
|
1128
|
+
'type':'string'
|
|
1129
|
+
},
|
|
1130
|
+
}
|
|
1131
|
+
fd=FormBuilder(data=fields,passThruText=f"Sudoku Candidates? ")
|
|
1132
|
+
if fd is None:
|
|
1133
|
+
return
|
|
1134
|
+
symbols=fd['Game Symbols']
|
|
1135
|
+
sString=[]
|
|
1136
|
+
for i in fd:
|
|
1137
|
+
if i == 'Game Symbols':
|
|
1138
|
+
continue
|
|
1139
|
+
if isinstance(fd[i],str):
|
|
1140
|
+
sString.append(fd[i])
|
|
1141
|
+
sString=' '.join(sString)
|
|
1142
|
+
cd=[]
|
|
1143
|
+
for i in symbols:
|
|
1144
|
+
if i not in sString:
|
|
1145
|
+
cd.append(i)
|
|
1146
|
+
|
|
1147
|
+
return cd
|
|
1098
1148
|
'''
|
|
1099
1149
|
Ellipse: area=πab
|
|
1100
1150
|
, where 2a
|
|
@@ -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=npayoh5ORgybUXKmqZEBopDhrT8l_J4v5z_Oji7faj0,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
|
|
@@ -350,7 +350,7 @@ radboy/SystemSettings/__pycache__/__init__.cpython-312.pyc,sha256=aIzp4Po0t8EhSA
|
|
|
350
350
|
radboy/SystemSettings/__pycache__/__init__.cpython-313.pyc,sha256=QFDuoidxMWsGVLsy5lN-rDs6TP8nKJ4yyCyiamNOhwo,156
|
|
351
351
|
radboy/TasksMode/ReFormula.py,sha256=REDRJYub-OEOE6g14oRQOLOQwv8pHqVJy4NQk3CCM90,2255
|
|
352
352
|
radboy/TasksMode/SetEntryNEU.py,sha256=mkV9zAZe0lfpu_3coMuIILEzh6PgCNi7g9lJ4yDUpYM,20596
|
|
353
|
-
radboy/TasksMode/Tasks.py,sha256=
|
|
353
|
+
radboy/TasksMode/Tasks.py,sha256=8IIrOCt8zHtOhByH-ojlNNaUEX5lq1Rd9qgL_ou4Um0,359215
|
|
354
354
|
radboy/TasksMode/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
355
355
|
radboy/TasksMode/__pycache__/ReFormula.cpython-311.pyc,sha256=QEG3PwVw-8HTd_Mf9XbVcxU56F1fC9yBqWXYPLC39DU,4865
|
|
356
356
|
radboy/TasksMode/__pycache__/ReFormula.cpython-312.pyc,sha256=aX7BWm2PPjCTnxsbGUitR-2h9hq4AjaBiHMrUXvIl0Y,3967
|
|
@@ -359,7 +359,7 @@ radboy/TasksMode/__pycache__/SetEntryNEU.cpython-312.pyc,sha256=pCdFj61aPKkHL6Sv
|
|
|
359
359
|
radboy/TasksMode/__pycache__/SetEntryNEU.cpython-313.pyc,sha256=jMSrUX9pvEhf67uVwrPE2ZlBCems8V7tHJ1LcC15ovU,24603
|
|
360
360
|
radboy/TasksMode/__pycache__/Tasks.cpython-311.pyc,sha256=6QOTJnLiXSKdF81hkhy3vyrz49PPhS20s5_0X52g3Hw,131120
|
|
361
361
|
radboy/TasksMode/__pycache__/Tasks.cpython-312.pyc,sha256=hyJwdaYaaRLdcrNxgg36diJ5iijX5_3I0UAORsj-6LU,310295
|
|
362
|
-
radboy/TasksMode/__pycache__/Tasks.cpython-313.pyc,sha256=
|
|
362
|
+
radboy/TasksMode/__pycache__/Tasks.cpython-313.pyc,sha256=xR1TyMIsOUp6_j8B-Rop6KwKyzZKgMddeZz-guLWvNA,434213
|
|
363
363
|
radboy/TasksMode/__pycache__/__init__.cpython-311.pyc,sha256=PKV1JbihEacm639b53bZozRQvcllSkjGP3q8STVMxF4,234
|
|
364
364
|
radboy/TasksMode/__pycache__/__init__.cpython-312.pyc,sha256=ERgnEvRMiGSecWp1BpNzLdSq_SdKw7GvFWUvUM7bLVw,272
|
|
365
365
|
radboy/TasksMode/__pycache__/__init__.cpython-313.pyc,sha256=lvsTxukyvGKB3C0rdF9dQi_bvVh6ceDVINfwcuIsd0s,151
|
|
@@ -406,7 +406,7 @@ radboy/__pycache__/Run.cpython-311.pyc,sha256=G_UEfMtkLRjR6ZpGA_BJzGenuaCcP469Y9
|
|
|
406
406
|
radboy/__pycache__/Run.cpython-312.pyc,sha256=v4xolc3mHyla991XhpYBUbBHYT0bnJ1gE-lkFoQ4GFA,241
|
|
407
407
|
radboy/__pycache__/__init__.cpython-311.pyc,sha256=R-DVbUioMOW-Fnaq7FpT5F1a5p0q3b_RW-HpLRArCAY,242
|
|
408
408
|
radboy/__pycache__/__init__.cpython-312.pyc,sha256=FsFzLXOlTK8_7ixoPZzakkR8Wibt-DvXLFh-oG2QlPw,164
|
|
409
|
-
radboy/__pycache__/__init__.cpython-313.pyc,sha256=
|
|
409
|
+
radboy/__pycache__/__init__.cpython-313.pyc,sha256=cunDEebxDNMFY9x-mJL22NbOjUe-61bpvMDmUEeiSwI,165
|
|
410
410
|
radboy/__pycache__/__init__.cpython-39.pyc,sha256=D48T6x6FUeKPfubo0sdS_ZUut3FmBvPMP7qT6rYBZzU,275
|
|
411
411
|
radboy/__pycache__/possibleCode.cpython-311.pyc,sha256=zFiHyzqD8gUnIWu4vtyMYIBposiRQqaRXfcT_fOl4rU,20882
|
|
412
412
|
radboy/__pycache__/possibleCode.cpython-312.pyc,sha256=tk_CO-AcsO3YZj5j6vEsw3g37UmEzWc5YgeWEoJEUg4,27922
|
|
@@ -416,8 +416,8 @@ radboy/__pycache__/t.cpython-311.pyc,sha256=bVszNkmfiyoNLd0WUc8aBJc2geGseW4O28cq
|
|
|
416
416
|
radboy/__pycache__/te.cpython-311.pyc,sha256=vI8eNUE5VVrfCQvnrJ7WuWpoKcLz-vVK3ifdUZ4UNhk,592
|
|
417
417
|
radboy/__pycache__/x.cpython-311.pyc,sha256=3jIvWoO5y5WqrL_hRmXNK8O0vO7DwJ4gufjm2b0V7VI,1963
|
|
418
418
|
radboy/preloader/__init__.py,sha256=lrGR0JF0dkDM8N9ORGUKH_MucUFx1-PI38YsvqS-wgA,926
|
|
419
|
-
radboy/preloader/preloader.py,sha256=
|
|
420
|
-
radboy/preloader/preloader_func.py,sha256=
|
|
419
|
+
radboy/preloader/preloader.py,sha256=u2TEVlavuHuXL_oL_2m-NVowlQGgF2PHZ9-XFTOKE9E,7178
|
|
420
|
+
radboy/preloader/preloader_func.py,sha256=u-Lg2b4JTjRQbsCoCk63ZPTRMOMcqNxfl7DVrvKDZLo,33732
|
|
421
421
|
radboy/setCode/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
422
422
|
radboy/setCode/setCode.py,sha256=8UOf4okbx-Zane99odeoLAS_lfIt8pIaFomN7EtnnVA,5202
|
|
423
423
|
radboy/setCode/__pycache__/__init__.cpython-311.pyc,sha256=cJuP5rve6Wn7ZO789tixyOlyrHZQWsBxDn9oZGoG5WE,232
|
|
@@ -434,7 +434,7 @@ radboy/tkGui/Images/__pycache__/__init__.cpython-311.pyc,sha256=tXBYpqbOlZ24B1BI
|
|
|
434
434
|
radboy/tkGui/__pycache__/BeginnersLuck.cpython-311.pyc,sha256=xLQOnV1wuqHGaub16mPX0dDMGU9ryCeLtNz5e517_GE,3004
|
|
435
435
|
radboy/tkGui/__pycache__/Review.cpython-311.pyc,sha256=wKq24iM6Xe2OampgZ7-8U6Nvmgs2y-qWOrGwtWhc75k,4047
|
|
436
436
|
radboy/tkGui/__pycache__/__init__.cpython-311.pyc,sha256=BX7DBn5qbvKTvlrKOP5gzTBPBTeTgSMjBW6EMl7N8e0,230
|
|
437
|
-
radboy-0.0.
|
|
438
|
-
radboy-0.0.
|
|
439
|
-
radboy-0.0.
|
|
440
|
-
radboy-0.0.
|
|
437
|
+
radboy-0.0.720.dist-info/METADATA,sha256=YZ0L_rKulE_wKwS76QEoKelWGRBzkeMrYsMtSBsEvlM,1891
|
|
438
|
+
radboy-0.0.720.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
439
|
+
radboy-0.0.720.dist-info/top_level.txt,sha256=mlM0RWMUxGo1YHnlLmYrHOgGdK4XNRpr7nMFD5lR56c,7
|
|
440
|
+
radboy-0.0.720.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|