radboy 0.0.456__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/DB/Prompt.py +18 -0
- radboy/DB/__pycache__/Prompt.cpython-313.pyc +0 -0
- radboy/DB/__pycache__/db.cpython-313.pyc +0 -0
- radboy/DB/db.py +6 -0
- radboy/RecordMyCodes.py +18 -29
- radboy/SystemSettings/SystemSettings.py +38 -34
- radboy/SystemSettings/__pycache__/SystemSettings.cpython-313.pyc +0 -0
- radboy/TasksMode/Tasks.py +9 -0
- radboy/TasksMode/__pycache__/Tasks.cpython-313.pyc +0 -0
- radboy/TouchStampC/TouchStampC.py +105 -92
- radboy/TouchStampC/__pycache__/TouchStampC.cpython-313.pyc +0 -0
- radboy/__init__.py +1 -1
- radboy/__pycache__/RecordMyCodes.cpython-313.pyc +0 -0
- radboy/__pycache__/__init__.cpython-313.pyc +0 -0
- {radboy-0.0.456.dist-info → radboy-0.0.458.dist-info}/METADATA +1 -1
- {radboy-0.0.456.dist-info → radboy-0.0.458.dist-info}/RECORD +18 -18
- {radboy-0.0.456.dist-info → radboy-0.0.458.dist-info}/WHEEL +0 -0
- {radboy-0.0.456.dist-info → radboy-0.0.458.dist-info}/top_level.txt +0 -0
radboy/DB/Prompt.py
CHANGED
|
@@ -2085,6 +2085,10 @@ CMD's are not final until ended with {Fore.magenta}{hw_delim}{Style.reset}""")
|
|
|
2085
2085
|
{Fore.grey_85}** {Fore.light_steel_blue}{f'{Fore.light_red},{Fore.light_steel_blue}'.join(generate_cmds(startcmd=['orddts','ordts','loads','lds','orders','loads','rxdates'],endCmd=['','all','all dates','all dts','aldts','*']))}{Fore.light_green} print all load dates {Style.reset}
|
|
2086
2086
|
{Fore.grey_70}** {Fore.light_steel_blue}{f'{Fore.light_red},{Fore.light_steel_blue}'.join(generate_cmds(startcmd=['units',],endCmd=['']))}{Fore.light_green} list supported units{Style.reset}
|
|
2087
2087
|
{Fore.grey_70}** {Fore.light_steel_blue}{f'{Fore.light_red},{Fore.light_steel_blue}'.join(generate_cmds(startcmd=['lds2','rdts'],endCmd=['',]))}{Fore.light_green} repeable dates,orders,etc...{Style.reset}
|
|
2088
|
+
{Fore.grey_70}** {Fore.light_steel_blue}['dsu','daystring','daystr']{Fore.light_green} print daystring {Style.reset}
|
|
2089
|
+
{Fore.grey_70}** {Fore.light_steel_blue}['dsur','daystring return','dstr r']{Fore.light_green} print and return daystring {Style.reset}
|
|
2090
|
+
{Fore.grey_70}** {Fore.light_steel_blue}['dsup','daystring plain','daystrpln']{Fore.light_green} print daystring as plain text with no colors{Style.reset}
|
|
2091
|
+
{Fore.grey_70}** {Fore.light_steel_blue}['dsurp','daystring return plain','dstr r pln']{Fore.light_green} print and return daystring as plain text with no colors{Style.reset}
|
|
2088
2092
|
'''
|
|
2089
2093
|
print(extra)
|
|
2090
2094
|
print(helpText)
|
|
@@ -2301,6 +2305,20 @@ which will result in a cmd of 'ls Shelf'{Style.reset}
|
|
|
2301
2305
|
TM.Tasks.TasksMode(parent=self,engine=db.ENGINE,init_only=True).bcd_img()
|
|
2302
2306
|
elif cmd.lower() in ['qr-gen','qr-img']:
|
|
2303
2307
|
TM.Tasks.TasksMode(parent=self,engine=db.ENGINE,init_only=True).qr_img()
|
|
2308
|
+
elif cmd.lower() in ['dsu','daystring','daystr']:
|
|
2309
|
+
print(TM.Tasks.TasksMode(parent=self,engine=db.ENGINE,init_only=True).day_string())
|
|
2310
|
+
continue
|
|
2311
|
+
elif cmd.lower() in ['dsur','daystring return','dstr r']:
|
|
2312
|
+
m=TM.Tasks.TasksMode(parent=self,engine=db.ENGINE,init_only=True).day_string()
|
|
2313
|
+
print(m)
|
|
2314
|
+
return func(m,data)
|
|
2315
|
+
elif cmd.lower() in ['dsup','daystring plain','daystrpln']:
|
|
2316
|
+
print(TM.Tasks.TasksMode(parent=self,engine=db.ENGINE,init_only=True).day_string(plain=True))
|
|
2317
|
+
continue
|
|
2318
|
+
elif cmd.lower() in ['dsurp','daystring return plain','dstr r pln']:
|
|
2319
|
+
m=TM.Tasks.TasksMode(parent=self,engine=db.ENGINE,init_only=True).day_string(plain=True)
|
|
2320
|
+
print(m)
|
|
2321
|
+
return func(m,data)
|
|
2304
2322
|
elif cmd.lower() in ['crbc',"checked random barcode"]:
|
|
2305
2323
|
with db.Session(db.ENGINE) as session:
|
|
2306
2324
|
while True:
|
|
Binary file
|
|
Binary file
|
radboy/DB/db.py
CHANGED
|
@@ -332,6 +332,12 @@ def strip_colors(colored_text):
|
|
|
332
332
|
text=text.replace(i,'')
|
|
333
333
|
return text
|
|
334
334
|
|
|
335
|
+
def dayString(today,plain=False):
|
|
336
|
+
ds=f'''{today.strftime(f"{Fore.light_yellow}%m/{Fore.light_red}%d/{Fore.light_sea_green}%Y {Fore.light_red}(%A, {Fore.grey_50}Week {(today.day - 1) // 7 + 1} of {Fore.light_yellow}%B{Fore.grey_50}, week %W of {Fore.light_sea_green}year %Y){Fore.light_cyan} @ {Fore.orange_red_1}%H/{Fore.light_cyan}24.Hr|({Fore.dark_goldenrod}%I/{Fore.light_cyan}12.Hr){Fore.light_green}:%M.Min{Fore.magenta}:%S.Sec ({Fore.dark_goldenrod}%p/{Fore.light_cyan}12.Hr)")}'''
|
|
337
|
+
if plain:
|
|
338
|
+
return strip_colors(ds)
|
|
339
|
+
return ds
|
|
340
|
+
|
|
335
341
|
class tagList:
|
|
336
342
|
"""Add or Remove Tags from Entry class."""
|
|
337
343
|
def remTag(self,session,entry,tag):
|
radboy/RecordMyCodes.py
CHANGED
|
@@ -53,42 +53,31 @@ import sys
|
|
|
53
53
|
from colored import Fore,Back,Style
|
|
54
54
|
from radboy.Of.of import *
|
|
55
55
|
from radboy.Orders import MilkWaterOrder
|
|
56
|
+
import radboy.DB.db as DBB
|
|
56
57
|
|
|
57
58
|
|
|
58
59
|
verify=kl11()
|
|
59
60
|
if verify == False:
|
|
60
61
|
exit("You are not authorized to use this product")
|
|
61
62
|
|
|
62
|
-
msg='''
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
that with greater hope,
|
|
78
|
-
a lesson can be learned
|
|
79
|
-
by the values taught.
|
|
80
|
-
|
|
81
|
-
Take care that the misuse of values,
|
|
82
|
-
be of riddence to your daily's,
|
|
83
|
-
For each carries in its own grain,
|
|
84
|
-
the hallows of a curse,
|
|
85
|
-
that if used against the proper,
|
|
86
|
-
be a sharpened edge that which to fall upon,
|
|
87
|
-
In haste to end one's own shame,
|
|
88
|
-
For which many have trully already fallen.
|
|
89
|
-
|
|
90
|
-
Carl Joseph Hirner III
|
|
63
|
+
msg=f'''
|
|
64
|
+
RadBoy == '{VERSION}'
|
|
65
|
+
CodeName == 'In-Synthetic'
|
|
66
|
+
Use your own brain!
|
|
67
|
+
|
|
68
|
+
Author/Maintainer == 'Carl Joseph Hirner III'
|
|
69
|
+
Email == 'k.j.hirner.wisdom@gmail.com'
|
|
70
|
+
|
|
71
|
+
A List Maker, Product Lookup System,
|
|
72
|
+
Health Log, Multi-Calculator, Multi-Tool
|
|
73
|
+
for your Android under PyDroid, or under
|
|
74
|
+
Linux with {sys.version}
|
|
75
|
+
This Msg was last Saved to DB=='{db.dayString(datetime.now(),plain=True)}'
|
|
76
|
+
|
|
91
77
|
'''
|
|
78
|
+
msg=DBB.detectGetOrSet(name="startMsg",value=msg,setValue=False,literal=True)
|
|
79
|
+
|
|
80
|
+
|
|
92
81
|
def startupMsg(msg):
|
|
93
82
|
useMe=detectGetOrSet(name="UseStartMsg",value=True,setValue=False)
|
|
94
83
|
if useMe:
|
|
@@ -151,40 +151,44 @@ class systemSettingsMenu:
|
|
|
151
151
|
return
|
|
152
152
|
else:
|
|
153
153
|
for ix in which:
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
154
|
+
try:
|
|
155
|
+
ix=int(ix)
|
|
156
|
+
print(results[ix])
|
|
157
|
+
decide=Prompt.__init2__(None,func=FormBuilderMkText,ptext="Edit['d','e','edit','chnge','change','chng'] or Delete['del','rm','rem','remove']?",helpText="edit or delete",data="string")
|
|
158
|
+
if decide in [None,]:
|
|
159
|
+
return
|
|
160
|
+
elif decide.lower() in ['d','e','edit','chnge','change','chng']:
|
|
161
|
+
try:
|
|
162
|
+
ix=int(ix)
|
|
163
|
+
literal=Prompt.__init2__(None,FormBuilderMkText,ptext="[False==interpreted|True==str]Is this literal or an interpreted value",helpText="'False'=='str or 'False'==Boolean False",data="boolean")
|
|
164
|
+
if literal in [None,]:
|
|
165
|
+
return
|
|
166
|
+
elif literal in ['d',]:
|
|
167
|
+
literal=True
|
|
168
|
+
newValue=Prompt.__init2__(None,func=FormBuilderMkText,ptext="What is the new literal value?",helpText=f"new value for {results[ix].name}",data="string")
|
|
169
|
+
print(newValue)
|
|
170
|
+
if newValue in [None,'d']:
|
|
171
|
+
return
|
|
172
|
+
|
|
171
173
|
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
174
|
+
f=detectGetOrSet(results[ix].name,newValue,setValue=True,literal=literal)
|
|
175
|
+
#print(results[ix],"was selected, but not yet ready; an advanced type formatter needs to be planned so nothing will be set")
|
|
176
|
+
print(f,type(f))
|
|
177
|
+
except Exception as e:
|
|
178
|
+
print(e,"trying next one...")
|
|
179
|
+
elif decide.lower() in ['del','rm','rem','remove']:
|
|
180
|
+
try:
|
|
181
|
+
ix=int(ix)
|
|
182
|
+
print(f"Deleting {results[ix]}")
|
|
183
|
+
session.delete(results[ix])
|
|
182
184
|
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
185
|
+
session.commit()
|
|
186
|
+
#print(results[ix],"was selected, but not yet ready; an advanced type formatter needs to be planned so nothing will be set")
|
|
187
|
+
|
|
188
|
+
except Exception as e:
|
|
189
|
+
print(e,"trying next one...")
|
|
190
|
+
except Exception as ee:
|
|
191
|
+
print(ee,"trying next one...")
|
|
188
192
|
except Exception as e:
|
|
189
193
|
print(e)
|
|
190
194
|
|
|
@@ -201,14 +205,14 @@ class systemSettingsMenu:
|
|
|
201
205
|
{Fore.light_green}set Expiration_DelPol{Fore.light_steel_blue} - {Fore.light_magenta}Set time in seconds for prompt-delete in Expiry Tracking System{Style.reset}
|
|
202
206
|
{Fore.light_green}set Expiration_PastPoll{Fore.light_steel_blue} - {Fore.light_magenta}Set time in seconds to warn that you have past the Expiration Date in Expiry Tracking System{Style.reset}
|
|
203
207
|
{Fore.light_green}set Expiration_Poll{Fore.light_steel_blue} - {Fore.light_magenta}Set time in seconds to warn that you are approaching the Best-By/Expiration Date in Expiry Tracking System{Style.reset}
|
|
204
|
-
{Fore.light_yellow}select edit delete,select_edit_delete,sed,
|
|
208
|
+
{Fore.light_yellow}select edit delete,select_edit_delete,sed,select edit/delete,select_edit/delete{Fore.cyan} - {Fore.light_steel_blue}search and select; to edit, or delete, a SystemPreference{Style.reset}
|
|
205
209
|
{Style.reset}"""
|
|
206
210
|
while True:
|
|
207
211
|
with Session(ENGINE) as session:
|
|
208
212
|
doWhat=Prompt.__init2__(None,func=mkText,ptext="System Settings: Do What?",helpText=htext,data=None)
|
|
209
213
|
if doWhat in [None,]:
|
|
210
214
|
break
|
|
211
|
-
elif doWhat.lower() in "select edit delete,select_edit_delete,sed,
|
|
215
|
+
elif doWhat.lower() in "select edit delete,select_edit_delete,sed,select edit/delete,select_edit/delete".split(","):
|
|
212
216
|
self.search_edit()
|
|
213
217
|
elif doWhat.lower() in "show_all,sa".split(","):
|
|
214
218
|
settings=session.query(SystemPreference).all()
|
|
Binary file
|
radboy/TasksMode/Tasks.py
CHANGED
|
@@ -290,6 +290,15 @@ def save(value):
|
|
|
290
290
|
|
|
291
291
|
|
|
292
292
|
class TasksMode:
|
|
293
|
+
def day_string(self,plain=False):
|
|
294
|
+
today=Prompt.__init2__(None,func=FormBuilderMkText,ptext="what is today?",helpText="a datetime or date",data="datetime")
|
|
295
|
+
if today is None:
|
|
296
|
+
return None
|
|
297
|
+
elif today in ['d',]:
|
|
298
|
+
today=datetime.now()
|
|
299
|
+
ds=dayString(today,plain)
|
|
300
|
+
return ds
|
|
301
|
+
|
|
293
302
|
def rd_ui(self):
|
|
294
303
|
RepeatableDatesUi()
|
|
295
304
|
|
|
Binary file
|
|
@@ -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
|
|
Binary file
|
|
@@ -3,9 +3,9 @@ radboy/1-2024-04-02.png_04022024.jpg,sha256=4DFsTncCfbqEp2136jFathURUQuu3zpe1Jnh
|
|
|
3
3
|
radboy/Default.TTF,sha256=lXZrWPfYabD6LPbm_rJsGyHN8mMfHFhj_JvSBtXG6O4,915212
|
|
4
4
|
radboy/Holidays.txt,sha256=y-JZPihh5iaWKxMIHNXD39yVuVmf1vMs4FdNDcg0f1Y,3114
|
|
5
5
|
radboy/InventoryGlossary.txt,sha256=018-Yqca6DFb10jPdkUY-5qhkRlQN1k3rxoTaERQ-LA,91008
|
|
6
|
-
radboy/RecordMyCodes.py,sha256=
|
|
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
|
|
@@ -85,14 +85,14 @@ radboy/DB/ExerciseTracker.py,sha256=CZ8jdKJiAE_QTAiJTRXi8ZOnS1NUiSvWVSKLHLpYVGk,
|
|
|
85
85
|
radboy/DB/PayDay.py,sha256=H2kPGvBCDkMOz7lbxQhYtUt_oAInpxi37Q6MFrah98I,8710
|
|
86
86
|
radboy/DB/PayModels.py,sha256=hjwWxP7PL33hmfzQl5YTf0HqzaMxXJxFknPdxFJXJc8,3499
|
|
87
87
|
radboy/DB/PrintLogging.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
88
|
-
radboy/DB/Prompt.py,sha256=
|
|
88
|
+
radboy/DB/Prompt.py,sha256=qOQOvOAdVMvlKTkEQcaXWa0DCfdSjTobxSv32vs-uhQ,141739
|
|
89
89
|
radboy/DB/RandomStringUtil.py,sha256=eZCpR907WStgfbk4Evcghjv9hOkUDXH-iMXIq0-kXq8,24386
|
|
90
90
|
radboy/DB/ResetTools.py,sha256=RbI-Ua7UlsN0S9qLqtEkTWvzyTZ6R-hHR3CW4NHlUPE,6660
|
|
91
91
|
radboy/DB/SMLabelImporter.py,sha256=eUoBDxVUUEKGL2g_PwkASM67ZB7FmXtSnn4bCagskhY,4013
|
|
92
92
|
radboy/DB/__init__.py,sha256=JiigA9B7GalP7YuRdcwyGDu5PDSBahoi0lLjtScxlN8,49
|
|
93
93
|
radboy/DB/blankDataFile.py,sha256=YX_05Usi71UpDkZN9UTMYwUipbTndTAtEgqzBEga0kE,9285
|
|
94
94
|
radboy/DB/config.py,sha256=bvu43dUl1_yO3Zq3gsLuenGUgJSiS3S9Cs6ppFEvZbg,239
|
|
95
|
-
radboy/DB/db.py,sha256=
|
|
95
|
+
radboy/DB/db.py,sha256=orVeHi4XzG7MH0yvmkBITEYzXMojJIp9NW01qWQ9Euc,242902
|
|
96
96
|
radboy/DB/glossary_db.py,sha256=1_qxeEpjjEtpWB_eDjsgJisimLv7OBm75MuqM-Lt6zg,28218
|
|
97
97
|
radboy/DB/masterLookup.py,sha256=DBaM2uscG3_X5dek49wjdnOzhrjWhKgvOEz_umdz0mY,4566
|
|
98
98
|
radboy/DB/msg.txt,sha256=YxWed6A6tuP1djJ5QPS2Rz3ING4TKKf8kUiCCPtzHXE,7937
|
|
@@ -109,7 +109,7 @@ radboy/DB/__pycache__/FormBuilder.cpython-312.pyc,sha256=p1o-5SMRL8OXP_XQ5liUpf-
|
|
|
109
109
|
radboy/DB/__pycache__/PrintLogging.cpython-312.pyc,sha256=pIAFqTi6OiQQORSc-oMH1zAbsdH7sY1TifxrN_QOvnU,148
|
|
110
110
|
radboy/DB/__pycache__/Prompt.cpython-311.pyc,sha256=P2uPRpeqfLFtxieZ0JHBG3X_HZzWUCsFSLb_fpRqky0,6407
|
|
111
111
|
radboy/DB/__pycache__/Prompt.cpython-312.pyc,sha256=6CcQ1gE2hcz3cKPjo4f6d7xNM2PTDnl8NzQG0Pme5BE,142886
|
|
112
|
-
radboy/DB/__pycache__/Prompt.cpython-313.pyc,sha256=
|
|
112
|
+
radboy/DB/__pycache__/Prompt.cpython-313.pyc,sha256=r2fXEtDzSaQKb-Ywzfn7R9HbfITexoEGzHwWev6Ills,218429
|
|
113
113
|
radboy/DB/__pycache__/RandomStringUtil.cpython-312.pyc,sha256=TrbEY89MuLmNlvoo5d8vOE6Dyshh5_EMlTZvk8MDVN4,48597
|
|
114
114
|
radboy/DB/__pycache__/RandomStringUtil.cpython-313.pyc,sha256=MCcgVwV2Y-9rAY2FVaJZCKcou3HDX70EZudoiCigT0o,49217
|
|
115
115
|
radboy/DB/__pycache__/ResetTools.cpython-311.pyc,sha256=4Vyc57iAAF0yRPjjglnVKovnTn8OoFIi6Zok3Wpj_YM,9292
|
|
@@ -127,7 +127,7 @@ radboy/DB/__pycache__/config.cpython-312.pyc,sha256=Qo7E6MHrF6yqvKgepNFyCoekZXiv
|
|
|
127
127
|
radboy/DB/__pycache__/config.cpython-313.pyc,sha256=_8wCIg_3jhyJjxnExD2Sm6aY-uZTw036p7Ki5znL7dc,376
|
|
128
128
|
radboy/DB/__pycache__/db.cpython-311.pyc,sha256=rNgigyBd0D-cg1JxKAS8t0B_k0IEJivgVlRaZE10Xis,210105
|
|
129
129
|
radboy/DB/__pycache__/db.cpython-312.pyc,sha256=ANDJPC0RoavbmSKFxG15vC7B4rEGyVt7xRJt7XGY3OA,334609
|
|
130
|
-
radboy/DB/__pycache__/db.cpython-313.pyc,sha256=
|
|
130
|
+
radboy/DB/__pycache__/db.cpython-313.pyc,sha256=NrMJ4gRa1mpA8GMdHNBASUPyV3sojls0nLibAQgtZZA,385768
|
|
131
131
|
radboy/DB/__pycache__/glossary_db.cpython-312.pyc,sha256=8UL-29cKqtKovx0BANm6kzKKteef1BW_2qF3wumzst4,36023
|
|
132
132
|
radboy/DB/__pycache__/glossary_db.cpython-313.pyc,sha256=Ke9bkvllGv5CK0JdT9DRvQ3MOdrXxoYv7TVLNkqLux0,36582
|
|
133
133
|
radboy/DB/__pycache__/masterLookup.cpython-312.pyc,sha256=bQiOkmMwwHgcO18tYSWGQ-YUff4GQlKVhBMp1GoWAqY,6324
|
|
@@ -332,15 +332,15 @@ radboy/StopWatchUi/__pycache__/StopWatchUi.cpython-312.pyc,sha256=am3dAc2latk_RI
|
|
|
332
332
|
radboy/StopWatchUi/__pycache__/StopWatchUi.cpython-313.pyc,sha256=c1RqSEMJjRTeQ-8F2RB-3s7NmHMLJFtndaz6a_Tr4Vo,13388
|
|
333
333
|
radboy/StopWatchUi/__pycache__/__init__.cpython-312.pyc,sha256=6QW7FIhEWdF3P3Sz_JNLxX18XUR5y1hZgL3RisI6FWs,1224
|
|
334
334
|
radboy/StopWatchUi/__pycache__/__init__.cpython-313.pyc,sha256=oSOJGhYwjl53EUTpVLYQXBx4Q9pWQnLjX6fawfJ2NtU,1224
|
|
335
|
-
radboy/SystemSettings/SystemSettings.py,sha256=
|
|
335
|
+
radboy/SystemSettings/SystemSettings.py,sha256=XpeJwwKua_CM3r649-vJ4iwqRhtnDJOPMsFRfRYAu24,14710
|
|
336
336
|
radboy/SystemSettings/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
337
337
|
radboy/SystemSettings/__pycache__/SystemSettings.cpython-312.pyc,sha256=2BEuMi9tFHt39eFc2-XZUOpXseqSk-1bBoM0ycZnxAg,19068
|
|
338
|
-
radboy/SystemSettings/__pycache__/SystemSettings.cpython-313.pyc,sha256=
|
|
338
|
+
radboy/SystemSettings/__pycache__/SystemSettings.cpython-313.pyc,sha256=ABCS9brT_eV2NTrtnPEjqfmb0HnwIbBzsbvK--C59n8,20904
|
|
339
339
|
radboy/SystemSettings/__pycache__/__init__.cpython-312.pyc,sha256=aIzp4Po0t8EhSAE8ytO-tJlNuKnEzAWPi1fzEIoGesI,277
|
|
340
340
|
radboy/SystemSettings/__pycache__/__init__.cpython-313.pyc,sha256=QFDuoidxMWsGVLsy5lN-rDs6TP8nKJ4yyCyiamNOhwo,156
|
|
341
341
|
radboy/TasksMode/ReFormula.py,sha256=REDRJYub-OEOE6g14oRQOLOQwv8pHqVJy4NQk3CCM90,2255
|
|
342
342
|
radboy/TasksMode/SetEntryNEU.py,sha256=TTzlAT5rNXvXUAy16BHBq0hJOKhONYpPhdAfQKdTfGw,17364
|
|
343
|
-
radboy/TasksMode/Tasks.py,sha256=
|
|
343
|
+
radboy/TasksMode/Tasks.py,sha256=8YRxz3yRoVjRLRAulfVcgqBVC6vfh_xg-N42lLPcosM,311209
|
|
344
344
|
radboy/TasksMode/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
345
345
|
radboy/TasksMode/__pycache__/ReFormula.cpython-311.pyc,sha256=QEG3PwVw-8HTd_Mf9XbVcxU56F1fC9yBqWXYPLC39DU,4865
|
|
346
346
|
radboy/TasksMode/__pycache__/ReFormula.cpython-312.pyc,sha256=aX7BWm2PPjCTnxsbGUitR-2h9hq4AjaBiHMrUXvIl0Y,3967
|
|
@@ -349,15 +349,15 @@ radboy/TasksMode/__pycache__/SetEntryNEU.cpython-312.pyc,sha256=pCdFj61aPKkHL6Sv
|
|
|
349
349
|
radboy/TasksMode/__pycache__/SetEntryNEU.cpython-313.pyc,sha256=eSWkYvfm5RuRE5rbO5wI7XxzFyKnp6KlbphSqPAF2z4,20133
|
|
350
350
|
radboy/TasksMode/__pycache__/Tasks.cpython-311.pyc,sha256=6QOTJnLiXSKdF81hkhy3vyrz49PPhS20s5_0X52g3Hw,131120
|
|
351
351
|
radboy/TasksMode/__pycache__/Tasks.cpython-312.pyc,sha256=hyJwdaYaaRLdcrNxgg36diJ5iijX5_3I0UAORsj-6LU,310295
|
|
352
|
-
radboy/TasksMode/__pycache__/Tasks.cpython-313.pyc,sha256=
|
|
352
|
+
radboy/TasksMode/__pycache__/Tasks.cpython-313.pyc,sha256=D-NsV0_EJYLdpJmQSFb6-5KmpZ55fB3u_PXeDrvRFLc,383814
|
|
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
|
|
@@ -390,13 +390,13 @@ radboy/WebSearchFrameWork/__pycache__/__init__.cpython-311.pyc,sha256=6iaqOS6i1n
|
|
|
390
390
|
radboy/__pycache__/MainAssist.cpython-312.pyc,sha256=5mbMrRFcqRZ-1etrlvlsW8aJhMjNPUB2Vh7azstgBuE,12399
|
|
391
391
|
radboy/__pycache__/RecordMyCodes.cpython-311.pyc,sha256=q-JqnspEHoJhg1VMsEMz3vry5KqY4xGjtr6akm8hvU0,47367
|
|
392
392
|
radboy/__pycache__/RecordMyCodes.cpython-312.pyc,sha256=o71KtEcm_u2fD7qLWDRTSNy5PQDb3lXJ-xa1ENmojL4,56063
|
|
393
|
-
radboy/__pycache__/RecordMyCodes.cpython-313.pyc,sha256=
|
|
393
|
+
radboy/__pycache__/RecordMyCodes.cpython-313.pyc,sha256=aEj_YCIDn_Cw4zpy59UcNe_H3z2Pv7ErEkza5-gdgbQ,63967
|
|
394
394
|
radboy/__pycache__/RecordMyCodes.cpython-39.pyc,sha256=FiF2P5zp8mhydS5Cgn-Yx5behEyFANnqI1G0x5KqUq8,21916
|
|
395
395
|
radboy/__pycache__/Run.cpython-311.pyc,sha256=G_UEfMtkLRjR6ZpGA_BJzGenuaCcP469Y9KZUr6A8Dk,411
|
|
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
|