radboy 0.0.469__py3-none-any.whl → 0.0.501__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 +13 -7
- radboy/DB/__pycache__/Prompt.cpython-313.pyc +0 -0
- radboy/DB/__pycache__/db.cpython-313.pyc +0 -0
- radboy/DB/db.py +37 -10
- radboy/Lookup2/Lookup2.py +86 -0
- radboy/Lookup2/__pycache__/Lookup2.cpython-313.pyc +0 -0
- radboy/Occurances/Occurances.py +210 -13
- radboy/__init__.py +1 -1
- radboy/__pycache__/__init__.cpython-313.pyc +0 -0
- {radboy-0.0.469.dist-info → radboy-0.0.501.dist-info}/METADATA +1 -1
- {radboy-0.0.469.dist-info → radboy-0.0.501.dist-info}/RECORD +13 -13
- {radboy-0.0.469.dist-info → radboy-0.0.501.dist-info}/WHEEL +0 -0
- {radboy-0.0.469.dist-info → radboy-0.0.501.dist-info}/top_level.txt +0 -0
radboy/DB/Prompt.py
CHANGED
|
@@ -32,15 +32,21 @@ import radboy.Orders.MilkWaterOrder as MWR
|
|
|
32
32
|
import itertools
|
|
33
33
|
from inputimeout import inputimeout, TimeoutOccurred
|
|
34
34
|
from uuid import uuid1
|
|
35
|
-
|
|
36
35
|
def timedout(ptext,htext=''):
|
|
37
36
|
try:
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
37
|
+
while True:
|
|
38
|
+
t=db.BooleanAnswers.timeout
|
|
39
|
+
past=datetime.now()
|
|
40
|
+
if htext != '':
|
|
41
|
+
user_input = inputimeout(prompt=f"{db.BooleanAnswers.timeout_msg}{htext}\n{ptext}({t} Seconds Passed='timeout' returned from {past.strftime("%I:%M:%S %p(12H)/%H:%M:%S(24H)")}):", timeout=t)
|
|
42
|
+
else:
|
|
43
|
+
user_input = inputimeout(prompt=f"{db.BooleanAnswers.timeout_msg}{ptext}({t} Seconds Passed='timeout' returned from {past.strftime("%I:%M:%S %p(12H)/%H:%M:%S(24H)")}):", timeout=t)
|
|
44
|
+
if user_input in ['fb','fastboot']:
|
|
45
|
+
db.BooleanAnswers.timeout=0
|
|
46
|
+
return ''
|
|
47
|
+
elif user_input in 'lb':
|
|
48
|
+
db.BooleanAnswers.timeout=db.BooleanAnswers.long_boot_time
|
|
49
|
+
continue
|
|
44
50
|
return user_input
|
|
45
51
|
except TimeoutOccurred:
|
|
46
52
|
print("Time's up! No input received.")
|
|
Binary file
|
|
Binary file
|
radboy/DB/db.py
CHANGED
|
@@ -43,6 +43,32 @@ class BOOLEAN_ANSWERS:
|
|
|
43
43
|
self.help.append(f"{Fore.light_green}No -> {Fore.dark_goldenrod}{self.no}")
|
|
44
44
|
self.help.append(f"{Fore.light_magenta}Quit -> {Fore.light_red}{self.quit}{Style.reset}")
|
|
45
45
|
self.help='\n'.join(self.help)
|
|
46
|
+
self.timeout=5
|
|
47
|
+
self.long_boot_time=90
|
|
48
|
+
self.timeout_msg=f"{Fore.light_yellow}SessionOnly({Fore.light_red}lb|longboot = timeout of 90s;{Fore.light_cyan}fb|fastboot = timeout of 0s){Style.reset}\n"
|
|
49
|
+
self.math_operators={
|
|
50
|
+
'+':None,
|
|
51
|
+
'-':None,
|
|
52
|
+
'*':None,
|
|
53
|
+
'**':None,
|
|
54
|
+
'/':None,
|
|
55
|
+
'//':None,
|
|
56
|
+
'%':None,
|
|
57
|
+
'&':None,
|
|
58
|
+
'|':None,
|
|
59
|
+
}
|
|
60
|
+
self.comparison_operators={
|
|
61
|
+
'==':None,
|
|
62
|
+
'<':None,
|
|
63
|
+
'<=':None,
|
|
64
|
+
'>':None,
|
|
65
|
+
'>=':None,
|
|
66
|
+
'!=':None,
|
|
67
|
+
}
|
|
68
|
+
self.and_or={
|
|
69
|
+
'or':None,
|
|
70
|
+
'and':None,
|
|
71
|
+
}
|
|
46
72
|
|
|
47
73
|
BooleanAnswers=BOOLEAN_ANSWERS()
|
|
48
74
|
class switch_bootable:
|
|
@@ -144,10 +170,16 @@ str(uuid1()):{
|
|
|
144
170
|
|
|
145
171
|
|
|
146
172
|
try:
|
|
147
|
-
|
|
173
|
+
|
|
174
|
+
t=BooleanAnswers.timeout
|
|
148
175
|
past=datetime.now()
|
|
149
|
-
user_input = inputimeout(prompt=f"Boot CMDS({t} Seconds Passed=autoboot from {past.strftime("%I:%M:%S %p(12H)/%H:%M:%S(24H)")}):", timeout=t)
|
|
176
|
+
user_input = inputimeout(prompt=f"{BooleanAnswers.timeout_msg}Boot CMDS({t} Seconds Passed=autoboot from {past.strftime("%I:%M:%S %p(12H)/%H:%M:%S(24H)")}):", timeout=t)
|
|
150
177
|
print(f"You entered: {user_input}")
|
|
178
|
+
if user_input in ['fb','fastboot']:
|
|
179
|
+
BooleanAnswers.timeout=0
|
|
180
|
+
if user_input in ['longboot','lb']:
|
|
181
|
+
BooleanAnswers.timeout=BooleanAnswers.long_boot_time
|
|
182
|
+
continue
|
|
151
183
|
except TimeoutOccurred:
|
|
152
184
|
print("Time's up! No input received.")
|
|
153
185
|
user_input = "autoboot"
|
|
@@ -5381,15 +5413,8 @@ class Occurances(BASE,Template):
|
|
|
5381
5413
|
max_post=Column(Float,default=sys.maxsize)
|
|
5382
5414
|
min_post=Column(Float,default=-sys.maxsize)
|
|
5383
5415
|
|
|
5384
|
-
hidden=Column(Boolean,default=False)
|
|
5385
|
-
hidden_dtoe=Column(DateTime,default=None)
|
|
5386
|
-
|
|
5387
|
-
soft_deleted=Column(Boolean,default=False)
|
|
5388
|
-
soft_deleted_dtoe=Column(DateTime,default=None)
|
|
5389
|
-
|
|
5390
5416
|
created_dtoe=Column(DateTime,default=datetime.now())
|
|
5391
|
-
|
|
5392
|
-
modified_how_many_times_since_created=Column(Integer,default=0)
|
|
5417
|
+
|
|
5393
5418
|
|
|
5394
5419
|
def as_json(self):
|
|
5395
5420
|
excludes=['cbid','DTOE']
|
|
@@ -5400,6 +5425,8 @@ class Occurances(BASE,Template):
|
|
|
5400
5425
|
return f"{self.__class__.__name__}(cbid={self.cbid})"
|
|
5401
5426
|
|
|
5402
5427
|
def __init__(self,**kwargs):
|
|
5428
|
+
if 'uid' not in kwargs:
|
|
5429
|
+
self.uid=str(uuid1())
|
|
5403
5430
|
for k in kwargs.keys():
|
|
5404
5431
|
if k in [s.name for s in self.__table__.columns]:
|
|
5405
5432
|
setattr(self,k,kwargs.get(k))
|
radboy/Lookup2/Lookup2.py
CHANGED
|
@@ -6,6 +6,82 @@ from colored import Style,Fore,Back
|
|
|
6
6
|
import qrcode
|
|
7
7
|
|
|
8
8
|
class Lookup:
|
|
9
|
+
def searchSpec(self,short=False):
|
|
10
|
+
with Session(ENGINE) as session:
|
|
11
|
+
fields={i.name:{'default':None,"type":str(i.type).lower()} for i in Entry.__table__.columns}
|
|
12
|
+
fd=FormBuilder(data=fields)
|
|
13
|
+
|
|
14
|
+
query=None
|
|
15
|
+
if fd is not None:
|
|
16
|
+
filters=[]
|
|
17
|
+
for i in fd:
|
|
18
|
+
if fd[i] is not None:
|
|
19
|
+
ct=len(BooleanAnswers.comparison_operators)
|
|
20
|
+
htext=[std_colorize(i,num,ct) for num,i in enumerate(BooleanAnswers.comparison_operators)]
|
|
21
|
+
htext='\n'.join(htext)
|
|
22
|
+
operators=[i for i in BooleanAnswers.comparison_operators]
|
|
23
|
+
|
|
24
|
+
if fields[i]['type'] in ['varchar','text','string']:
|
|
25
|
+
filters.append(getattr(Entry,i).icontains(fd[i]))
|
|
26
|
+
else:
|
|
27
|
+
print(htext)
|
|
28
|
+
operator=Prompt.__init2__(None,func=FormBuilderMkText,ptext=f"'{i}' operator? ",helpText=htext,data="integer")
|
|
29
|
+
if operator is None:
|
|
30
|
+
return
|
|
31
|
+
elif operator in ['d',]:
|
|
32
|
+
operator=0
|
|
33
|
+
operator=operators[operator]
|
|
34
|
+
|
|
35
|
+
if operator == '==':
|
|
36
|
+
filters.append(getattr(Entry,i)==fd[i])
|
|
37
|
+
elif operator == '>':
|
|
38
|
+
filters.append(getattr(Entry,i)>fd[i])
|
|
39
|
+
elif operator == '>=':
|
|
40
|
+
filters.append(getattr(Entry,i)>=fd[i])
|
|
41
|
+
elif operator == '<':
|
|
42
|
+
filters.append(getattr(Entry,i)<fd[i])
|
|
43
|
+
elif operator == '<=':
|
|
44
|
+
filters.append(getattr(Entry,i)<=fd[i])
|
|
45
|
+
elif operator == '!=':
|
|
46
|
+
filters.append(getattr(Entry,i)!=fd[i])
|
|
47
|
+
|
|
48
|
+
ct=len(BooleanAnswers.and_or)
|
|
49
|
+
htext=[std_colorize(i,num,ct) for num,i in enumerate(BooleanAnswers.and_or)]
|
|
50
|
+
htext='\n'.join(htext)
|
|
51
|
+
operators=[i for i in BooleanAnswers.and_or]
|
|
52
|
+
print(htext)
|
|
53
|
+
operator=Prompt.__init2__(None,func=FormBuilderMkText,ptext="and | or? ",helpText=htext,data="integer")
|
|
54
|
+
if operator is None:
|
|
55
|
+
return
|
|
56
|
+
elif operator in ['d',]:
|
|
57
|
+
operator=0
|
|
58
|
+
operator=operators[operator]
|
|
59
|
+
|
|
60
|
+
if operator == 'and':
|
|
61
|
+
query=session.query(Entry).filter(and_(*filters))
|
|
62
|
+
query=orderQuery(query,Entry.Timestamp)
|
|
63
|
+
elif operator == 'or':
|
|
64
|
+
query=session.query(Entry).filter(or_(*filters))
|
|
65
|
+
query=orderQuery(query,Entry.Timestamp)
|
|
66
|
+
else:
|
|
67
|
+
query=session.query(Entry).filter(or_(*filters))
|
|
68
|
+
query=orderQuery(query,Entry.Timestamp)
|
|
69
|
+
else:
|
|
70
|
+
query=session.query(Entry)
|
|
71
|
+
query=orderQuery(query,Entry.Timestamp)
|
|
72
|
+
if query is not None:
|
|
73
|
+
results=query.all()
|
|
74
|
+
cta=len(results)
|
|
75
|
+
if cta < 1:
|
|
76
|
+
print("No Results")
|
|
77
|
+
return
|
|
78
|
+
for num,i in enumerate(results):
|
|
79
|
+
if short:
|
|
80
|
+
print(std_colorize(i.seeShort(),num,cta))
|
|
81
|
+
else:
|
|
82
|
+
print(std_colorize(i,num,cta))
|
|
83
|
+
print(f"Total Results: {len(results)}")
|
|
84
|
+
|
|
9
85
|
def entrySearchBlank(self,just_code=True,fix=False):
|
|
10
86
|
print("Looking for Blank Barcode|Code")
|
|
11
87
|
with Session(ENGINE) as session:
|
|
@@ -149,6 +225,16 @@ class Lookup:
|
|
|
149
225
|
'cmds':['13.f','sch blank fx','schblnk fx','sch \'\' fx','sch "" fx','sch blnk fx'],
|
|
150
226
|
'exec':lambda self=self:self.entrySearchBlank(fix=True),
|
|
151
227
|
'desc':f'{Fore.light_blue}Search For Product by Entry Data where or_(Entry.Code=="") and set Entry.Code=="UNASSIGNED_TO_NEW_ITEM"'
|
|
228
|
+
},
|
|
229
|
+
uuid1():{
|
|
230
|
+
'cmds':['14','sch spec','schspec','spec sch','search specific','ssp','ssp+'],
|
|
231
|
+
'exec':lambda self=self:self.searchSpec(),
|
|
232
|
+
'desc':f'{Fore.light_blue}Search For Product by Entry Data using prompted fields'
|
|
233
|
+
},
|
|
234
|
+
uuid1():{
|
|
235
|
+
'cmds':['14.1','sch spec sht','schspecsht','spec sch sht','search specific short','ssps','ssp-'],
|
|
236
|
+
'exec':lambda self=self:self.searchSpec(short=True),
|
|
237
|
+
'desc':f'{Fore.light_blue}Search For Product by Entry Data using prompted fields'
|
|
152
238
|
}
|
|
153
239
|
}
|
|
154
240
|
def mehelp(self):
|
|
Binary file
|
radboy/Occurances/Occurances.py
CHANGED
|
@@ -52,16 +52,103 @@ class OccurancesUi:
|
|
|
52
52
|
def edit_occurance(self):
|
|
53
53
|
pass
|
|
54
54
|
|
|
55
|
-
def
|
|
56
|
-
|
|
55
|
+
def lst_group_names(self):
|
|
56
|
+
with Session(ENGINE) as session:
|
|
57
|
+
hs=[]
|
|
58
|
+
search={
|
|
59
|
+
'group_name':{
|
|
60
|
+
'default':None,
|
|
61
|
+
'type':'string',
|
|
62
|
+
},
|
|
63
|
+
'group_uid':{
|
|
64
|
+
'default':None,
|
|
65
|
+
'type':'string',
|
|
66
|
+
},
|
|
67
|
+
'oid':{
|
|
68
|
+
'default':None,
|
|
69
|
+
'type':'integer',
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
fd=FormBuilder(data=search)
|
|
73
|
+
query=None
|
|
74
|
+
if fd is not None:
|
|
75
|
+
filters=[]
|
|
76
|
+
for i in fd:
|
|
77
|
+
if fd[i] is not None:
|
|
78
|
+
filters.append(getattr(Occurances,i).icontains(fd[i]))
|
|
79
|
+
query=session.query(Occurances).filter(or_(*filters))
|
|
80
|
+
query=orderQuery(query,Occurances.created_dtoe)
|
|
81
|
+
else:
|
|
82
|
+
query=session.query(Occurances)
|
|
83
|
+
query=orderQuery(query,Occurances.created_dtoe)
|
|
84
|
+
query=query.group_by(Occurances.group_name,Occurances.group_uid)
|
|
85
|
+
|
|
86
|
+
if query is not None:
|
|
87
|
+
results=query.all()
|
|
88
|
+
ct=len(results)
|
|
89
|
+
if ct == 0:
|
|
90
|
+
print(std_colorize("No Results Found",0,1))
|
|
91
|
+
return
|
|
92
|
+
for num,result in enumerate(results):
|
|
93
|
+
hs.append(self.master_display(result,num,ct))
|
|
94
|
+
helpText='\n'.join(hs)
|
|
95
|
+
return results,helpText
|
|
96
|
+
return None,None
|
|
97
|
+
def master_display(self,result,num,ct):
|
|
98
|
+
hstring=std_colorize(f"{Fore.light_sea_green}[group name] '{result.group_name}' {Fore.dodger_blue_3}- [guuid] '{result.group_uid}' -{Fore.green_yellow} [oid] '{result.oid}' - {Fore.light_magenta}[name] '{result.name}' - {Fore.magenta}[type] '{result.type}' - {Fore.orange_red_1}[qty] '{result.quantity}' {Fore.light_steel_blue}'{result.unit_of_measure}'{Fore.light_salmon_1} - [uid]'{result.uid}'",num,ct)
|
|
99
|
+
print(hstring)
|
|
100
|
+
return hstring
|
|
57
101
|
|
|
58
102
|
def lst_names(self):
|
|
59
|
-
|
|
103
|
+
with Session(ENGINE) as session:
|
|
104
|
+
hs=[]
|
|
105
|
+
search={
|
|
106
|
+
'name':{
|
|
107
|
+
'default':None,
|
|
108
|
+
'type':'string',
|
|
109
|
+
},
|
|
110
|
+
'uid':{
|
|
111
|
+
'default':None,
|
|
112
|
+
'type':'string',
|
|
113
|
+
},
|
|
114
|
+
'oid':{
|
|
115
|
+
'default':None,
|
|
116
|
+
'type':'integer',
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
fd=FormBuilder(data=search)
|
|
120
|
+
query=None
|
|
121
|
+
if fd is not None:
|
|
122
|
+
filters=[]
|
|
123
|
+
for i in fd:
|
|
124
|
+
if fd[i] is not None:
|
|
125
|
+
filters.append(getattr(Occurances,i).icontains(fd[i]))
|
|
126
|
+
query=session.query(Occurances).filter(or_(*filters))
|
|
127
|
+
query=orderQuery(query,Occurances.created_dtoe)
|
|
128
|
+
else:
|
|
129
|
+
query=session.query(Occurances)
|
|
130
|
+
query=orderQuery(query,Occurances.created_dtoe)
|
|
131
|
+
query=query.group_by(Occurances.uid)
|
|
60
132
|
|
|
61
|
-
|
|
133
|
+
if query is not None:
|
|
134
|
+
results=query.all()
|
|
135
|
+
ct=len(results)
|
|
136
|
+
if ct == 0:
|
|
137
|
+
print(std_colorize("No Results Found",0,1))
|
|
138
|
+
return
|
|
139
|
+
for num,result in enumerate(results):
|
|
140
|
+
hs.append(self.master_display(result,num,ct))
|
|
141
|
+
helpText='\n'.join(hs)
|
|
142
|
+
return results,helpText
|
|
143
|
+
return None,None
|
|
144
|
+
def total_by(self):
|
|
145
|
+
by=['group_name','group_uid','name','uid','type']
|
|
146
|
+
#need to select for total
|
|
147
|
+
|
|
148
|
+
def scan_create_count_save(self):
|
|
62
149
|
pass
|
|
63
150
|
|
|
64
|
-
def
|
|
151
|
+
def edit_groups(self):
|
|
65
152
|
pass
|
|
66
153
|
|
|
67
154
|
def searchAuto(self):
|
|
@@ -76,19 +163,99 @@ class OccurancesUi:
|
|
|
76
163
|
def set_max_post(self):
|
|
77
164
|
pass
|
|
78
165
|
|
|
79
|
-
#hide
|
|
80
|
-
def set_hidden(self):
|
|
81
|
-
pass
|
|
82
|
-
|
|
83
|
-
def set_soft_delete(self):
|
|
84
|
-
pass
|
|
85
166
|
def set_unit_of_measure(self):
|
|
86
167
|
pass
|
|
87
168
|
def set_qty(self):
|
|
88
169
|
pass
|
|
89
170
|
|
|
171
|
+
def delete_groups_uid(self):
|
|
172
|
+
with Session(ENGINE) as session:
|
|
173
|
+
while True:
|
|
174
|
+
search,helpText=self.lst_group_names()
|
|
175
|
+
if search is None:
|
|
176
|
+
return
|
|
177
|
+
whiches=Prompt.__init2__(None,func=FormBuilderMkText,ptext="which indexes to delete",helpText=helpText,data="list")
|
|
178
|
+
if whiches in [None,'d']:
|
|
179
|
+
return
|
|
180
|
+
cta=len(search)
|
|
181
|
+
try:
|
|
182
|
+
for which in whiches:
|
|
183
|
+
try:
|
|
184
|
+
which=int(which)
|
|
185
|
+
if which in range(0,cta):
|
|
186
|
+
guid=search[which].group_uid
|
|
187
|
+
x=session.query(Occurances).filter(Occurances.group_uid==guid).delete()
|
|
188
|
+
session.commit()
|
|
189
|
+
return
|
|
190
|
+
|
|
191
|
+
except Exception as e:
|
|
192
|
+
print(e)
|
|
193
|
+
except Exception as ee:
|
|
194
|
+
print(ee)
|
|
195
|
+
break
|
|
196
|
+
|
|
197
|
+
def delete_groups_name(self):
|
|
198
|
+
with Session(ENGINE) as session:
|
|
199
|
+
while True:
|
|
200
|
+
search,helpText=self.lst_group_names()
|
|
201
|
+
if search is None:
|
|
202
|
+
return
|
|
203
|
+
whiches=Prompt.__init2__(None,func=FormBuilderMkText,ptext="which indexes to delete",helpText=helpText,data="list")
|
|
204
|
+
if whiches in [None,'d']:
|
|
205
|
+
return
|
|
206
|
+
cta=len(search)
|
|
207
|
+
try:
|
|
208
|
+
for which in whiches:
|
|
209
|
+
try:
|
|
210
|
+
which=int(which)
|
|
211
|
+
print(which,which in range(0,cta),cta,range(0,cta))
|
|
212
|
+
if which in range(0,cta):
|
|
213
|
+
guid=search[which].group_name
|
|
214
|
+
print(guid)
|
|
215
|
+
x=session.query(Occurances).filter(Occurances.group_name==search[which].group_name).delete()
|
|
216
|
+
session.commit()
|
|
217
|
+
return
|
|
218
|
+
|
|
219
|
+
except Exception as e:
|
|
220
|
+
print(e)
|
|
221
|
+
except Exception as ee:
|
|
222
|
+
print(ee)
|
|
223
|
+
break
|
|
224
|
+
|
|
90
225
|
def delete(self):
|
|
91
|
-
|
|
226
|
+
with Session(ENGINE) as session:
|
|
227
|
+
while True:
|
|
228
|
+
search,helpText=self.lst_names()
|
|
229
|
+
if search is None:
|
|
230
|
+
return
|
|
231
|
+
whiches=Prompt.__init2__(None,func=FormBuilderMkText,ptext="which indexes to delete",helpText=helpText,data="list")
|
|
232
|
+
if whiches in [None,'d']:
|
|
233
|
+
return
|
|
234
|
+
cta=len(search)
|
|
235
|
+
try:
|
|
236
|
+
for which in whiches:
|
|
237
|
+
try:
|
|
238
|
+
which=int(which)
|
|
239
|
+
if which in range(0,cta):
|
|
240
|
+
oid=search[which].oid
|
|
241
|
+
x=session.query(Occurances).filter(Occurances.oid==oid).delete()
|
|
242
|
+
session.commit()
|
|
243
|
+
return
|
|
244
|
+
|
|
245
|
+
except Exception as e:
|
|
246
|
+
print(e)
|
|
247
|
+
except Exception as ee:
|
|
248
|
+
print(ee)
|
|
249
|
+
break
|
|
250
|
+
|
|
251
|
+
def list_all(self):
|
|
252
|
+
with Session(ENGINE) as session:
|
|
253
|
+
query=session.query(Occurances)
|
|
254
|
+
query=orderQuery(query,Occurances.created_dtoe)
|
|
255
|
+
results=query.all()
|
|
256
|
+
ct=len(results)
|
|
257
|
+
for num, i in enumerate(results):
|
|
258
|
+
self.master_display(i,num,ct)
|
|
92
259
|
|
|
93
260
|
def search_select(self,rTYPE=list,display=True):
|
|
94
261
|
'''Search for, select,
|
|
@@ -150,7 +317,37 @@ class OccurancesUi:
|
|
|
150
317
|
'cmds':generate_cmds(startcmd=['cnw','create new','create_new','cn'],endCmd=['basic','b','bsc','-1']),
|
|
151
318
|
'desc':f"create new including fields {self.basic_includes}",
|
|
152
319
|
'exec':self.create_new_basic,
|
|
153
|
-
},
|
|
320
|
+
},
|
|
321
|
+
uuid1():{
|
|
322
|
+
'cmds':generate_cmds(startcmd=['lst','list','ls','l'],endCmd=['group names','grpnms','group-names','group_names']),
|
|
323
|
+
'desc':f"list group names and group uids",
|
|
324
|
+
'exec':self.lst_group_names,
|
|
325
|
+
},
|
|
326
|
+
uuid1():{
|
|
327
|
+
'cmds':generate_cmds(startcmd=['lst','list','ls','l'],endCmd=['names','nms','nmes']),
|
|
328
|
+
'desc':f"list names and uids, group by uid",
|
|
329
|
+
'exec':self.lst_names,
|
|
330
|
+
},
|
|
331
|
+
uuid1():{
|
|
332
|
+
'cmds':generate_cmds(startcmd=['delete','del','remove','rem','rm'],endCmd=['',' ']),
|
|
333
|
+
'desc':f"delete occurances data",
|
|
334
|
+
'exec':self.delete,
|
|
335
|
+
},
|
|
336
|
+
uuid1():{
|
|
337
|
+
'cmds':generate_cmds(startcmd=['delete','del','remove','rem','rm'],endCmd=['grps uid','groups uid','grps-uid','grpsuid']),
|
|
338
|
+
'desc':f"delete occurances data by group uid",
|
|
339
|
+
'exec':self.delete_groups_uid,
|
|
340
|
+
},
|
|
341
|
+
uuid1():{
|
|
342
|
+
'cmds':generate_cmds(startcmd=['delete','del','remove','rem','rm'],endCmd=['grps nm','groups name','grps-nm','grpsnm']),
|
|
343
|
+
'desc':f"delete occurances data by group name",
|
|
344
|
+
'exec':self.delete_groups_name,
|
|
345
|
+
},
|
|
346
|
+
uuid1():{
|
|
347
|
+
'cmds':generate_cmds(startcmd=['lst','list','ls','l'],endCmd=["all","a","*"]),
|
|
348
|
+
'desc':f"list all",
|
|
349
|
+
'exec':self.list_all,
|
|
350
|
+
},
|
|
154
351
|
}
|
|
155
352
|
|
|
156
353
|
htext=[]
|
radboy/__init__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
VERSION='0.0.
|
|
1
|
+
VERSION='0.0.501'
|
|
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=PkQJnfuIp5bsvc3U6hS8hBIwanUJE5wkzIWo8MShcM0,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=UAVCSDX6bN_T8m4_k4qQiscxccqrqkR0iWbyl3liOo8,144078
|
|
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=lOiHfXdIcMOi8GkMejpuMLubAJ0uvzj0ofrJlo0Ou_E,246602
|
|
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=t98YJ7WyRjIPiwfy3M_2g1vOTWzASbs2uEY_lhGMt8g,220969
|
|
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=5GJPTLCBcrX_euyOk-5FEcWTqH7cLsWAp24cuPIPg2k,392546
|
|
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
|
|
@@ -254,17 +254,17 @@ radboy/Lookup/__pycache__/Lookup.cpython-313.pyc,sha256=XLNpbTGk4ryJSRvzf2SDzoxI
|
|
|
254
254
|
radboy/Lookup/__pycache__/__init__.cpython-311.pyc,sha256=Jm4q7Xibyc4UjYYBeYK6uBoMNTBCYoivU7FCtdX5G08,231
|
|
255
255
|
radboy/Lookup/__pycache__/__init__.cpython-312.pyc,sha256=-3XFxnbTtwL4YFln0aSCyRFd2DD-Gr2-UoBV-eOOqqs,269
|
|
256
256
|
radboy/Lookup/__pycache__/__init__.cpython-313.pyc,sha256=p5qY0NPTD_pjFDK1cIJ6qwHaJb91xspPXboIvk-dIgE,148
|
|
257
|
-
radboy/Lookup2/Lookup2.py,sha256=
|
|
257
|
+
radboy/Lookup2/Lookup2.py,sha256=IEutQYva9s5l1b74xT_ldq9qOUAVr5BTXcGeiRX57bk,25971
|
|
258
258
|
radboy/Lookup2/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
259
259
|
radboy/Lookup2/__pycache__/Lookup2.cpython-312.pyc,sha256=Mka0F5UbDbhfF0ogsnklb8eVJz1v7H8hcm5N0yEjUjI,35474
|
|
260
|
-
radboy/Lookup2/__pycache__/Lookup2.cpython-313.pyc,sha256=
|
|
260
|
+
radboy/Lookup2/__pycache__/Lookup2.cpython-313.pyc,sha256=JDaPNWBUvdYQXJp2L71fYWp8m1TMe4uVHDKyDBxPoDk,46917
|
|
261
261
|
radboy/Lookup2/__pycache__/__init__.cpython-312.pyc,sha256=0mqw_7WZPG7luwCFsqX5YMx3-2pN9URwnp8cuel5rGM,270
|
|
262
262
|
radboy/Lookup2/__pycache__/__init__.cpython-313.pyc,sha256=iuBE5G-ThcR2mSYUgGwZI8WCpQwwJXy6hHnYI-h97_Y,149
|
|
263
263
|
radboy/ModuleTemplate/Tasks.py,sha256=RF4sWnLH4FyzMU8AHOov7WP24-udd96-l9c9SvbIP_0,1088
|
|
264
264
|
radboy/ModuleTemplate/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
265
265
|
radboy/ModuleTemplate/__pycache__/Tasks.cpython-311.pyc,sha256=rllpmYgt71yfhr2e08OB_iYnlcO5eIIGCQErAj6ikTA,1989
|
|
266
266
|
radboy/ModuleTemplate/__pycache__/__init__.cpython-311.pyc,sha256=J6kTs2HBMSDNpjWxKLwzOfg70xEDLVtulYrYvCVF3Mw,239
|
|
267
|
-
radboy/Occurances/Occurances.py,sha256=
|
|
267
|
+
radboy/Occurances/Occurances.py,sha256=z88erzQoSlC1d9ZVZ-LeyfGt9HI6cchWddc2imPlc20,10743
|
|
268
268
|
radboy/Occurances/__init__.py,sha256=Xv528_TFNgaC7fr3ykgYG4qUxoz-_8dQMEAhDBAtdXw,930
|
|
269
269
|
radboy/Of/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
270
270
|
radboy/Of/of.py,sha256=l5YyMVe4rixyYeJZ6BKzkVEr7lk2SuMyPxm14LMwF9c,1341
|
|
@@ -398,7 +398,7 @@ radboy/__pycache__/Run.cpython-311.pyc,sha256=G_UEfMtkLRjR6ZpGA_BJzGenuaCcP469Y9
|
|
|
398
398
|
radboy/__pycache__/Run.cpython-312.pyc,sha256=v4xolc3mHyla991XhpYBUbBHYT0bnJ1gE-lkFoQ4GFA,241
|
|
399
399
|
radboy/__pycache__/__init__.cpython-311.pyc,sha256=R-DVbUioMOW-Fnaq7FpT5F1a5p0q3b_RW-HpLRArCAY,242
|
|
400
400
|
radboy/__pycache__/__init__.cpython-312.pyc,sha256=FsFzLXOlTK8_7ixoPZzakkR8Wibt-DvXLFh-oG2QlPw,164
|
|
401
|
-
radboy/__pycache__/__init__.cpython-313.pyc,sha256=
|
|
401
|
+
radboy/__pycache__/__init__.cpython-313.pyc,sha256=xV3wNP9GOlWOXQQvssv_Whaj-sYO9zUNttOb7E171dU,165
|
|
402
402
|
radboy/__pycache__/__init__.cpython-39.pyc,sha256=D48T6x6FUeKPfubo0sdS_ZUut3FmBvPMP7qT6rYBZzU,275
|
|
403
403
|
radboy/__pycache__/possibleCode.cpython-311.pyc,sha256=zFiHyzqD8gUnIWu4vtyMYIBposiRQqaRXfcT_fOl4rU,20882
|
|
404
404
|
radboy/__pycache__/possibleCode.cpython-312.pyc,sha256=tk_CO-AcsO3YZj5j6vEsw3g37UmEzWc5YgeWEoJEUg4,27922
|
|
@@ -423,7 +423,7 @@ radboy/tkGui/Images/__pycache__/__init__.cpython-311.pyc,sha256=tXBYpqbOlZ24B1BI
|
|
|
423
423
|
radboy/tkGui/__pycache__/BeginnersLuck.cpython-311.pyc,sha256=xLQOnV1wuqHGaub16mPX0dDMGU9ryCeLtNz5e517_GE,3004
|
|
424
424
|
radboy/tkGui/__pycache__/Review.cpython-311.pyc,sha256=wKq24iM6Xe2OampgZ7-8U6Nvmgs2y-qWOrGwtWhc75k,4047
|
|
425
425
|
radboy/tkGui/__pycache__/__init__.cpython-311.pyc,sha256=BX7DBn5qbvKTvlrKOP5gzTBPBTeTgSMjBW6EMl7N8e0,230
|
|
426
|
-
radboy-0.0.
|
|
427
|
-
radboy-0.0.
|
|
428
|
-
radboy-0.0.
|
|
429
|
-
radboy-0.0.
|
|
426
|
+
radboy-0.0.501.dist-info/METADATA,sha256=94ocYU0eHzv3n1Uxw-iVgtSuRFvLJhlDLoIDm0BN0BM,1601
|
|
427
|
+
radboy-0.0.501.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
428
|
+
radboy-0.0.501.dist-info/top_level.txt,sha256=mlM0RWMUxGo1YHnlLmYrHOgGdK4XNRpr7nMFD5lR56c,7
|
|
429
|
+
radboy-0.0.501.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|