radboy 0.0.739__py3-none-any.whl → 0.0.740__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/HealthLog/HealthLog.py +8 -8
- radboy/__init__.py +1 -1
- radboy/__pycache__/__init__.cpython-313.pyc +0 -0
- {radboy-0.0.739.dist-info → radboy-0.0.740.dist-info}/METADATA +1 -1
- {radboy-0.0.739.dist-info → radboy-0.0.740.dist-info}/RECORD +7 -7
- {radboy-0.0.739.dist-info → radboy-0.0.740.dist-info}/WHEEL +0 -0
- {radboy-0.0.739.dist-info → radboy-0.0.740.dist-info}/top_level.txt +0 -0
radboy/HealthLog/HealthLog.py
CHANGED
|
@@ -39,7 +39,7 @@ class HealthLogUi:
|
|
|
39
39
|
lai=session.query(HealthLog).filter(and_(HealthLog.LongActingInsulinName!=None,HealthLog.LongActingInsulinTaken!=None))
|
|
40
40
|
lai=orderQuery(lai,HealthLog.DTOE,inverse=True).first()
|
|
41
41
|
if lai:
|
|
42
|
-
print(f"{Fore.
|
|
42
|
+
print(f"{Fore.light_steel_blue}Long Acting Insulin : HowLongAgo({Fore.sea_green_2}{datetime.now()-lai.DTOE}){Style.reset}")
|
|
43
43
|
num=0
|
|
44
44
|
view=[]
|
|
45
45
|
view.append(f"{Fore.green_3b}Name: {Fore.sea_green_2}'{lai.LongActingInsulinName}' {Fore.green_3b}Taken: {Fore.sea_green_2}{lai.LongActingInsulinTaken} {Fore.green_3b}Unit: {Fore.sea_green_2}{lai.LongActingInsulinUnitName} {Fore.green_3b}HLID: {Fore.sea_green_2}{lai.HLID} {Fore.green_3b}DTOE:{Fore.sea_green_2}{lai.DTOE}{Style.reset}")
|
|
@@ -51,7 +51,7 @@ class HealthLogUi:
|
|
|
51
51
|
sai=session.query(HealthLog).filter(and_(HealthLog.ShortActingInsulinName!=None,HealthLog.ShortActingInsulinTaken!=None))
|
|
52
52
|
sai=orderQuery(sai,HealthLog.DTOE,inverse=True).first()
|
|
53
53
|
if sai:
|
|
54
|
-
print(f"{Fore.
|
|
54
|
+
print(f"{Fore.light_steel_blue}Short Acting Insulin : {Fore.green_3b}HowLongAgo({Fore.sea_green_2}{datetime.now()-sai.DTOE}){Style.reset}")
|
|
55
55
|
num=1
|
|
56
56
|
view=[]
|
|
57
57
|
view.append(f"{Fore.green_3b}Name: {Fore.sea_green_2}'{sai.ShortActingInsulinName}' {Fore.green_3b}Taken: {Fore.sea_green_2}{sai.ShortActingInsulinTaken} {Fore.green_3b}Unit: {Fore.sea_green_2}{sai.ShortActingInsulinUnitName} {Fore.green_3b}HLID: {Fore.sea_green_2}{sai.HLID} {Fore.green_3b}DTOE:{Fore.sea_green_2}{sai.DTOE}{Style.reset}")
|
|
@@ -64,7 +64,7 @@ class HealthLogUi:
|
|
|
64
64
|
last_carb=session.query(HealthLog).filter(and_(HealthLog.CarboHydrateIntake!=None,HealthLog.EntryName!=None))
|
|
65
65
|
last_carb=orderQuery(last_carb,HealthLog.DTOE,inverse=True).first()
|
|
66
66
|
if last_carb:
|
|
67
|
-
print(f"{Fore.
|
|
67
|
+
print(f"{Fore.light_steel_blue}CarboHydrateIntake : HowLongAgo({Fore.sea_green_2}{datetime.now()-last_carb.DTOE}){Style.reset}")
|
|
68
68
|
num=2
|
|
69
69
|
view=[]
|
|
70
70
|
for x in last_carb.__table__.columns:
|
|
@@ -78,7 +78,7 @@ class HealthLogUi:
|
|
|
78
78
|
drug=session.query(HealthLog).filter(HealthLog.DrugQtyConsumed!=None)
|
|
79
79
|
drug=orderQuery(drug,HealthLog.DTOE,inverse=True).first()
|
|
80
80
|
if drug:
|
|
81
|
-
print(f"{Fore.
|
|
81
|
+
print(f"{Fore.light_steel_blue}Last Drug Dose Taken : HowLongAgo({Fore.sea_green_2}{datetime.now()-drug.DTOE}){Style.reset}")
|
|
82
82
|
num=3
|
|
83
83
|
view=[]
|
|
84
84
|
view.append(f"{Fore.green_3b}Name:{Fore.sea_green_2}{drug.EntryName} {Fore.green_3b}Barcode:{Fore.sea_green_2}{drug.EntryBarcode} {Fore.green_3b}Drug Name: {Fore.sea_green_2}'{drug.DrugConsumed}' {Fore.green_3b}Taken: {Fore.sea_green_2}{lai.DrugQtyConsumed} {Fore.green_3b}Unit: {Fore.sea_green_2}{drug.DrugQtyConsumedUnitName} {Fore.green_3b}HLID: {Fore.sea_green_2}{lai.HLID} {Fore.green_3b}DTOE:{Fore.sea_green_2}{lai.DTOE}{Style.reset}")
|
|
@@ -91,7 +91,7 @@ class HealthLogUi:
|
|
|
91
91
|
glucose=session.query(HealthLog).filter(and_(HealthLog.BloodSugar!=None,))
|
|
92
92
|
glucose=orderQuery(glucose,HealthLog.DTOE,inverse=True).first()
|
|
93
93
|
if glucose:
|
|
94
|
-
print(f"{Fore.
|
|
94
|
+
print(f"{Fore.light_steel_blue}Blood Sugar : HowLongAgo({Fore.sea_green_2}{datetime.now()-glucose.DTOE})")
|
|
95
95
|
num=0
|
|
96
96
|
view=[]
|
|
97
97
|
view.append(f"{Fore.green_3b}Blood Sugar/Glucose No. : {Fore.sea_green_2}{glucose.BloodSugar} {Fore.green_3b}Unit:{Fore.sea_green_2}{glucose.BloodSugarUnitName} {Fore.green_3b}HLID: {Fore.sea_green_2}{glucose.HLID} {Fore.green_3b}DTOE: {Fore.sea_green_2}{glucose.DTOE}{Style.reset}")
|
|
@@ -104,7 +104,7 @@ class HealthLogUi:
|
|
|
104
104
|
height=session.query(HealthLog).filter(and_(HealthLog.Height!=None,))
|
|
105
105
|
height=orderQuery(height,HealthLog.DTOE,inverse=True).first()
|
|
106
106
|
if height:
|
|
107
|
-
print(f"{Fore.
|
|
107
|
+
print(f"{Fore.light_steel_blue}Height : HowLongAgo({Fore.sea_green_2}{datetime.now()-height.DTOE})")
|
|
108
108
|
num=0
|
|
109
109
|
view=[]
|
|
110
110
|
view.append(f"{Fore.green_3b}Height : {Fore.sea_green_2}{height.Height} {Fore.green_3b}Unit:{Fore.sea_green_2}{height.HeightUnitName} {Fore.green_3b}HLID: {Fore.sea_green_2}{height.HLID} {Fore.green_3b}DTOE: {Fore.sea_green_2}{height.DTOE}{Style.reset}")
|
|
@@ -120,7 +120,7 @@ class HealthLogUi:
|
|
|
120
120
|
print(f"{Fore.green_3b}Weight : HowLongAgo({Fore.sea_green_2}{datetime.now()-weight.DTOE})")
|
|
121
121
|
num=0
|
|
122
122
|
view=[]
|
|
123
|
-
view.append(f"{Fore.
|
|
123
|
+
view.append(f"{Fore.Fore.light_steel_blue}Weight : {Fore.sea_green_2}{weight.Weight} {Fore.green_3b}Unit:{Fore.sea_green_2}{weight.WeightUnitName} {Fore.green_3b}HLID: {Fore.sea_green_2}{weight.HLID} {Fore.green_3b}DTOE: {Fore.sea_green_2}{weight.DTOE}{Style.reset}")
|
|
124
124
|
msg=f"{'|'.join(view)}"
|
|
125
125
|
print(std_colorize(msg,num,ct))
|
|
126
126
|
else:
|
|
@@ -129,7 +129,7 @@ class HealthLogUi:
|
|
|
129
129
|
heartRate=session.query(HealthLog).filter(and_(HealthLog.HeartRate!=None,))
|
|
130
130
|
heartRate=orderQuery(heartRate,HealthLog.DTOE,inverse=True).first()
|
|
131
131
|
if heartRate:
|
|
132
|
-
print(f"{Fore.
|
|
132
|
+
print(f"{Fore.Fore.light_steel_blue}Heart Rate : HowLongAgo({Fore.sea_green_2}{datetime.now()-heartRate.DTOE})")
|
|
133
133
|
num=0
|
|
134
134
|
view=[]
|
|
135
135
|
view.append(f"{Fore.green_3b}HeartRate : {Fore.sea_green_2}{heartRate.HeartRate} {Fore.green_3b}Unit:{Fore.sea_green_2}{heartRate.HeartRateUnitName} {Fore.green_3b}HLID: {Fore.sea_green_2}{heartRate.HLID} {Fore.green_3b}DTOE: {Fore.sea_green_2}{heartRate.DTOE}")
|
radboy/__init__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
VERSION='0.0.
|
|
1
|
+
VERSION='0.0.740'
|
|
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=KI7Jmf3MX0Zng_YUvcjVKN2siyUOhaMAHQGzpPuX8KQ,41373
|
|
7
7
|
radboy/Run.py,sha256=JUoCTHnzQBv7n8PB2_i93ANdAC_iW__RkAge8esCnk4,76
|
|
8
|
-
radboy/__init__.py,sha256=
|
|
8
|
+
radboy/__init__.py,sha256=nANhCVRJIOLuvkNUI94bzGFYyVT0uH_FDkHFhJY8zZY,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
|
|
@@ -218,7 +218,7 @@ radboy/GeoTools/__pycache__/GeoClass.cpython-313.pyc,sha256=eZ6hpLKoic1XCb7BKKg-
|
|
|
218
218
|
radboy/GeoTools/__pycache__/OSMClass.cpython-312.pyc,sha256=5RoT8_wiI8R7yb_B9FWIC7mALdGNoqyWtkzsjM2pbh0,40387
|
|
219
219
|
radboy/GeoTools/__pycache__/__init__.cpython-312.pyc,sha256=Y7Xtrzwm44-xuY_4NK8aDjYfVmXIzUFWOyexJu9le8A,1238
|
|
220
220
|
radboy/GeoTools/__pycache__/__init__.cpython-313.pyc,sha256=-bk9eEIxWZgHYZHtNJbrpubDRWkbdYNkGr5J7sVhyIE,1238
|
|
221
|
-
radboy/HealthLog/HealthLog.py,sha256=
|
|
221
|
+
radboy/HealthLog/HealthLog.py,sha256=24Q4QTvKPTF3I6Uvdd77DmSTWeOIsvhe_Op-RgAYMEw,48769
|
|
222
222
|
radboy/HealthLog/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
223
223
|
radboy/HealthLog/__pycache__/HealthLog.cpython-312.pyc,sha256=hTo4o7jo9L2yqPZgzuKUw_kon_PVcCuTRguELTuLrIo,27946
|
|
224
224
|
radboy/HealthLog/__pycache__/HealthLog.cpython-313.pyc,sha256=CD0s5dSzjWUx8E3jyqV-ftqwqlvbOykeSm_pwvYI4Y0,81524
|
|
@@ -406,7 +406,7 @@ radboy/__pycache__/Run.cpython-311.pyc,sha256=G_UEfMtkLRjR6ZpGA_BJzGenuaCcP469Y9
|
|
|
406
406
|
radboy/__pycache__/Run.cpython-312.pyc,sha256=v4xolc3mHyla991XhpYBUbBHYT0bnJ1gE-lkFoQ4GFA,241
|
|
407
407
|
radboy/__pycache__/__init__.cpython-311.pyc,sha256=R-DVbUioMOW-Fnaq7FpT5F1a5p0q3b_RW-HpLRArCAY,242
|
|
408
408
|
radboy/__pycache__/__init__.cpython-312.pyc,sha256=FsFzLXOlTK8_7ixoPZzakkR8Wibt-DvXLFh-oG2QlPw,164
|
|
409
|
-
radboy/__pycache__/__init__.cpython-313.pyc,sha256=
|
|
409
|
+
radboy/__pycache__/__init__.cpython-313.pyc,sha256=78owFIXKt3klS5J7D00WPW3nbpyUjtchKX4Jo6WPNaA,165
|
|
410
410
|
radboy/__pycache__/__init__.cpython-39.pyc,sha256=D48T6x6FUeKPfubo0sdS_ZUut3FmBvPMP7qT6rYBZzU,275
|
|
411
411
|
radboy/__pycache__/possibleCode.cpython-311.pyc,sha256=zFiHyzqD8gUnIWu4vtyMYIBposiRQqaRXfcT_fOl4rU,20882
|
|
412
412
|
radboy/__pycache__/possibleCode.cpython-312.pyc,sha256=tk_CO-AcsO3YZj5j6vEsw3g37UmEzWc5YgeWEoJEUg4,27922
|
|
@@ -434,7 +434,7 @@ radboy/tkGui/Images/__pycache__/__init__.cpython-311.pyc,sha256=tXBYpqbOlZ24B1BI
|
|
|
434
434
|
radboy/tkGui/__pycache__/BeginnersLuck.cpython-311.pyc,sha256=xLQOnV1wuqHGaub16mPX0dDMGU9ryCeLtNz5e517_GE,3004
|
|
435
435
|
radboy/tkGui/__pycache__/Review.cpython-311.pyc,sha256=wKq24iM6Xe2OampgZ7-8U6Nvmgs2y-qWOrGwtWhc75k,4047
|
|
436
436
|
radboy/tkGui/__pycache__/__init__.cpython-311.pyc,sha256=BX7DBn5qbvKTvlrKOP5gzTBPBTeTgSMjBW6EMl7N8e0,230
|
|
437
|
-
radboy-0.0.
|
|
438
|
-
radboy-0.0.
|
|
439
|
-
radboy-0.0.
|
|
440
|
-
radboy-0.0.
|
|
437
|
+
radboy-0.0.740.dist-info/METADATA,sha256=nG35Vp59S-DSWDyPYCo0PWa9M58oVV7VUxqEYGst7C8,1891
|
|
438
|
+
radboy-0.0.740.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
439
|
+
radboy-0.0.740.dist-info/top_level.txt,sha256=mlM0RWMUxGo1YHnlLmYrHOgGdK4XNRpr7nMFD5lR56c,7
|
|
440
|
+
radboy-0.0.740.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|