radboy 0.0.501__py3-none-any.whl → 0.0.503__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/__pycache__/db.cpython-313.pyc +0 -0
- radboy/DB/db.py +0 -7
- radboy/FB/__pycache__/FormBuilder.cpython-313.pyc +0 -0
- radboy/Occurances/Occurances.py +260 -78
- radboy/__init__.py +1 -1
- radboy/__pycache__/__init__.cpython-313.pyc +0 -0
- {radboy-0.0.501.dist-info → radboy-0.0.503.dist-info}/METADATA +1 -1
- {radboy-0.0.501.dist-info → radboy-0.0.503.dist-info}/RECORD +10 -10
- {radboy-0.0.501.dist-info → radboy-0.0.503.dist-info}/WHEEL +0 -0
- {radboy-0.0.501.dist-info → radboy-0.0.503.dist-info}/top_level.txt +0 -0
|
Binary file
|
radboy/DB/db.py
CHANGED
|
@@ -5405,13 +5405,6 @@ class Occurances(BASE,Template):
|
|
|
5405
5405
|
quantity=Column(Float,default=0.0)
|
|
5406
5406
|
|
|
5407
5407
|
comment=Column(String,default='')
|
|
5408
|
-
long_comment=Column(Text,default='')
|
|
5409
|
-
|
|
5410
|
-
max_pre=Column(Float,default=sys.maxsize)
|
|
5411
|
-
min_pre=Column(Float,default=-sys.maxsize)
|
|
5412
|
-
|
|
5413
|
-
max_post=Column(Float,default=sys.maxsize)
|
|
5414
|
-
min_post=Column(Float,default=-sys.maxsize)
|
|
5415
5408
|
|
|
5416
5409
|
created_dtoe=Column(DateTime,default=datetime.now())
|
|
5417
5410
|
|
|
Binary file
|
radboy/Occurances/Occurances.py
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
from . import *
|
|
2
2
|
|
|
3
|
+
from decimal import Decimal
|
|
3
4
|
|
|
4
5
|
class OccurancesUi:
|
|
5
|
-
first_time_excludes=['oid','
|
|
6
|
+
first_time_excludes=['oid','created_dtoe',]
|
|
6
7
|
basic_includes=['name','type','unit_of_measure','quantity']
|
|
7
8
|
|
|
8
9
|
group_fields=['group_name','group_uid']
|
|
@@ -19,6 +20,7 @@ class OccurancesUi:
|
|
|
19
20
|
session.delete(OCT)
|
|
20
21
|
session.commit()
|
|
21
22
|
print("user backed out, nothing was saved!")
|
|
23
|
+
return
|
|
22
24
|
for k in fd:
|
|
23
25
|
setattr(OCT,k,fd[k])
|
|
24
26
|
session.commit()
|
|
@@ -40,6 +42,7 @@ class OccurancesUi:
|
|
|
40
42
|
session.delete(OCT)
|
|
41
43
|
session.commit()
|
|
42
44
|
print("user backed out, nothing was saved!")
|
|
45
|
+
return
|
|
43
46
|
for k in fd:
|
|
44
47
|
setattr(OCT,k,fd[k])
|
|
45
48
|
session.commit()
|
|
@@ -49,9 +52,6 @@ class OccurancesUi:
|
|
|
49
52
|
print(e)
|
|
50
53
|
session.rollback()
|
|
51
54
|
|
|
52
|
-
def edit_occurance(self):
|
|
53
|
-
pass
|
|
54
|
-
|
|
55
55
|
def lst_group_names(self):
|
|
56
56
|
with Session(ENGINE) as session:
|
|
57
57
|
hs=[]
|
|
@@ -88,17 +88,30 @@ class OccurancesUi:
|
|
|
88
88
|
ct=len(results)
|
|
89
89
|
if ct == 0:
|
|
90
90
|
print(std_colorize("No Results Found",0,1))
|
|
91
|
-
return
|
|
91
|
+
return None,None
|
|
92
92
|
for num,result in enumerate(results):
|
|
93
93
|
hs.append(self.master_display(result,num,ct))
|
|
94
94
|
helpText='\n'.join(hs)
|
|
95
95
|
return results,helpText
|
|
96
96
|
return None,None
|
|
97
|
+
|
|
97
98
|
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}[
|
|
99
|
+
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}[QUANTITY/QTY] '{result.quantity}' {Fore.light_steel_blue}'{result.unit_of_measure}'{Fore.light_salmon_1} - [uid]'{result.uid}' - {Fore.cyan}[created_dtoe] '{result.created_dtoe}' {Fore.red}[age] '{datetime.now()-result.created_dtoe}'",num,ct)
|
|
99
100
|
print(hstring)
|
|
100
101
|
return hstring
|
|
101
102
|
|
|
103
|
+
def setAllTo(self):
|
|
104
|
+
with Session(ENGINE) as session:
|
|
105
|
+
query=session.query(Occurances)
|
|
106
|
+
all_set=Prompt.__init2__(None,func=FormBuilderMkText,ptext="What Value does everything get set to?",helpText="this applies to everythinging",data="float")
|
|
107
|
+
if all_set is None:
|
|
108
|
+
return
|
|
109
|
+
elif all_set in ['d',]:
|
|
110
|
+
all_set=0
|
|
111
|
+
|
|
112
|
+
query.update({'quantity':all_set})
|
|
113
|
+
session.commit()
|
|
114
|
+
|
|
102
115
|
def lst_names(self):
|
|
103
116
|
with Session(ENGINE) as session:
|
|
104
117
|
hs=[]
|
|
@@ -135,38 +148,213 @@ class OccurancesUi:
|
|
|
135
148
|
ct=len(results)
|
|
136
149
|
if ct == 0:
|
|
137
150
|
print(std_colorize("No Results Found",0,1))
|
|
138
|
-
return
|
|
151
|
+
return None,None
|
|
139
152
|
for num,result in enumerate(results):
|
|
140
153
|
hs.append(self.master_display(result,num,ct))
|
|
141
154
|
helpText='\n'.join(hs)
|
|
142
155
|
return results,helpText
|
|
143
156
|
return None,None
|
|
144
|
-
def total_by(self):
|
|
145
|
-
by=['group_name','group_uid','name','uid','type']
|
|
146
|
-
#need to select for total
|
|
147
157
|
|
|
148
|
-
def
|
|
149
|
-
|
|
158
|
+
def total_by_only_quantity(self,normalize=False):
|
|
159
|
+
reg=pint.UnitRegistry()
|
|
160
|
+
with Session(ENGINE) as session:
|
|
161
|
+
by=['group_name','group_uid','name','uid','type']
|
|
162
|
+
htext=[]
|
|
163
|
+
ctby=len(by)
|
|
164
|
+
for num,i in enumerate(by):
|
|
165
|
+
htext.append(std_colorize(i,num,ctby))
|
|
166
|
+
htext='\n'.join(htext)
|
|
167
|
+
print(htext)
|
|
168
|
+
whiches=Prompt.__init2__(self,func=FormBuilderMkText,ptext="Which indexes to total by?",helpText=htext,data="list")
|
|
169
|
+
if whiches is None:
|
|
170
|
+
return
|
|
171
|
+
elif whiches in ['d',]:
|
|
172
|
+
whiches=[0,]
|
|
173
|
+
print("ss")
|
|
174
|
+
for i in whiches:
|
|
175
|
+
try:
|
|
176
|
+
which=int(i)
|
|
177
|
+
if which in range(0,len(by)+1):
|
|
178
|
+
fields={
|
|
179
|
+
by[which]:{'default':None,'type':'string'}
|
|
180
|
+
}
|
|
181
|
+
search=FormBuilder(data=fields)
|
|
182
|
+
if search is None:
|
|
183
|
+
continue
|
|
184
|
+
s=[]
|
|
185
|
+
for iii in search:
|
|
186
|
+
|
|
187
|
+
if search[iii] is not None:
|
|
188
|
+
s.append(
|
|
189
|
+
getattr(Occurances,iii).icontains(search[iii])
|
|
190
|
+
)
|
|
191
|
+
if not normalize:
|
|
192
|
+
total=Decimal('0.00000')
|
|
193
|
+
else:
|
|
194
|
+
total=None
|
|
195
|
+
column_name=by[which]
|
|
196
|
+
|
|
197
|
+
query=session.query(Occurances)
|
|
198
|
+
query=query.filter(or_(*s))
|
|
199
|
+
|
|
150
200
|
|
|
151
|
-
|
|
152
|
-
|
|
201
|
+
query=orderQuery(query,Occurances.created_dtoe,inverse=True)
|
|
202
|
+
results=query.all()
|
|
203
|
+
ct=len(results)
|
|
204
|
+
for num,result in enumerate(results):
|
|
205
|
+
try:
|
|
206
|
+
if not normalize:
|
|
207
|
+
msg=self.master_display(result,num,ct)
|
|
208
|
+
current_value=getattr(result,'quantity')
|
|
209
|
+
if current_value is None:
|
|
210
|
+
current_value=0
|
|
211
|
+
print(f"Occurance(name='{result.name}',uid='{result.uid}',oid={result.oid}{column_name}).Total = {total:.f5} + {current_value}")
|
|
212
|
+
total+=Decimal(current_value).quantize(total)
|
|
213
|
+
else:
|
|
214
|
+
msg=self.master_display(result,num,ct)
|
|
215
|
+
current_value=Decimal(getattr(result,'quantity')).quantize(Decimal('0.00000'))
|
|
216
|
+
unit_of_measure=getattr(result,'unit_of_measure')
|
|
217
|
+
if unit_of_measure not in reg:
|
|
218
|
+
reg.define(f"{unit_of_measure} = 1")
|
|
153
219
|
|
|
154
|
-
|
|
155
|
-
|
|
220
|
+
qty=reg.Quantity(current_value,unit_of_measure)
|
|
221
|
+
|
|
222
|
+
if total is None:
|
|
223
|
+
total=qty
|
|
224
|
+
else:
|
|
225
|
+
total+=qty
|
|
226
|
+
except Exception as eeee:
|
|
227
|
+
print(eeee)
|
|
156
228
|
|
|
157
|
-
|
|
158
|
-
pass
|
|
159
|
-
def set_min_pre(self):
|
|
160
|
-
pass
|
|
161
|
-
def set_min_post(self):
|
|
162
|
-
pass
|
|
163
|
-
def set_max_post(self):
|
|
164
|
-
pass
|
|
229
|
+
print(f"{column_name}.Total = {total:.5f}")
|
|
165
230
|
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
def
|
|
169
|
-
|
|
231
|
+
except Exception as e:
|
|
232
|
+
print(e)
|
|
233
|
+
def copy_to_new(self,prompted=True):
|
|
234
|
+
local_excludes=['quantity','uid',]
|
|
235
|
+
#search and copy old details to a new Occurance setting created_dtoe to today, and quantity to 0
|
|
236
|
+
with Session(ENGINE) as session:
|
|
237
|
+
while True:
|
|
238
|
+
search,helpText=self.lst_names()
|
|
239
|
+
if search is None:
|
|
240
|
+
return
|
|
241
|
+
whiches=Prompt.__init2__(None,func=FormBuilderMkText,ptext="which indexes to copy to new Occurances",helpText=helpText,data="list")
|
|
242
|
+
if whiches in [None,'d']:
|
|
243
|
+
return
|
|
244
|
+
cta=len(search)
|
|
245
|
+
try:
|
|
246
|
+
for which in whiches:
|
|
247
|
+
try:
|
|
248
|
+
which=int(which)
|
|
249
|
+
if which in range(0,cta+1):
|
|
250
|
+
oid=search[which].oid
|
|
251
|
+
x=session.query(Occurances).filter(Occurances.oid==oid).first()
|
|
252
|
+
new=Occurances()
|
|
253
|
+
session.add(new)
|
|
254
|
+
excludes=[]
|
|
255
|
+
excludes.extend(self.first_time_excludes)
|
|
256
|
+
excludes.extend(local_excludes)
|
|
257
|
+
if prompted:
|
|
258
|
+
fields={i.name:{'default':getattr(x,i.name),'type':str(i.type).lower()} for i in Occurances.__table__.columns if i.name not in excludes}
|
|
259
|
+
fd=FormBuilder(data=fields)
|
|
260
|
+
else:
|
|
261
|
+
fd={}
|
|
262
|
+
fields=[i.name for i in Occurances.__table__.columns if i.name not in excludes]
|
|
263
|
+
for k in fields:
|
|
264
|
+
old=getattr(x,k)
|
|
265
|
+
fd[k]=old
|
|
266
|
+
|
|
267
|
+
includes2=['quantity',]
|
|
268
|
+
fields2={i.name:{'default':getattr(x,i.name),'type':str(i.type).lower()} for i in Occurances.__table__.columns if i.name in includes2}
|
|
269
|
+
fd2=FormBuilder(data=fields2)
|
|
270
|
+
if fd2:
|
|
271
|
+
fd['quantity']=fd2['quantity']
|
|
272
|
+
else:
|
|
273
|
+
fd['quantity']=0
|
|
274
|
+
fd['name']=f"{fd['name']} {dayString(datetime.now())}"
|
|
275
|
+
if fd:
|
|
276
|
+
try:
|
|
277
|
+
for k in fd:
|
|
278
|
+
setattr(new,k,fd[k])
|
|
279
|
+
session.commit()
|
|
280
|
+
except Exception as eee:
|
|
281
|
+
print(eee)
|
|
282
|
+
session.rollback()
|
|
283
|
+
except Exception as e:
|
|
284
|
+
print(e)
|
|
285
|
+
return
|
|
286
|
+
except Exception as ee:
|
|
287
|
+
print(ee)
|
|
288
|
+
break
|
|
289
|
+
|
|
290
|
+
def edit_selected(self):
|
|
291
|
+
with Session(ENGINE) as session:
|
|
292
|
+
while True:
|
|
293
|
+
search,helpText=self.lst_names()
|
|
294
|
+
if search is None:
|
|
295
|
+
return
|
|
296
|
+
whiches=Prompt.__init2__(None,func=FormBuilderMkText,ptext="which indexes to edit",helpText=helpText,data="list")
|
|
297
|
+
if whiches in [None,'d']:
|
|
298
|
+
return
|
|
299
|
+
cta=len(search)
|
|
300
|
+
try:
|
|
301
|
+
for which in whiches:
|
|
302
|
+
try:
|
|
303
|
+
which=int(which)
|
|
304
|
+
if which in range(0,cta+1):
|
|
305
|
+
oid=search[which].oid
|
|
306
|
+
x=session.query(Occurances).filter(Occurances.oid==oid).first()
|
|
307
|
+
fields={i.name:{'default':getattr(x,i.name),'type':str(i.type).lower()} for i in Occurances.__table__.columns if i.name not in self.first_time_excludes}
|
|
308
|
+
fd=FormBuilder(data=fields)
|
|
309
|
+
if fd:
|
|
310
|
+
try:
|
|
311
|
+
for k in fd:
|
|
312
|
+
setattr(x,k,fd[k])
|
|
313
|
+
session.commit()
|
|
314
|
+
except Exception as eee:
|
|
315
|
+
print(eee)
|
|
316
|
+
session.rollback()
|
|
317
|
+
except Exception as e:
|
|
318
|
+
print(e)
|
|
319
|
+
return
|
|
320
|
+
except Exception as ee:
|
|
321
|
+
print(ee)
|
|
322
|
+
break
|
|
323
|
+
|
|
324
|
+
def edit_selected_qty(self):
|
|
325
|
+
with Session(ENGINE) as session:
|
|
326
|
+
while True:
|
|
327
|
+
search,helpText=self.lst_names()
|
|
328
|
+
if search is None:
|
|
329
|
+
return
|
|
330
|
+
whiches=Prompt.__init2__(None,func=FormBuilderMkText,ptext="which indexes to edit",helpText=helpText,data="list")
|
|
331
|
+
if whiches in [None,'d']:
|
|
332
|
+
return
|
|
333
|
+
cta=len(search)
|
|
334
|
+
try:
|
|
335
|
+
for num,which in enumerate(whiches):
|
|
336
|
+
try:
|
|
337
|
+
which=int(which)
|
|
338
|
+
if which in range(0,cta+1):
|
|
339
|
+
oid=search[which].oid
|
|
340
|
+
x=session.query(Occurances).filter(Occurances.oid==oid).first()
|
|
341
|
+
includes=['quantity',]
|
|
342
|
+
fields={i.name:{'default':getattr(x,i.name),'type':str(i.type).lower()} for i in Occurances.__table__.columns if i.name in includes}
|
|
343
|
+
fd=FormBuilder(data=fields,passThruText=self.master_display(x,num,cta)+"\n")
|
|
344
|
+
if fd:
|
|
345
|
+
try:
|
|
346
|
+
for k in fd:
|
|
347
|
+
setattr(x,k,fd[k])
|
|
348
|
+
session.commit()
|
|
349
|
+
except Exception as eee:
|
|
350
|
+
print(eee)
|
|
351
|
+
session.rollback()
|
|
352
|
+
except Exception as e:
|
|
353
|
+
print(e)
|
|
354
|
+
return
|
|
355
|
+
except Exception as ee:
|
|
356
|
+
print(ee)
|
|
357
|
+
break
|
|
170
358
|
|
|
171
359
|
def delete_groups_uid(self):
|
|
172
360
|
with Session(ENGINE) as session:
|
|
@@ -182,14 +370,13 @@ class OccurancesUi:
|
|
|
182
370
|
for which in whiches:
|
|
183
371
|
try:
|
|
184
372
|
which=int(which)
|
|
185
|
-
if which in range(0,cta):
|
|
373
|
+
if which in range(0,cta+1):
|
|
186
374
|
guid=search[which].group_uid
|
|
187
375
|
x=session.query(Occurances).filter(Occurances.group_uid==guid).delete()
|
|
188
376
|
session.commit()
|
|
189
|
-
return
|
|
190
|
-
|
|
191
377
|
except Exception as e:
|
|
192
378
|
print(e)
|
|
379
|
+
return
|
|
193
380
|
except Exception as ee:
|
|
194
381
|
print(ee)
|
|
195
382
|
break
|
|
@@ -208,16 +395,15 @@ class OccurancesUi:
|
|
|
208
395
|
for which in whiches:
|
|
209
396
|
try:
|
|
210
397
|
which=int(which)
|
|
211
|
-
print(which,which in range(0,cta),cta,range(0,cta))
|
|
212
|
-
if which in range(0,cta):
|
|
398
|
+
#print(which,which in range(0,cta),cta,range(0,cta))
|
|
399
|
+
if which in range(0,cta+1):
|
|
213
400
|
guid=search[which].group_name
|
|
214
401
|
print(guid)
|
|
215
402
|
x=session.query(Occurances).filter(Occurances.group_name==search[which].group_name).delete()
|
|
216
403
|
session.commit()
|
|
217
|
-
return
|
|
218
|
-
|
|
219
404
|
except Exception as e:
|
|
220
405
|
print(e)
|
|
406
|
+
return
|
|
221
407
|
except Exception as ee:
|
|
222
408
|
print(ee)
|
|
223
409
|
break
|
|
@@ -236,14 +422,14 @@ class OccurancesUi:
|
|
|
236
422
|
for which in whiches:
|
|
237
423
|
try:
|
|
238
424
|
which=int(which)
|
|
239
|
-
|
|
425
|
+
#print(which,which in range(0,cta),cta,range(0,cta))
|
|
426
|
+
if which in range(0,cta+1):
|
|
240
427
|
oid=search[which].oid
|
|
241
428
|
x=session.query(Occurances).filter(Occurances.oid==oid).delete()
|
|
242
429
|
session.commit()
|
|
243
|
-
return
|
|
244
|
-
|
|
245
430
|
except Exception as e:
|
|
246
431
|
print(e)
|
|
432
|
+
return
|
|
247
433
|
except Exception as ee:
|
|
248
434
|
print(ee)
|
|
249
435
|
break
|
|
@@ -257,46 +443,6 @@ class OccurancesUi:
|
|
|
257
443
|
for num, i in enumerate(results):
|
|
258
444
|
self.master_display(i,num,ct)
|
|
259
445
|
|
|
260
|
-
def search_select(self,rTYPE=list,display=True):
|
|
261
|
-
'''Search for, select,
|
|
262
|
-
display selected, or
|
|
263
|
-
return selected as:
|
|
264
|
-
list of Occurances
|
|
265
|
-
a single Occurance
|
|
266
|
-
|
|
267
|
-
'''
|
|
268
|
-
with Session(ENGINE) as session:
|
|
269
|
-
stext=Prompt.__init2__(None,func=FormBuilderMkText,ptext="What are you looking for?",helpText="text data to search for",data="string")
|
|
270
|
-
if stext is None:
|
|
271
|
-
return
|
|
272
|
-
elif stext in ['d','']:
|
|
273
|
-
pass
|
|
274
|
-
|
|
275
|
-
query=session.query(Occurances)
|
|
276
|
-
text_fields=[]
|
|
277
|
-
text_query_fields=[]
|
|
278
|
-
#setup filters for stext
|
|
279
|
-
|
|
280
|
-
query=orderQuery(query,Occurances.created_dtoe,inverse=True)
|
|
281
|
-
results=query.all()
|
|
282
|
-
def display_results(results,session,query):
|
|
283
|
-
pass
|
|
284
|
-
if isinstance(rTYPE,list) or rType is list:
|
|
285
|
-
if display:
|
|
286
|
-
display_results(results,session,query)
|
|
287
|
-
else:
|
|
288
|
-
#list selector here
|
|
289
|
-
return results
|
|
290
|
-
elif isinstance(rTYPE,Occurances) or rType is Occurances:
|
|
291
|
-
if display:
|
|
292
|
-
display_results(results,session,query)
|
|
293
|
-
else:
|
|
294
|
-
pass
|
|
295
|
-
#Occurance selector here
|
|
296
|
-
return results
|
|
297
|
-
else:
|
|
298
|
-
display_results(results,session,query)
|
|
299
|
-
|
|
300
446
|
def fix_table(self):
|
|
301
447
|
Occurances.__table__.drop(ENGINE)
|
|
302
448
|
Occurances.metadata.create_all(ENGINE)
|
|
@@ -348,6 +494,42 @@ class OccurancesUi:
|
|
|
348
494
|
'desc':f"list all",
|
|
349
495
|
'exec':self.list_all,
|
|
350
496
|
},
|
|
497
|
+
uuid1():{
|
|
498
|
+
'cmds':generate_cmds(startcmd=['edit','edt','ed'],endCmd=['occurance','cntr','selected','s',]),
|
|
499
|
+
'desc':f"edit occurances data",
|
|
500
|
+
'exec':self.edit_selected,
|
|
501
|
+
},
|
|
502
|
+
uuid1():{
|
|
503
|
+
'cmds':generate_cmds(startcmd=['edit','edt','ed'],endCmd=['quantity','qty','amnt','amount']),
|
|
504
|
+
'desc':f"edit occurances quantity only",
|
|
505
|
+
'exec':self.edit_selected_qty,
|
|
506
|
+
},
|
|
507
|
+
uuid1():{
|
|
508
|
+
'cmds':generate_cmds(startcmd=['cp','copy','cpy'],endCmd=['2new','2 new',' ','']),
|
|
509
|
+
'desc':f"copy all details of Occurances to new Occurance except for quantity and uids prompting for user provided changes to old",
|
|
510
|
+
'exec':self.copy_to_new,
|
|
511
|
+
},
|
|
512
|
+
uuid1():{
|
|
513
|
+
'cmds':generate_cmds(startcmd=['cp','copy','cpy'],endCmd=['2new np','2 new np','2nw np','2 new no prompt','2new no-prompt']),
|
|
514
|
+
'desc':f"copy all details of Occurances to new Occurance except for quantity and uids prompting for user provided changes to old",
|
|
515
|
+
'exec':lambda self=self:self.copy_to_new(prompted=False),
|
|
516
|
+
},
|
|
517
|
+
uuid1():{
|
|
518
|
+
'cmds':generate_cmds(startcmd=['ttl','total','count'],endCmd=['qty','qty only','quantity only']),
|
|
519
|
+
'desc':f"count only quantity fields by column names without normalization",
|
|
520
|
+
'exec':lambda self=self:self.total_by_only_quantity(),
|
|
521
|
+
},
|
|
522
|
+
uuid1():{
|
|
523
|
+
'cmds':generate_cmds(startcmd=['ttl','total','count'],endCmd=['nmlz','normalized','normal']),
|
|
524
|
+
'desc':f"count only quantity fields by column names with normalization",
|
|
525
|
+
'exec':lambda self=self:self.total_by_only_quantity(normalize=True),
|
|
526
|
+
},
|
|
527
|
+
uuid1():{
|
|
528
|
+
'cmds':generate_cmds(startcmd=['setto','clrto','st2'],endCmd=['all','*',]),
|
|
529
|
+
'desc':f"set all Occurances to user provided value/in essence a clear/pre init",
|
|
530
|
+
'exec':lambda self=self:self.setAllTo(),
|
|
531
|
+
},
|
|
532
|
+
|
|
351
533
|
}
|
|
352
534
|
|
|
353
535
|
htext=[]
|
radboy/__init__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
VERSION='0.0.
|
|
1
|
+
VERSION='0.0.503'
|
|
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=rpb4-5-VMsdEK-fEqHy8P46_wyOzRG82m5px4ZqY40g,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
|
|
@@ -92,7 +92,7 @@ radboy/DB/SMLabelImporter.py,sha256=eUoBDxVUUEKGL2g_PwkASM67ZB7FmXtSnn4bCagskhY,
|
|
|
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=lFGyGn4ZD6PDg3dOQZxRCk3HLLp88cGrpBlUyiB2mhc,246363
|
|
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
|
|
@@ -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=iCo8Bq54dG0hlAzKeAXOSRUs8t6gPQomS7rg5qDjuc4,392241
|
|
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
|
|
@@ -198,7 +198,7 @@ radboy/FB/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
|
198
198
|
radboy/FB/__pycache__/FBMTXT.cpython-312.pyc,sha256=XCVFa7Mo83LGIdRrTvcK73siUpcVIEQfXKCH2QHeViw,9626
|
|
199
199
|
radboy/FB/__pycache__/FBMTXT.cpython-313.pyc,sha256=yGN_5nMHjf2Yy7s7nF0BSkJjapNVHwpRO4DlnnLFhuA,54686
|
|
200
200
|
radboy/FB/__pycache__/FormBuilder.cpython-312.pyc,sha256=lNQdB-zApsXM7OQF9MIi0zRZD1SAL6stKEN-AyQiIKg,18873
|
|
201
|
-
radboy/FB/__pycache__/FormBuilder.cpython-313.pyc,sha256=
|
|
201
|
+
radboy/FB/__pycache__/FormBuilder.cpython-313.pyc,sha256=_fbgfAUT4-IebcxlfzTXFxpSzuxLGliNXMh5Skvilrw,19706
|
|
202
202
|
radboy/FB/__pycache__/__init__.cpython-312.pyc,sha256=ULEL8Au_CxcYpNAcSoSbI65M7-av1W6Zuy6kQJUu-Mw,265
|
|
203
203
|
radboy/FB/__pycache__/__init__.cpython-313.pyc,sha256=Mp4kqFJa86-gyUu1vr9rubcUHUDr-O75hevV5IQdSFw,144
|
|
204
204
|
radboy/GDOWN/GDOWN.py,sha256=Z5q6TR92I4eQpxhsJpOwhH__f1tK2IcGctPRw8OAEr8,798
|
|
@@ -264,7 +264,7 @@ radboy/ModuleTemplate/Tasks.py,sha256=RF4sWnLH4FyzMU8AHOov7WP24-udd96-l9c9SvbIP_
|
|
|
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=kiUn1w1DQ2s85ddF4rEq7bSwg-QyVEqsk_XCHFGWj3Y,17873
|
|
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=ls_h-bssylYwXbevLK3pdBZJUXwaqEciZKg_iXBD9I8,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.503.dist-info/METADATA,sha256=YZa0xbyxIZBBlUzeMBK8E5-7MdLoHx0Z_FjNfn_7y9I,1601
|
|
427
|
+
radboy-0.0.503.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
428
|
+
radboy-0.0.503.dist-info/top_level.txt,sha256=mlM0RWMUxGo1YHnlLmYrHOgGdK4XNRpr7nMFD5lR56c,7
|
|
429
|
+
radboy-0.0.503.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|