radboy 0.0.575__py3-none-any.whl → 0.0.577__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 +35 -0
- radboy/HealthLog/__pycache__/HealthLog.cpython-313.pyc +0 -0
- radboy/TasksMode/Tasks.py +14 -29
- radboy/TasksMode/__pycache__/Tasks.cpython-313.pyc +0 -0
- radboy/__init__.py +1 -1
- radboy/__pycache__/__init__.cpython-313.pyc +0 -0
- {radboy-0.0.575.dist-info → radboy-0.0.577.dist-info}/METADATA +1 -1
- {radboy-0.0.575.dist-info → radboy-0.0.577.dist-info}/RECORD +11 -11
- {radboy-0.0.575.dist-info → radboy-0.0.577.dist-info}/WHEEL +0 -0
- {radboy-0.0.575.dist-info → radboy-0.0.577.dist-info}/top_level.txt +0 -0
|
Binary file
|
radboy/DB/db.py
CHANGED
|
@@ -202,6 +202,34 @@ def strip_colors(colored_text):
|
|
|
202
202
|
|
|
203
203
|
class BOOLEAN_ANSWERS:
|
|
204
204
|
def __init__(self):
|
|
205
|
+
self.valid_fields=['Shelf',
|
|
206
|
+
'BackRoom',
|
|
207
|
+
'Display_1',
|
|
208
|
+
'Display_2',
|
|
209
|
+
'Display_3',
|
|
210
|
+
'Display_4',
|
|
211
|
+
'Display_5',
|
|
212
|
+
'Display_6',
|
|
213
|
+
'ALT_Barcode',
|
|
214
|
+
'DUP_Barcode',
|
|
215
|
+
'CaseID_BR',
|
|
216
|
+
'CaseID_LD',
|
|
217
|
+
'CaseID_6W',
|
|
218
|
+
'Tags',
|
|
219
|
+
'Facings',
|
|
220
|
+
'SBX_WTR_DSPLY',
|
|
221
|
+
'SBX_CHP_DSPLY',
|
|
222
|
+
'SBX_WTR_KLR',
|
|
223
|
+
'FLRL_CHP_DSPLY',
|
|
224
|
+
'FLRL_WTR_DSPLY',
|
|
225
|
+
'WD_DSPLY',
|
|
226
|
+
'CHKSTND_SPLY',
|
|
227
|
+
'Distress',
|
|
228
|
+
'Facings',
|
|
229
|
+
'UnitsDeep',
|
|
230
|
+
'UnitsHigh',
|
|
231
|
+
'ListQty'
|
|
232
|
+
]
|
|
205
233
|
self.HealthLogZip=Path("HealthLog.zip")
|
|
206
234
|
self.IllegalCharsManifest=Path("IllegalCharsManifest.txt")
|
|
207
235
|
self.yes=generate_cmds(startcmd=['y','Y','YES','1','t','true','TRUE','True'],endCmd=['',' '])
|
|
@@ -544,6 +572,13 @@ LOCATION_FIELDS=[
|
|
|
544
572
|
|
|
545
573
|
|
|
546
574
|
def dayString(today,plain=False):
|
|
575
|
+
if isinstance(today,str):
|
|
576
|
+
print(today)
|
|
577
|
+
today=datetime.now()
|
|
578
|
+
if not isinstance(today,datetime):
|
|
579
|
+
print(today,type(today))
|
|
580
|
+
today=datetime.now()
|
|
581
|
+
|
|
547
582
|
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)")}'''
|
|
548
583
|
if plain:
|
|
549
584
|
return strip_colors(ds)
|
|
Binary file
|
radboy/TasksMode/Tasks.py
CHANGED
|
@@ -60,15 +60,27 @@ def totalDBItems():
|
|
|
60
60
|
with Session(ENGINE) as session:
|
|
61
61
|
total=0
|
|
62
62
|
crv_items=0
|
|
63
|
+
crv_qty_items=0
|
|
63
64
|
q=session.query(Entry).filter(Entry.InList==True)
|
|
64
65
|
a=q.all()
|
|
65
66
|
|
|
66
67
|
for i in a:
|
|
68
|
+
qty=0
|
|
69
|
+
|
|
70
|
+
for f in BooleanAnswers.valid_fields:
|
|
71
|
+
value=getattr(i,f)
|
|
72
|
+
if value is not None:
|
|
73
|
+
try:
|
|
74
|
+
qty+=value
|
|
75
|
+
except Exception as e:
|
|
76
|
+
print(e)
|
|
77
|
+
|
|
67
78
|
if i.CRV not in [0,None]:
|
|
68
79
|
total+=1
|
|
69
80
|
crv_items+=1
|
|
81
|
+
crv_qty_items+=qty
|
|
70
82
|
total+=1
|
|
71
|
-
return f"(TTL ITM:{Fore.light_red}{total}{Fore.light_yellow},CRV ITM :{Fore.light_red}{crv_items}{Fore.light_yellow})"
|
|
83
|
+
return f"List(TTL ITM:{Fore.light_red}{total}{Fore.light_yellow},CRV ITM :{Fore.light_red}{crv_items}{Fore.light_yellow},CRV QTY ITM :{Fore.light_red}{crv_qty_items}{Fore.light_yellow})"
|
|
72
84
|
|
|
73
85
|
|
|
74
86
|
def check_back_ups():
|
|
@@ -4884,34 +4896,7 @@ where:
|
|
|
4884
4896
|
self.parent=parent
|
|
4885
4897
|
self.special=['Tags','ALT_Barcode','DUP_Barcode','CaseID_6W','CaseID_BR','CaseID_LD','Facings']
|
|
4886
4898
|
self.locationFields=LOCATION_FIELDS
|
|
4887
|
-
self.valid_fields=
|
|
4888
|
-
'BackRoom',
|
|
4889
|
-
'Display_1',
|
|
4890
|
-
'Display_2',
|
|
4891
|
-
'Display_3',
|
|
4892
|
-
'Display_4',
|
|
4893
|
-
'Display_5',
|
|
4894
|
-
'Display_6',
|
|
4895
|
-
'ALT_Barcode',
|
|
4896
|
-
'DUP_Barcode',
|
|
4897
|
-
'CaseID_BR',
|
|
4898
|
-
'CaseID_LD',
|
|
4899
|
-
'CaseID_6W',
|
|
4900
|
-
'Tags',
|
|
4901
|
-
'Facings',
|
|
4902
|
-
'SBX_WTR_DSPLY',
|
|
4903
|
-
'SBX_CHP_DSPLY',
|
|
4904
|
-
'SBX_WTR_KLR',
|
|
4905
|
-
'FLRL_CHP_DSPLY',
|
|
4906
|
-
'FLRL_WTR_DSPLY',
|
|
4907
|
-
'WD_DSPLY',
|
|
4908
|
-
'CHKSTND_SPLY',
|
|
4909
|
-
'Distress',
|
|
4910
|
-
'Facings',
|
|
4911
|
-
'UnitsDeep',
|
|
4912
|
-
'UnitsHigh',
|
|
4913
|
-
'ListQty'
|
|
4914
|
-
]
|
|
4899
|
+
self.valid_fields=BooleanAnswers.valid_fields
|
|
4915
4900
|
'''
|
|
4916
4901
|
ALT_Barcode=Column(String)
|
|
4917
4902
|
DUP_Barcode=Column(String)
|
|
Binary file
|
radboy/__init__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
VERSION='0.0.
|
|
1
|
+
VERSION='0.0.577'
|
|
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=d4xug-ygC4iZO2FbJXCFsSt5js4VY1eEQ-5Njaip8Cg,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
|
|
@@ -93,7 +93,7 @@ radboy/DB/SMLabelImporter.py,sha256=eUoBDxVUUEKGL2g_PwkASM67ZB7FmXtSnn4bCagskhY,
|
|
|
93
93
|
radboy/DB/__init__.py,sha256=JiigA9B7GalP7YuRdcwyGDu5PDSBahoi0lLjtScxlN8,49
|
|
94
94
|
radboy/DB/blankDataFile.py,sha256=YX_05Usi71UpDkZN9UTMYwUipbTndTAtEgqzBEga0kE,9285
|
|
95
95
|
radboy/DB/config.py,sha256=bvu43dUl1_yO3Zq3gsLuenGUgJSiS3S9Cs6ppFEvZbg,239
|
|
96
|
-
radboy/DB/db.py,sha256=
|
|
96
|
+
radboy/DB/db.py,sha256=aFVHvmEZ87wPN1YMMrFkZQ_IWrMttTEHWKKVV8e1lr8,255712
|
|
97
97
|
radboy/DB/glossary_db.py,sha256=1_qxeEpjjEtpWB_eDjsgJisimLv7OBm75MuqM-Lt6zg,28218
|
|
98
98
|
radboy/DB/masterLookup.py,sha256=DBaM2uscG3_X5dek49wjdnOzhrjWhKgvOEz_umdz0mY,4566
|
|
99
99
|
radboy/DB/msg.txt,sha256=YxWed6A6tuP1djJ5QPS2Rz3ING4TKKf8kUiCCPtzHXE,7937
|
|
@@ -128,7 +128,7 @@ radboy/DB/__pycache__/config.cpython-312.pyc,sha256=Qo7E6MHrF6yqvKgepNFyCoekZXiv
|
|
|
128
128
|
radboy/DB/__pycache__/config.cpython-313.pyc,sha256=_8wCIg_3jhyJjxnExD2Sm6aY-uZTw036p7Ki5znL7dc,376
|
|
129
129
|
radboy/DB/__pycache__/db.cpython-311.pyc,sha256=rNgigyBd0D-cg1JxKAS8t0B_k0IEJivgVlRaZE10Xis,210105
|
|
130
130
|
radboy/DB/__pycache__/db.cpython-312.pyc,sha256=ANDJPC0RoavbmSKFxG15vC7B4rEGyVt7xRJt7XGY3OA,334609
|
|
131
|
-
radboy/DB/__pycache__/db.cpython-313.pyc,sha256
|
|
131
|
+
radboy/DB/__pycache__/db.cpython-313.pyc,sha256=-U76EDZ13_aRb-VKn3V7WSUxssTkazsX4dQuz__mGrM,403399
|
|
132
132
|
radboy/DB/__pycache__/glossary_db.cpython-312.pyc,sha256=8UL-29cKqtKovx0BANm6kzKKteef1BW_2qF3wumzst4,36023
|
|
133
133
|
radboy/DB/__pycache__/glossary_db.cpython-313.pyc,sha256=Ke9bkvllGv5CK0JdT9DRvQ3MOdrXxoYv7TVLNkqLux0,36582
|
|
134
134
|
radboy/DB/__pycache__/masterLookup.cpython-312.pyc,sha256=bQiOkmMwwHgcO18tYSWGQ-YUff4GQlKVhBMp1GoWAqY,6324
|
|
@@ -214,7 +214,7 @@ radboy/GeoTools/__pycache__/__init__.cpython-313.pyc,sha256=-bk9eEIxWZgHYZHtNJbr
|
|
|
214
214
|
radboy/HealthLog/HealthLog.py,sha256=D-L1RjE3xLNQx0XgeISWzOwpXMBD7zAWdr7TDpKUhGM,37086
|
|
215
215
|
radboy/HealthLog/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
216
216
|
radboy/HealthLog/__pycache__/HealthLog.cpython-312.pyc,sha256=hTo4o7jo9L2yqPZgzuKUw_kon_PVcCuTRguELTuLrIo,27946
|
|
217
|
-
radboy/HealthLog/__pycache__/HealthLog.cpython-313.pyc,sha256=
|
|
217
|
+
radboy/HealthLog/__pycache__/HealthLog.cpython-313.pyc,sha256=im5mkOYoMf9V9CRbpb01_n0MEwI5kR4YbRJkAJV9qGk,58010
|
|
218
218
|
radboy/HealthLog/__pycache__/__init__.cpython-312.pyc,sha256=yZrYKBk31pGSjCRqmqzpX409iw-muC1zsNO2ObqkGlY,272
|
|
219
219
|
radboy/HealthLog/__pycache__/__init__.cpython-313.pyc,sha256=cqdZbEJKq9XVoVqDAwsW0pwwBBGSerJNWGlST3YVR3g,151
|
|
220
220
|
radboy/InListRestore/ILR.py,sha256=s8fbbHLKQSVJX1VaeyGE-vdIUGBEbOPX29kRIG2j2WY,16847
|
|
@@ -343,7 +343,7 @@ radboy/SystemSettings/__pycache__/__init__.cpython-312.pyc,sha256=aIzp4Po0t8EhSA
|
|
|
343
343
|
radboy/SystemSettings/__pycache__/__init__.cpython-313.pyc,sha256=QFDuoidxMWsGVLsy5lN-rDs6TP8nKJ4yyCyiamNOhwo,156
|
|
344
344
|
radboy/TasksMode/ReFormula.py,sha256=REDRJYub-OEOE6g14oRQOLOQwv8pHqVJy4NQk3CCM90,2255
|
|
345
345
|
radboy/TasksMode/SetEntryNEU.py,sha256=Gu0Z677tjpc7-9AQtLbIr7yzPx6ZJXGK33lOIgU0IRM,17432
|
|
346
|
-
radboy/TasksMode/Tasks.py,sha256=
|
|
346
|
+
radboy/TasksMode/Tasks.py,sha256=daaJctt9DGDaPtFt3huY_smdM8zD1hmgT9XjC2BSvIc,341533
|
|
347
347
|
radboy/TasksMode/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
348
348
|
radboy/TasksMode/__pycache__/ReFormula.cpython-311.pyc,sha256=QEG3PwVw-8HTd_Mf9XbVcxU56F1fC9yBqWXYPLC39DU,4865
|
|
349
349
|
radboy/TasksMode/__pycache__/ReFormula.cpython-312.pyc,sha256=aX7BWm2PPjCTnxsbGUitR-2h9hq4AjaBiHMrUXvIl0Y,3967
|
|
@@ -352,7 +352,7 @@ radboy/TasksMode/__pycache__/SetEntryNEU.cpython-312.pyc,sha256=pCdFj61aPKkHL6Sv
|
|
|
352
352
|
radboy/TasksMode/__pycache__/SetEntryNEU.cpython-313.pyc,sha256=UExwr8dN2STFEDE5t_YnQFMUX-wGv7JH10I1OyBDRtM,20212
|
|
353
353
|
radboy/TasksMode/__pycache__/Tasks.cpython-311.pyc,sha256=6QOTJnLiXSKdF81hkhy3vyrz49PPhS20s5_0X52g3Hw,131120
|
|
354
354
|
radboy/TasksMode/__pycache__/Tasks.cpython-312.pyc,sha256=hyJwdaYaaRLdcrNxgg36diJ5iijX5_3I0UAORsj-6LU,310295
|
|
355
|
-
radboy/TasksMode/__pycache__/Tasks.cpython-313.pyc,sha256=
|
|
355
|
+
radboy/TasksMode/__pycache__/Tasks.cpython-313.pyc,sha256=5lwejRXwe14yOOHqhjb6D397JT-l3zu7q5R_zTcmLzg,415054
|
|
356
356
|
radboy/TasksMode/__pycache__/__init__.cpython-311.pyc,sha256=PKV1JbihEacm639b53bZozRQvcllSkjGP3q8STVMxF4,234
|
|
357
357
|
radboy/TasksMode/__pycache__/__init__.cpython-312.pyc,sha256=ERgnEvRMiGSecWp1BpNzLdSq_SdKw7GvFWUvUM7bLVw,272
|
|
358
358
|
radboy/TasksMode/__pycache__/__init__.cpython-313.pyc,sha256=lvsTxukyvGKB3C0rdF9dQi_bvVh6ceDVINfwcuIsd0s,151
|
|
@@ -399,7 +399,7 @@ radboy/__pycache__/Run.cpython-311.pyc,sha256=G_UEfMtkLRjR6ZpGA_BJzGenuaCcP469Y9
|
|
|
399
399
|
radboy/__pycache__/Run.cpython-312.pyc,sha256=v4xolc3mHyla991XhpYBUbBHYT0bnJ1gE-lkFoQ4GFA,241
|
|
400
400
|
radboy/__pycache__/__init__.cpython-311.pyc,sha256=R-DVbUioMOW-Fnaq7FpT5F1a5p0q3b_RW-HpLRArCAY,242
|
|
401
401
|
radboy/__pycache__/__init__.cpython-312.pyc,sha256=FsFzLXOlTK8_7ixoPZzakkR8Wibt-DvXLFh-oG2QlPw,164
|
|
402
|
-
radboy/__pycache__/__init__.cpython-313.pyc,sha256=
|
|
402
|
+
radboy/__pycache__/__init__.cpython-313.pyc,sha256=xe-6b1OFRPms8CB-CAFqv7ChEd2ZTo0CO7ISe9Zssvc,165
|
|
403
403
|
radboy/__pycache__/__init__.cpython-39.pyc,sha256=D48T6x6FUeKPfubo0sdS_ZUut3FmBvPMP7qT6rYBZzU,275
|
|
404
404
|
radboy/__pycache__/possibleCode.cpython-311.pyc,sha256=zFiHyzqD8gUnIWu4vtyMYIBposiRQqaRXfcT_fOl4rU,20882
|
|
405
405
|
radboy/__pycache__/possibleCode.cpython-312.pyc,sha256=tk_CO-AcsO3YZj5j6vEsw3g37UmEzWc5YgeWEoJEUg4,27922
|
|
@@ -427,7 +427,7 @@ radboy/tkGui/Images/__pycache__/__init__.cpython-311.pyc,sha256=tXBYpqbOlZ24B1BI
|
|
|
427
427
|
radboy/tkGui/__pycache__/BeginnersLuck.cpython-311.pyc,sha256=xLQOnV1wuqHGaub16mPX0dDMGU9ryCeLtNz5e517_GE,3004
|
|
428
428
|
radboy/tkGui/__pycache__/Review.cpython-311.pyc,sha256=wKq24iM6Xe2OampgZ7-8U6Nvmgs2y-qWOrGwtWhc75k,4047
|
|
429
429
|
radboy/tkGui/__pycache__/__init__.cpython-311.pyc,sha256=BX7DBn5qbvKTvlrKOP5gzTBPBTeTgSMjBW6EMl7N8e0,230
|
|
430
|
-
radboy-0.0.
|
|
431
|
-
radboy-0.0.
|
|
432
|
-
radboy-0.0.
|
|
433
|
-
radboy-0.0.
|
|
430
|
+
radboy-0.0.577.dist-info/METADATA,sha256=_4PKrCISq0Hb1oXWnPQmVlbn-WHX-2x1MBLxHqRVIgk,1662
|
|
431
|
+
radboy-0.0.577.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
432
|
+
radboy-0.0.577.dist-info/top_level.txt,sha256=mlM0RWMUxGo1YHnlLmYrHOgGdK4XNRpr7nMFD5lR56c,7
|
|
433
|
+
radboy-0.0.577.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|