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

@@ -91,7 +91,7 @@ class HealthLogUi:
91
91
  if 'EntryBarcode' in useColumns:
92
92
  h=f'{Fore.light_red}HealthLog{Fore.light_yellow}@{Style.bold}{Fore.deep_sky_blue_3b}AHS{Fore.light_yellow} : '
93
93
  barcode=Prompt.__init2__(None,func=FormBuilderMkText,ptext=f"{h}Barcode|Code|Name[b=skips search]: ",helpText="what was consumed?",data="string")
94
- if barcode not in [None,]:
94
+ if barcode not in [None,'d']:
95
95
  while True:
96
96
  try:
97
97
  entry=session.query(Entry).filter(or_(Entry.Barcode==barcode,Entry.Barcode.icontains(barcode),Entry.Name.icontains(barcode),Entry.Code==barcode,Entry.Code.icontains(barcode)))
@@ -162,6 +162,9 @@ class HealthLogUi:
162
162
  return
163
163
  if 'LongActingInsulinName' in useColumns or 'ShortActingInsulinName' in useColumns:
164
164
  def searchNames(code):
165
+ mp=[]
166
+ for im in string.printable:
167
+ mp.extend([f'{im}'*i for i in range(os.get_terminal_size().columns)])
165
168
  if code is None:
166
169
  if 'LongActingInsulinName' in useColumns:
167
170
  return 'Long Acting Insuline Unspecificied - see comments'
@@ -169,6 +172,13 @@ class HealthLogUi:
169
172
  return 'Short Acting Insulin Unspecificied - see comments'
170
173
  else:
171
174
  return 'see comments'
175
+ elif code in ['d','',*mp]:
176
+ if 'LongActingInsulinName' in useColumns:
177
+ return 'Long Acting Insuline Unspecificied - see comments'
178
+ elif 'ShortActingInsulinName' in useColumns:
179
+ return 'Short Acting Insulin Unspecificied - see comments'
180
+ else:
181
+ return 'see comments'
172
182
  with Session(ENGINE) as session:
173
183
  query=session.query(Entry)
174
184
  filters=[
radboy/__init__.py CHANGED
@@ -1 +1 @@
1
- VERSION='0.0.587'
1
+ VERSION='0.0.588'
Binary file
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: radboy
3
- Version: 0.0.587
3
+ Version: 0.0.588
4
4
  Summary: A Retail Calculator for Android/Linux
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=nY_Ov_KSbZWjEcG4oy80B4EmPx2Hc4k18IL1_BNEpmA,17
8
+ radboy/__init__.py,sha256=_4Akr76xj8UPbZzqlvooYF_VVc8-S2L7kAqdiC4qdOc,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
@@ -211,10 +211,10 @@ radboy/GeoTools/__pycache__/GeoClass.cpython-313.pyc,sha256=eZ6hpLKoic1XCb7BKKg-
211
211
  radboy/GeoTools/__pycache__/OSMClass.cpython-312.pyc,sha256=5RoT8_wiI8R7yb_B9FWIC7mALdGNoqyWtkzsjM2pbh0,40387
212
212
  radboy/GeoTools/__pycache__/__init__.cpython-312.pyc,sha256=Y7Xtrzwm44-xuY_4NK8aDjYfVmXIzUFWOyexJu9le8A,1238
213
213
  radboy/GeoTools/__pycache__/__init__.cpython-313.pyc,sha256=-bk9eEIxWZgHYZHtNJbrpubDRWkbdYNkGr5J7sVhyIE,1238
214
- radboy/HealthLog/HealthLog.py,sha256=D-L1RjE3xLNQx0XgeISWzOwpXMBD7zAWdr7TDpKUhGM,37086
214
+ radboy/HealthLog/HealthLog.py,sha256=2RQxuqSV_fRPohAd5A2UenKwElpJ19XyWbnVl-mkZOg,37513
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=im5mkOYoMf9V9CRbpb01_n0MEwI5kR4YbRJkAJV9qGk,58010
217
+ radboy/HealthLog/__pycache__/HealthLog.cpython-313.pyc,sha256=Y8zL1bsKODV08MB265tVDQ0hfc1ZB2cr0dCcf7PKO0M,58477
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
@@ -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=lY9wzKJjVb2vO-g3MOIlipmOD2-m6ZGVeT2i4iiDOuc,165
402
+ radboy/__pycache__/__init__.cpython-313.pyc,sha256=d1LbrvcWWdl7bWQLYN1Cr9f4XBYtpte8f3QKXR-39EM,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.587.dist-info/METADATA,sha256=eAC9By2RsIBoZOrau5qIETiRTAy0j196OIHvYmhD0Mc,1662
431
- radboy-0.0.587.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
432
- radboy-0.0.587.dist-info/top_level.txt,sha256=mlM0RWMUxGo1YHnlLmYrHOgGdK4XNRpr7nMFD5lR56c,7
433
- radboy-0.0.587.dist-info/RECORD,,
430
+ radboy-0.0.588.dist-info/METADATA,sha256=VkrLzTGhHNH9i3WpvHcZRdIXolv89c5nzl_69DMca7A,1662
431
+ radboy-0.0.588.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
432
+ radboy-0.0.588.dist-info/top_level.txt,sha256=mlM0RWMUxGo1YHnlLmYrHOgGdK4XNRpr7nMFD5lR56c,7
433
+ radboy-0.0.588.dist-info/RECORD,,