radboy 0.0.733__py3-none-any.whl → 0.0.735__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 +12 -23
- radboy/__init__.py +1 -1
- radboy/__pycache__/__init__.cpython-313.pyc +0 -0
- {radboy-0.0.733.dist-info → radboy-0.0.735.dist-info}/METADATA +1 -1
- {radboy-0.0.733.dist-info → radboy-0.0.735.dist-info}/RECORD +7 -7
- {radboy-0.0.733.dist-info → radboy-0.0.735.dist-info}/WHEEL +0 -0
- {radboy-0.0.733.dist-info → radboy-0.0.735.dist-info}/top_level.txt +0 -0
radboy/HealthLog/HealthLog.py
CHANGED
|
@@ -42,9 +42,7 @@ class HealthLogUi:
|
|
|
42
42
|
print(f"Long Acting Insulin : HowLongAgo({datetime.now()-lai.DTOE})")
|
|
43
43
|
num=0
|
|
44
44
|
view=[]
|
|
45
|
-
|
|
46
|
-
if getattr(lai,str(x.name)) not in [None]:
|
|
47
|
-
view.append(f'{Fore.green_3b}{Style.bold}{str(x.name)}{Fore.deep_sky_blue_1}={Fore.sea_green_2}{str(getattr(lai,str(x.name)))}{Style.reset}')
|
|
45
|
+
view.append(f"Name: '{lai.LongActingInsulinName}' Taken: {lai.LongActingInsulinTaken} Unit: {lai.LongActingInsulinUnitName} HLID: {lai.HLID} DTOE:{lai.DTOE}")
|
|
48
46
|
msg=f"{'|'.join(view)}"
|
|
49
47
|
print(std_colorize(msg,num,ct))
|
|
50
48
|
else:
|
|
@@ -56,9 +54,8 @@ class HealthLogUi:
|
|
|
56
54
|
print(f"Short Acting Insulin : HowLongAgo({datetime.now()-sai.DTOE})")
|
|
57
55
|
num=1
|
|
58
56
|
view=[]
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
view.append(f'{Fore.green_3b}{Style.bold}{str(x.name)}{Fore.deep_sky_blue_1}={Fore.sea_green_2}{str(getattr(sai,str(x.name)))}{Style.reset}')
|
|
57
|
+
view.append(f"Name: '{sai.ShortActingInsulinName}' Taken: {sai.ShortActingInsulinTaken} Unit: {sai.ShortActingInsulinUnitName} HLID: {sai.HLID} DTOE:{sai.DTOE}")
|
|
58
|
+
|
|
62
59
|
msg=f"{'|'.join(view)}"
|
|
63
60
|
print(std_colorize(msg,num,ct))
|
|
64
61
|
else:
|
|
@@ -71,8 +68,8 @@ class HealthLogUi:
|
|
|
71
68
|
num=2
|
|
72
69
|
view=[]
|
|
73
70
|
for x in last_carb.__table__.columns:
|
|
74
|
-
if getattr(
|
|
75
|
-
view.append(f'{Fore.green_3b}{Style.bold}{str(x.name)}{Fore.deep_sky_blue_1}={Fore.sea_green_2}{str(getattr(
|
|
71
|
+
if getattr(i,str(x.name)) not in [None]:
|
|
72
|
+
view.append(f'{Fore.green_3b}{Style.bold}{str(x.name)}{Fore.deep_sky_blue_1}={Fore.sea_green_2}{str(getattr(i,str(x.name)))}{Style.reset}')
|
|
76
73
|
msg=f"{'|'.join(view)}"
|
|
77
74
|
print(std_colorize(msg,num,ct))
|
|
78
75
|
else:
|
|
@@ -84,9 +81,7 @@ class HealthLogUi:
|
|
|
84
81
|
print(f"Last Drug Dose Taken : HowLongAgo({datetime.now()-drug.DTOE})")
|
|
85
82
|
num=3
|
|
86
83
|
view=[]
|
|
87
|
-
|
|
88
|
-
if getattr(drug,str(x.name)) not in [None]:
|
|
89
|
-
view.append(f'{Fore.green_3b}{Style.bold}{str(x.name)}{Fore.deep_sky_blue_1}={Fore.sea_green_2}{str(getattr(drug,str(x.name)))}{Style.reset}')
|
|
84
|
+
view.append(f"Name:{drug.EntryName} Barcode:{drug.EntryBarcode} Drug Name: '{drug.DrugConsumed}' Taken: {lai.DrugQtyConsumed} Unit: {drug.DrugQtyConsumedUnitName} HLID: {lai.HLID} DTOE:{lai.DTOE}")
|
|
90
85
|
msg=f"{'|'.join(view)}"
|
|
91
86
|
print(std_colorize(msg,num,ct))
|
|
92
87
|
else:
|
|
@@ -99,9 +94,8 @@ class HealthLogUi:
|
|
|
99
94
|
print(f"Blood Sugar : HowLongAgo({datetime.now()-glucose.DTOE})")
|
|
100
95
|
num=0
|
|
101
96
|
view=[]
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
view.append(f'{Fore.green_3b}{Style.bold}{str(x.name)}{Fore.deep_sky_blue_1}={Fore.sea_green_2}{str(getattr(glucose,str(x.name)))}{Style.reset}')
|
|
97
|
+
view.append(f"Blood Sugar/Glucose No. : {glucose.BloodSugar} Unit:{glucose.BloodSugarUnitName} HLID: {glucose.HLID} DTOE: {glucose.DTOE}")
|
|
98
|
+
|
|
105
99
|
msg=f"{'|'.join(view)}"
|
|
106
100
|
print(std_colorize(msg,num,ct))
|
|
107
101
|
else:
|
|
@@ -113,9 +107,8 @@ class HealthLogUi:
|
|
|
113
107
|
print(f"Height : HowLongAgo({datetime.now()-height.DTOE})")
|
|
114
108
|
num=0
|
|
115
109
|
view=[]
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
view.append(f'{Fore.green_3b}{Style.bold}{str(x.name)}{Fore.deep_sky_blue_1}={Fore.sea_green_2}{str(getattr(height,str(x.name)))}{Style.reset}')
|
|
110
|
+
view.append(f"Height : {height.Height} Unit:{height.HeightUnitName} HLID: {height.HLID} DTOE: {height.DTOE}")
|
|
111
|
+
|
|
119
112
|
msg=f"{'|'.join(view)}"
|
|
120
113
|
print(std_colorize(msg,num,ct))
|
|
121
114
|
else:
|
|
@@ -127,9 +120,7 @@ class HealthLogUi:
|
|
|
127
120
|
print(f"Weight : HowLongAgo({datetime.now()-weight.DTOE})")
|
|
128
121
|
num=0
|
|
129
122
|
view=[]
|
|
130
|
-
|
|
131
|
-
if getattr(weight,str(x.name)) not in [None]:
|
|
132
|
-
view.append(f'{Fore.green_3b}{Style.bold}{str(x.name)}{Fore.deep_sky_blue_1}={Fore.sea_green_2}{str(getattr(weight,str(x.name)))}{Style.reset}')
|
|
123
|
+
view.append(f"Weight : {weight.Weight} Unit:{weight.WeightUnitName} HLID: {weight.HLID} DTOE: {weight.DTOE}")
|
|
133
124
|
msg=f"{'|'.join(view)}"
|
|
134
125
|
print(std_colorize(msg,num,ct))
|
|
135
126
|
else:
|
|
@@ -141,9 +132,7 @@ class HealthLogUi:
|
|
|
141
132
|
print(f"Heart Rate : HowLongAgo({datetime.now()-heartRate.DTOE})")
|
|
142
133
|
num=0
|
|
143
134
|
view=[]
|
|
144
|
-
|
|
145
|
-
if getattr(heartRate,str(x.name)) not in [None]:
|
|
146
|
-
view.append(f'{Fore.green_3b}{Style.bold}{str(x.name)}{Fore.deep_sky_blue_1}={Fore.sea_green_2}{str(getattr(heartRate,str(x.name)))}{Style.reset}')
|
|
135
|
+
view.append(f"HeartRate : {heartRate.HeartRate} Unit:{heartRate.HeartRateUnitName} HLID: {heartRate.HLID} DTOE: {heartRate.DTOE}")
|
|
147
136
|
msg=f"{'|'.join(view)}"
|
|
148
137
|
print(std_colorize(msg,num,ct))
|
|
149
138
|
else:
|
radboy/__init__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
VERSION='0.0.
|
|
1
|
+
VERSION='0.0.735'
|
|
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=JiPytuKQkYn6TxIWxJ03WoXnMc8RYKuwcvNtY2I-Lew,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=J1F8lCpFE3_v1LcILO9s3G--D13h3aLjat0bMg4xZ3g,47105
|
|
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=-doD_xALYWmcKT_tSVY_9LpWu4vdoWB169p07eWfxEo,72671
|
|
@@ -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=oVeWy2b8ZiNRuxoAuiCFmZiqVAgQKg8YEutrF4lswjY,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.735.dist-info/METADATA,sha256=c7M3QKrZ4XiGYUpTeyoSVjlIM80mkaY--6rug-dnG0c,1891
|
|
438
|
+
radboy-0.0.735.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
439
|
+
radboy-0.0.735.dist-info/top_level.txt,sha256=mlM0RWMUxGo1YHnlLmYrHOgGdK4XNRpr7nMFD5lR56c,7
|
|
440
|
+
radboy-0.0.735.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|