radboy 0.0.514__py3-none-any.whl → 0.0.516__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.

@@ -365,6 +365,12 @@ class ExerciseTracker:
365
365
  return lite
366
366
  def useRoutine(self,reset_only=False,reset_note=False):
367
367
  try:
368
+ logMe=Prompt.__init2__(None,func=FormBuilderMkText,ptext="Log a comment in HealthLog(hl[default=True/Yes])?",helpText="yes or no/boolean",data="boolean")
369
+ if logMe is None:
370
+ return
371
+ elif logMe in ['d',]:
372
+ logMe=True
373
+
368
374
  start=datetime.now()
369
375
  rs=self.viewRoutine(returnable=True)
370
376
  if rs == None:
@@ -428,6 +434,10 @@ class ExerciseTracker:
428
434
  break
429
435
  exercise=session.query(Exercise).filter(Exercise.exid==i.exid).first()
430
436
  exercise.cdt=datetime.now()
437
+ if logMe:
438
+ hl=HealthLog(Comments=f"{exercise.Name}:exid:{i}\nstarted! {datetime.now().ctime()}")
439
+ session.add(hl)
440
+ session.commit()
431
441
  if exercise.CurrentRep < exercise.Reps:
432
442
  setattr(exercise,"CurrentRep",getattr(exercise,"CurrentRep")+1)
433
443
  else:
radboy/DB/Prompt.py CHANGED
@@ -2207,6 +2207,7 @@ CMD's are not final until ended with {Fore.magenta}{hw_delim}{Style.reset}""")
2207
2207
  {Fore.grey_85}** {Fore.light_steel_blue}{f'{Fore.light_red},{Fore.light_steel_blue}'.join(generate_cmds(startcmd=['orddt','ordt','loads','lds'],endCmd=['gm','lqr','general merchandise','liquor','totes','green totes','grn tts','grntts']))}{Fore.light_green} print hard-coded order dates GM Load/Liquor Load{Style.reset}
2208
2208
  {Fore.grey_85}** {Fore.light_steel_blue}{f'{Fore.light_red},{Fore.light_steel_blue}'.join(generate_cmds(startcmd=['orddts','ordts','loads','lds','orders','loads','rxdates'],endCmd=['','all','all dates','all dts','aldts','*']))}{Fore.light_green} print all load dates {Style.reset}
2209
2209
  {Fore.grey_70}** {Fore.light_steel_blue}{f'{Fore.light_red},{Fore.light_steel_blue}'.join(generate_cmds(startcmd=['units',],endCmd=['']))}{Fore.light_green} list supported units{Style.reset}
2210
+ {Fore.grey_70}** {Fore.light_steel_blue}{f'{Fore.light_red},{Fore.light_steel_blue}'.join(generate_cmds(startcmd=['units',],endCmd=['r','return','returnable']))}{Fore.light_green} list & return selected supported unit{Style.reset}
2210
2211
  {Fore.grey_70}** {Fore.light_steel_blue}{f'{Fore.light_red},{Fore.light_steel_blue}'.join(generate_cmds(startcmd=['lds2','rdts'],endCmd=['',]))}{Fore.light_green} repeable dates,orders,etc...{Style.reset}
2211
2212
  {Fore.grey_70}** {Fore.light_steel_blue}{f'{Fore.light_red},{Fore.light_steel_blue}'.join(generate_cmds(startcmd=["set inlist","sil"],endCmd=["qtyu","u"]))}{Fore.light_green} set Entry's with InList==True to value, from prompt{Style.reset}
2212
2213
  {Fore.grey_70}** {Fore.light_steel_blue}['dsu','daystring','daystr']{Fore.light_green} print daystring {Style.reset}
@@ -615,6 +615,17 @@ class HealthLogUi:
615
615
  'desc':'edit health log by hlid',
616
616
  'exec':self.edit_hlid,
617
617
  },
618
+ uuid1():{
619
+ 'cmds':generate_cmds(startcmd=['ls','list','l'],endCmd=['cmts','cmt','comments','comment',' ','']),
620
+ 'desc':'ls only comments',
621
+ 'exec':lambda self=self:self.showAllField(fields=['Comments',],not_none=['Comments',])
622
+ },
623
+ uuid1():{
624
+ 'cmds':generate_cmds(startcmd=['a','add','+'],endCmd=['cmts','cmt','comments','comment',' ','']),
625
+ 'desc':'add a comment to the log',
626
+ 'exec':lambda self=self:self.add_healthlog_specific(
627
+ useColumns=["Comments",])
628
+ },
618
629
  'ls sai':{
619
630
  'cmds':['ls sai','lssai','list short insulin','list short acting insulin'],
620
631
  'desc':'list long acting insulin intake',
radboy/__init__.py CHANGED
@@ -1 +1 @@
1
- VERSION='0.0.514'
1
+ VERSION='0.0.516'
Binary file
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: radboy
3
- Version: 0.0.514
3
+ Version: 0.0.516
4
4
  Summary: A small example package
5
5
  Author: Carl Joseph Hirner III
6
6
  Author-email: Carl Hirner III <k.j.hirner.wisdom@gmail.com>
@@ -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=9HvE8jTPRQESf9NdicNz0PQfWt1GwyN4ntrysiFku6s,17
8
+ radboy/__init__.py,sha256=1sy0HLFWr9Ci0ern9WnMMGrSX8lzFq8QlSSLQInGwEo,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
@@ -81,11 +81,11 @@ radboy/DB/CoinCombo.py,sha256=NJfTmx3XYgS41zkAyyO2W6de1Mj3rWsCWqU4ikHfvJI,13604
81
81
  radboy/DB/DatePicker.py,sha256=6eNjmryFWPpzrRYmI418UwSGin3XpJlL52h8cauanbY,18004
82
82
  radboy/DB/DisplayItemDb.py,sha256=uVvrNyFyBuKvrw-BEPXKYvfa-QWyFN5ahESi2l6vUUA,52046
83
83
  radboy/DB/EstimatedPayCalendarWorkSheet.txt,sha256=GOjRSmGxFoNTdAnpPe2kGv7CkXDrh0Mee01HslamGbo,17173
84
- radboy/DB/ExerciseTracker.py,sha256=CZ8jdKJiAE_QTAiJTRXi8ZOnS1NUiSvWVSKLHLpYVGk,25661
84
+ radboy/DB/ExerciseTracker.py,sha256=G4qHQcK27FJxQikD4msZmo29AIbv8pFmEkF54OwVIhA,26211
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=TfQdJiM19l6TwleZLZl41sgeQ864ixIZn4fOnzzPLMA,149982
88
+ radboy/DB/Prompt.py,sha256=CG4NkQ3MM31cjfcafZxJXBANq9Rw4RPSbhxnotempOw,150213
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
@@ -104,12 +104,12 @@ radboy/DB/__pycache__/DatePicker.cpython-313.pyc,sha256=mvdR-dzPS3X6tMFBDaMUoxIV
104
104
  radboy/DB/__pycache__/DisplayItemDb.cpython-312.pyc,sha256=n2nRfavATZBSa7rBgH39pd11Ka-nUfGHVzr-R9KO7_Q,63121
105
105
  radboy/DB/__pycache__/DisplayItemDb.cpython-313.pyc,sha256=M4jujGXKVqYObZKQipamkTpw68YhEWLqBmywtPgnG-A,63715
106
106
  radboy/DB/__pycache__/ExerciseTracker.cpython-312.pyc,sha256=KzCmPhacS7t-70cpZM5tCnL8mBmRbA9dc4uuatdcQkI,34820
107
- radboy/DB/__pycache__/ExerciseTracker.cpython-313.pyc,sha256=nHiEADwU30nccPraW8q7c7nVGQQhs7rRjg-d9uxZkTQ,35239
107
+ radboy/DB/__pycache__/ExerciseTracker.cpython-313.pyc,sha256=rf5o1t9XeIRDHkGM_rci-5C_0qidwMbhn7Krt0psJUc,35820
108
108
  radboy/DB/__pycache__/FormBuilder.cpython-312.pyc,sha256=p1o-5SMRL8OXP_XQ5liUpf-_EkvU8oQwg-BrTWVkcTY,5566
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=eDpS_T16kJj_xEOIFh5aI4WBkYHoTumYmnryQtTMUgs,226604
112
+ radboy/DB/__pycache__/Prompt.cpython-313.pyc,sha256=6NixgWn8d4zAz_SHW-awRsRkjhx9ok13sFdRM5xLuCo,227152
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
@@ -210,10 +210,10 @@ radboy/GeoTools/__pycache__/GeoClass.cpython-313.pyc,sha256=eZ6hpLKoic1XCb7BKKg-
210
210
  radboy/GeoTools/__pycache__/OSMClass.cpython-312.pyc,sha256=5RoT8_wiI8R7yb_B9FWIC7mALdGNoqyWtkzsjM2pbh0,40387
211
211
  radboy/GeoTools/__pycache__/__init__.cpython-312.pyc,sha256=Y7Xtrzwm44-xuY_4NK8aDjYfVmXIzUFWOyexJu9le8A,1238
212
212
  radboy/GeoTools/__pycache__/__init__.cpython-313.pyc,sha256=-bk9eEIxWZgHYZHtNJbrpubDRWkbdYNkGr5J7sVhyIE,1238
213
- radboy/HealthLog/HealthLog.py,sha256=3T6aAWCCrLZI1kFCRwoNxDUkiZ9Psl_S4X9CCv4XJS4,28514
213
+ radboy/HealthLog/HealthLog.py,sha256=Hl2fW40_4OZnDN9eW0aZ1yiLDmsR-O6_KqMx5QUomJY,29001
214
214
  radboy/HealthLog/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
215
215
  radboy/HealthLog/__pycache__/HealthLog.cpython-312.pyc,sha256=hTo4o7jo9L2yqPZgzuKUw_kon_PVcCuTRguELTuLrIo,27946
216
- radboy/HealthLog/__pycache__/HealthLog.cpython-313.pyc,sha256=YTtUwUxM0RHcdGYBxRd5kN88rm8pdZqM22HeR_bsnow,45849
216
+ radboy/HealthLog/__pycache__/HealthLog.cpython-313.pyc,sha256=lpMQXp59Da2SZyijpdt6Un7nfKxeMkPaEzb0ZsKOSec,46438
217
217
  radboy/HealthLog/__pycache__/__init__.cpython-312.pyc,sha256=yZrYKBk31pGSjCRqmqzpX409iw-muC1zsNO2ObqkGlY,272
218
218
  radboy/HealthLog/__pycache__/__init__.cpython-313.pyc,sha256=cqdZbEJKq9XVoVqDAwsW0pwwBBGSerJNWGlST3YVR3g,151
219
219
  radboy/InListRestore/ILR.py,sha256=s8fbbHLKQSVJX1VaeyGE-vdIUGBEbOPX29kRIG2j2WY,16847
@@ -351,7 +351,7 @@ radboy/TasksMode/__pycache__/SetEntryNEU.cpython-312.pyc,sha256=pCdFj61aPKkHL6Sv
351
351
  radboy/TasksMode/__pycache__/SetEntryNEU.cpython-313.pyc,sha256=UExwr8dN2STFEDE5t_YnQFMUX-wGv7JH10I1OyBDRtM,20212
352
352
  radboy/TasksMode/__pycache__/Tasks.cpython-311.pyc,sha256=6QOTJnLiXSKdF81hkhy3vyrz49PPhS20s5_0X52g3Hw,131120
353
353
  radboy/TasksMode/__pycache__/Tasks.cpython-312.pyc,sha256=hyJwdaYaaRLdcrNxgg36diJ5iijX5_3I0UAORsj-6LU,310295
354
- radboy/TasksMode/__pycache__/Tasks.cpython-313.pyc,sha256=TFU0QlQNybK9JoG6PF_hF4UPuUo58kHnSYkn1ejD6I4,399739
354
+ radboy/TasksMode/__pycache__/Tasks.cpython-313.pyc,sha256=f7ZF_Rb2dIfOcLMjkH7mP8X_4e6OqcFo8vge4yWE9Lo,399739
355
355
  radboy/TasksMode/__pycache__/__init__.cpython-311.pyc,sha256=PKV1JbihEacm639b53bZozRQvcllSkjGP3q8STVMxF4,234
356
356
  radboy/TasksMode/__pycache__/__init__.cpython-312.pyc,sha256=ERgnEvRMiGSecWp1BpNzLdSq_SdKw7GvFWUvUM7bLVw,272
357
357
  radboy/TasksMode/__pycache__/__init__.cpython-313.pyc,sha256=lvsTxukyvGKB3C0rdF9dQi_bvVh6ceDVINfwcuIsd0s,151
@@ -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=CKm4MKQXin1Zninn_Uv_RaPKlaG238_TjP3hscOTzQ0,165
401
+ radboy/__pycache__/__init__.cpython-313.pyc,sha256=FgIVbv3HH4oFtOkw361laplY_HgGBfAVd8W7p0um8kw,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.514.dist-info/METADATA,sha256=-LnRF5rKtwSd-f0An9mAmFREb1bvv9tXJ3dz4-NKkvc,1601
427
- radboy-0.0.514.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
428
- radboy-0.0.514.dist-info/top_level.txt,sha256=mlM0RWMUxGo1YHnlLmYrHOgGdK4XNRpr7nMFD5lR56c,7
429
- radboy-0.0.514.dist-info/RECORD,,
426
+ radboy-0.0.516.dist-info/METADATA,sha256=A0mhfIuOfY3VlsI4jEgOVh8YCsmVApN57R2RrKa06t0,1601
427
+ radboy-0.0.516.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
428
+ radboy-0.0.516.dist-info/top_level.txt,sha256=mlM0RWMUxGo1YHnlLmYrHOgGdK4XNRpr7nMFD5lR56c,7
429
+ radboy-0.0.516.dist-info/RECORD,,