radboy 0.0.457__py3-none-any.whl → 0.0.458__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/TouchStampC/TouchStampC.py +105 -92
- radboy/TouchStampC/__pycache__/TouchStampC.cpython-313.pyc +0 -0
- radboy/__init__.py +1 -1
- radboy/__pycache__/__init__.cpython-313.pyc +0 -0
- {radboy-0.0.457.dist-info → radboy-0.0.458.dist-info}/METADATA +1 -1
- {radboy-0.0.457.dist-info → radboy-0.0.458.dist-info}/RECORD +8 -8
- {radboy-0.0.457.dist-info → radboy-0.0.458.dist-info}/WHEEL +0 -0
- {radboy-0.0.457.dist-info → radboy-0.0.458.dist-info}/top_level.txt +0 -0
|
@@ -185,6 +185,12 @@ class TouchStampC:
|
|
|
185
185
|
related_info=[]
|
|
186
186
|
print(f"{Fore.light_red}{Back.grey_70}You CANNOT Go Back now!{Style.reset}")
|
|
187
187
|
print(f"{Fore.light_green}Processing Note for Barcodes/Codes...{Style.reset}")
|
|
188
|
+
process_4Entry=Prompt.__init2__(None,func=FormBuilderMkText,ptext="search Entry's as component of note?",helpText="default == False",data="boolean")
|
|
189
|
+
if process_4Entry is None:
|
|
190
|
+
return
|
|
191
|
+
elif process_4Entry in ['d',]:
|
|
192
|
+
process_4Entry=False
|
|
193
|
+
|
|
188
194
|
tmp=[]
|
|
189
195
|
process=fd['Note'].split(' ')
|
|
190
196
|
fd['Note']=f'''Note Text:\n{fd['Note']}'''
|
|
@@ -192,104 +198,111 @@ class TouchStampC:
|
|
|
192
198
|
if i.lower() not in tmp:
|
|
193
199
|
tmp.append(i.lower())
|
|
194
200
|
process=tmp
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
if
|
|
210
|
-
|
|
201
|
+
if process_4Entry:
|
|
202
|
+
for xnum,i in enumerate(process):
|
|
203
|
+
results=session.query(Entry).filter(or_(Entry.Barcode==i,Entry.Code==i,Entry.Barcode.icontains(i),Entry.Code.icontains(i))).all()
|
|
204
|
+
ct=len(results)
|
|
205
|
+
if ct > 0:
|
|
206
|
+
print(f"There are {ct} Entry Results for - {Fore.light_magenta}{i}{Style.reset}")
|
|
207
|
+
htext=[]
|
|
208
|
+
for num,ii in enumerate(results):
|
|
209
|
+
msg=f"{num}/{num+1} of {ct} -> {ii.seeShort()}"
|
|
210
|
+
htext.append(msg)
|
|
211
|
+
htext='\n'.join(htext)
|
|
212
|
+
print(htext)
|
|
213
|
+
print(f"There are {ct} Entry Results for - {Fore.light_magenta}{i}/{Fore.dark_goldenrod}{xnum}[Index]/{Fore.cyan}[Count]{xnum+1}{Fore.medium_violet_red} out of {len(process)}[Total] space-deliminated words searched in {Style.bold}{Fore.orange_red_1}Entry.Barcode|Entry.Code{Style.reset}")
|
|
214
|
+
selected=Prompt.__init2__(None,func=FormBuilderMkText,ptext="Select all that apply, separating with a comma[s=skp=skip]:",helpText=htext,data="list")
|
|
215
|
+
if selected in [None,]:
|
|
216
|
+
if self.next_barcode():
|
|
217
|
+
continue
|
|
218
|
+
else:
|
|
219
|
+
return
|
|
220
|
+
elif selected in ['d',]:
|
|
221
|
+
selected=None
|
|
211
222
|
else:
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
if i.lower() in ['skip','skp','s']:
|
|
219
|
-
skip=True
|
|
223
|
+
skip=False
|
|
224
|
+
for i in selected:
|
|
225
|
+
if i.lower() in ['skip','skp','s']:
|
|
226
|
+
skip=True
|
|
227
|
+
break
|
|
228
|
+
if skip:
|
|
220
229
|
break
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
except Exception as e:
|
|
241
|
-
print(e)
|
|
230
|
+
try:
|
|
231
|
+
for select in selected:
|
|
232
|
+
try:
|
|
233
|
+
select=int(select)
|
|
234
|
+
related_text=''
|
|
235
|
+
excludes=['EntryId',]
|
|
236
|
+
fields=[i.name for i in Entry.__table__.columns if str(i.name) not in excludes]
|
|
237
|
+
for field in fields:
|
|
238
|
+
related_text+=f"\t-\t{field} = {getattr(results[select],str(field))}\n"
|
|
239
|
+
header=f'{results[select].Barcode} - START - Word({i})\n'
|
|
240
|
+
footer=f'{results[select].Barcode} - END - Word({i})\n'
|
|
241
|
+
finalText=header+related_text+footer
|
|
242
|
+
print(finalText)
|
|
243
|
+
if finalText not in related_info:
|
|
244
|
+
related_info.append(finalText)
|
|
245
|
+
except Exception as e:
|
|
246
|
+
print(e)
|
|
247
|
+
except Exception as e:
|
|
248
|
+
print(e)
|
|
242
249
|
print(f"{Fore.light_red}{Back.grey_70}You CANNOT Go Back now!{Style.reset}")
|
|
243
250
|
print(f"{Fore.light_green}Processing Note for People in Roster...{Style.reset}")
|
|
244
|
-
for
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
251
|
+
process_4Ppl=Prompt.__init2__(None,func=FormBuilderMkText,ptext="search for people?",helpText="default == False",data="boolean")
|
|
252
|
+
if process_4Ppl is None:
|
|
253
|
+
return
|
|
254
|
+
elif process_4Ppl in ['d',]:
|
|
255
|
+
process_4Ppl=False
|
|
256
|
+
if process_4Ppl:
|
|
257
|
+
for i in process:
|
|
258
|
+
results=session.query(Roster).filter(or_(Roster.FirstName.icontains(i),Roster.LastName.icontains(i))).all()
|
|
259
|
+
ct=len(results)
|
|
260
|
+
if ct > 0:
|
|
261
|
+
print(f"There are {ct} Roster Results for - {Fore.light_magenta}{i}{Style.reset}")
|
|
262
|
+
htext=[]
|
|
263
|
+
for num,ii in enumerate(results):
|
|
264
|
+
try:
|
|
265
|
+
msg=f"{num}/{num+1} of {ct} -> {ii.LastName},{ii.FirstName}"
|
|
266
|
+
htext.append(msg)
|
|
267
|
+
except Exception as e:
|
|
268
|
+
print(e,repr(e))
|
|
269
|
+
htext='\n'.join(htext)
|
|
270
|
+
print(htext)
|
|
271
|
+
print(f"There are {ct} Roster Results for - {Fore.light_magenta}{i}/{Fore.dark_goldenrod}{xnum}[Index]/{Fore.cyan}[Count]{xnum+1}{Fore.medium_violet_red} out of {len(process)}[Total] space-deliminated words searched in {Style.bold}{Fore.orange_red_1}Roster{Style.reset}")
|
|
272
|
+
selected=Prompt.__init2__(None,func=FormBuilderMkText,ptext="Select all that apply, separating with a comma[s=skp=skip]:",helpText=htext,data="list")
|
|
273
|
+
if selected in [None,]:
|
|
274
|
+
if self.next_barcode():
|
|
275
|
+
continue
|
|
276
|
+
else:
|
|
277
|
+
return
|
|
278
|
+
elif selected in ['d',]:
|
|
279
|
+
selected=None
|
|
263
280
|
else:
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
if i.lower() in ['skip','skp','s']:
|
|
271
|
-
skip=True
|
|
281
|
+
skip=False
|
|
282
|
+
for i in selected:
|
|
283
|
+
if i.lower() in ['skip','skp','s']:
|
|
284
|
+
skip=True
|
|
285
|
+
break
|
|
286
|
+
if skip:
|
|
272
287
|
break
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
except Exception as e:
|
|
292
|
-
print(e)
|
|
288
|
+
try:
|
|
289
|
+
for select in selected:
|
|
290
|
+
try:
|
|
291
|
+
select=int(select)
|
|
292
|
+
related_text=''
|
|
293
|
+
excludes=['RoId',]
|
|
294
|
+
fields=[str(i.name) for i in Roster.__table__.columns if str(i.name) not in excludes]
|
|
295
|
+
for field in fields:
|
|
296
|
+
related_text+=f"\t-\t{field} = {getattr(results[select],str(field))}\n"
|
|
297
|
+
header=f'{results[select].LastName},{results[select].FirstName} - START\n'
|
|
298
|
+
footer=f'{results[select].LastName},{results[select].FirstName} - END\n'
|
|
299
|
+
finalText=header+related_text+footer
|
|
300
|
+
if finalText not in related_info:
|
|
301
|
+
related_info.append(finalText)
|
|
302
|
+
except Exception as e:
|
|
303
|
+
print(e)
|
|
304
|
+
except Exception as e:
|
|
305
|
+
print(e)
|
|
293
306
|
print(f"{Fore.light_red}{Back.grey_70}You CANNOT Go Back now!{Style.reset}")
|
|
294
307
|
while True:
|
|
295
308
|
try:
|
|
Binary file
|
radboy/__init__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
VERSION='0.0.
|
|
1
|
+
VERSION='0.0.458'
|
|
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=Lt2reA6xchq3U7Y08DvkrHboZ25i1ts7X2E9gSIwcVg,41101
|
|
7
7
|
radboy/Run.py,sha256=JUoCTHnzQBv7n8PB2_i93ANdAC_iW__RkAge8esCnk4,76
|
|
8
|
-
radboy/__init__.py,sha256=
|
|
8
|
+
radboy/__init__.py,sha256=jzI8mERdqmxqp9XslL15CtjRX90DldgCjMKKxGq56Lo,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
|
|
@@ -353,11 +353,11 @@ radboy/TasksMode/__pycache__/Tasks.cpython-313.pyc,sha256=D-NsV0_EJYLdpJmQSFb6-5
|
|
|
353
353
|
radboy/TasksMode/__pycache__/__init__.cpython-311.pyc,sha256=PKV1JbihEacm639b53bZozRQvcllSkjGP3q8STVMxF4,234
|
|
354
354
|
radboy/TasksMode/__pycache__/__init__.cpython-312.pyc,sha256=ERgnEvRMiGSecWp1BpNzLdSq_SdKw7GvFWUvUM7bLVw,272
|
|
355
355
|
radboy/TasksMode/__pycache__/__init__.cpython-313.pyc,sha256=lvsTxukyvGKB3C0rdF9dQi_bvVh6ceDVINfwcuIsd0s,151
|
|
356
|
-
radboy/TouchStampC/TouchStampC.py,sha256=
|
|
356
|
+
radboy/TouchStampC/TouchStampC.py,sha256=T64ZGUGFqlLGhPL0sYjbpw0LBX4o7b277OtK7cYujcc,33098
|
|
357
357
|
radboy/TouchStampC/__init__.py,sha256=GWRzpU17OiYAq7ikbh5sxmmDOhc5uwJmVg6KrFEeywI,12
|
|
358
358
|
radboy/TouchStampC/__pycache__/TouchStampC.cpython-311.pyc,sha256=JWYyl5Srdy3uwdOIEjLRN77Zoo_uwfsgjmWrVNGhsCA,27835
|
|
359
359
|
radboy/TouchStampC/__pycache__/TouchStampC.cpython-312.pyc,sha256=xEB2dKJUq6wgxC6SGvBZci5Vd0hW8UbtyQZOI05Uwmo,41415
|
|
360
|
-
radboy/TouchStampC/__pycache__/TouchStampC.cpython-313.pyc,sha256=
|
|
360
|
+
radboy/TouchStampC/__pycache__/TouchStampC.cpython-313.pyc,sha256=6A1Z56mlsBBZi4S0DG4H7xlUvgGYKXCBXgbwTplqDEY,42538
|
|
361
361
|
radboy/TouchStampC/__pycache__/__init__.cpython-311.pyc,sha256=0Rn25Y_gKIKFC7fRVMToQ99ozp8rqnK3HkTajb4skdo,236
|
|
362
362
|
radboy/TouchStampC/__pycache__/__init__.cpython-312.pyc,sha256=Qa5Iy6Fp7_w5wPhQCbj6FFvfMttQoNd5j6DTqYXa_GQ,274
|
|
363
363
|
radboy/TouchStampC/__pycache__/__init__.cpython-313.pyc,sha256=kA-p_LdocXJQHfYfDE0DQZ3fgzbfoL90Kr0soLsff_w,153
|
|
@@ -396,7 +396,7 @@ radboy/__pycache__/Run.cpython-311.pyc,sha256=G_UEfMtkLRjR6ZpGA_BJzGenuaCcP469Y9
|
|
|
396
396
|
radboy/__pycache__/Run.cpython-312.pyc,sha256=v4xolc3mHyla991XhpYBUbBHYT0bnJ1gE-lkFoQ4GFA,241
|
|
397
397
|
radboy/__pycache__/__init__.cpython-311.pyc,sha256=R-DVbUioMOW-Fnaq7FpT5F1a5p0q3b_RW-HpLRArCAY,242
|
|
398
398
|
radboy/__pycache__/__init__.cpython-312.pyc,sha256=FsFzLXOlTK8_7ixoPZzakkR8Wibt-DvXLFh-oG2QlPw,164
|
|
399
|
-
radboy/__pycache__/__init__.cpython-313.pyc,sha256=
|
|
399
|
+
radboy/__pycache__/__init__.cpython-313.pyc,sha256=TZ7Yd6nRq_N-JpTa6rVEL8X_LMih-zqCbKbKs9y2FSY,165
|
|
400
400
|
radboy/__pycache__/__init__.cpython-39.pyc,sha256=D48T6x6FUeKPfubo0sdS_ZUut3FmBvPMP7qT6rYBZzU,275
|
|
401
401
|
radboy/__pycache__/possibleCode.cpython-311.pyc,sha256=zFiHyzqD8gUnIWu4vtyMYIBposiRQqaRXfcT_fOl4rU,20882
|
|
402
402
|
radboy/__pycache__/possibleCode.cpython-312.pyc,sha256=tk_CO-AcsO3YZj5j6vEsw3g37UmEzWc5YgeWEoJEUg4,27922
|
|
@@ -421,7 +421,7 @@ radboy/tkGui/Images/__pycache__/__init__.cpython-311.pyc,sha256=tXBYpqbOlZ24B1BI
|
|
|
421
421
|
radboy/tkGui/__pycache__/BeginnersLuck.cpython-311.pyc,sha256=xLQOnV1wuqHGaub16mPX0dDMGU9ryCeLtNz5e517_GE,3004
|
|
422
422
|
radboy/tkGui/__pycache__/Review.cpython-311.pyc,sha256=wKq24iM6Xe2OampgZ7-8U6Nvmgs2y-qWOrGwtWhc75k,4047
|
|
423
423
|
radboy/tkGui/__pycache__/__init__.cpython-311.pyc,sha256=BX7DBn5qbvKTvlrKOP5gzTBPBTeTgSMjBW6EMl7N8e0,230
|
|
424
|
-
radboy-0.0.
|
|
425
|
-
radboy-0.0.
|
|
426
|
-
radboy-0.0.
|
|
427
|
-
radboy-0.0.
|
|
424
|
+
radboy-0.0.458.dist-info/METADATA,sha256=hoZ7ytcZidaGXfS6yeQD-EJFAbS0HquMmg0tLY32Ns8,1601
|
|
425
|
+
radboy-0.0.458.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
426
|
+
radboy-0.0.458.dist-info/top_level.txt,sha256=mlM0RWMUxGo1YHnlLmYrHOgGdK4XNRpr7nMFD5lR56c,7
|
|
427
|
+
radboy-0.0.458.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|