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

@@ -22,7 +22,7 @@ from sqlalchemy.sql import functions as func
22
22
  from collections import OrderedDict
23
23
  from radboy.DayLog.BhTrSa.bhtrsaa import *
24
24
  import radboy.TasksMode as TM
25
-
25
+ import nanoid
26
26
  class DayLogger:
27
27
  helpText=f"""
28
28
  {Fore.light_red}
@@ -404,11 +404,20 @@ fxtbl - update table with correct columns
404
404
 
405
405
  def addToday(self):
406
406
  with Session(self.engine) as session:
407
+ recieptid=nanoid.generate(alphabet=string.digits,size=10)
408
+ recieptidFile=detectGetOrSet("RecieptIdFile","reciept_id.txt",setValue=False,literal=True)
409
+ if recieptidFile is not None:
410
+ recieptidFile=Path(recieptidFile)
411
+ with recieptidFile.open("w") as f:
412
+ f.write(recieptid+"\n")
413
+
407
414
  recieptID=Prompt.__init2__(None,func=FormBuilderMkText,ptext="reciept id info (If Any)",helpText="anything to identify the reciept",data="string")
408
415
  if recieptID is None:
409
416
  return
410
417
  elif recieptID in ['d',]:
411
- recieptID=f'No_Receipt_ID_Provided:{datetime.now().strftime("%m/%d/%Y @ %H:%M:%S")}:Grouping UUID:{uuid.uuid1()}'
418
+ recieptID=f'No_Receipt_ID_Provided:{datetime.now().strftime("%m/%d/%Y @ %H:%M:%S")}:Grouping UUID:{uuid.uuid1()}/RecieptId("{recieptid}")'
419
+ else:
420
+ recieptID+=f'/RecieptId("{recieptid}")'
412
421
  state=f"{Fore.orange_red_1}{Style.bold}will be{Style.reset}"
413
422
  rcpt_msg=f'{Fore.light_sea_green}RecieptId({Fore.light_yellow}"{recieptID}"{Fore.light_sea_green}) {state} embedded into DayLog.Name for grouped searches!{Style.reset}'
414
423
  print(rcpt_msg)
@@ -434,6 +443,8 @@ fxtbl - update table with correct columns
434
443
  state=f"{Fore.orange_red_1}{Style.bold}has been{Style.reset}"
435
444
  rcpt_msg=f'{Fore.light_sea_green}RecieptId({Fore.light_yellow}"{recieptID}"{Fore.light_sea_green}) {state} embedded into DayLog.Name for grouped searches!{Style.reset}'
436
445
  print(rcpt_msg)
446
+ if recieptidFile is not None:
447
+ print(f"{Fore.grey_70}Receipt ID({Fore.light_red}{recieptid}{Fore.grey_70}) was saved to {Fore.orange_red_1}{recieptidFile.absolute()}{Fore.grey_70}. Please write that on the receiept and file it away for safekeeping; keep scans, or images, in an image directory that reflects the id, for the receipt displayed in the file, in the name of the file so that it can easily be found. Ensure it is visible with the receipt indicated in the image.")
437
448
 
438
449
  def searchTags(self):
439
450
  with Session(ENGINE) as session:
radboy/__init__.py CHANGED
@@ -1 +1 @@
1
- VERSION='0.0.741'
1
+ VERSION='0.0.742'
Binary file
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: radboy
3
- Version: 0.0.741
3
+ Version: 0.0.742
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=KI7Jmf3MX0Zng_YUvcjVKN2siyUOhaMAHQGzpPuX8KQ,41373
7
7
  radboy/Run.py,sha256=JUoCTHnzQBv7n8PB2_i93ANdAC_iW__RkAge8esCnk4,76
8
- radboy/__init__.py,sha256=w-xUffSvpao0Dw6CUfY3oKl5_qn4IJqWkXUXFkq1JEc,17
8
+ radboy/__init__.py,sha256=FDUSordZXaYNZbrlYip0H1jtD3lgsQQf2cyV34KBY9c,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
@@ -144,7 +144,7 @@ radboy/DB/__pycache__/renderText2Png.cpython-311.pyc,sha256=ivSzvyAeWhsS-a_RcFF8
144
144
  radboy/DB/__pycache__/renderText2Png.cpython-312.pyc,sha256=1CUGjOhJw_vC4DNMQ-W5jBXEKp7HzDrq7--x9VyBTo8,8991
145
145
  radboy/DB/__pycache__/renderText2Png.cpython-313.pyc,sha256=LDJOo7uFztlxw3ptN8QuHrLkr0GKiAArBu34QiE15iQ,9096
146
146
  radboy/DB/__pycache__/testClass.cpython-311.pyc,sha256=nkWap8RuBsWWOB_ZhGbR3ELbnL1F1CHZCi0dpepqw-0,1225
147
- radboy/DayLog/DayLogger.py,sha256=xC7rT2sBx74w_bnWx2moXhy1PX6zwT--UZ2Qq1d6wic,104284
147
+ radboy/DayLog/DayLogger.py,sha256=hpnww7RnjFbQ6nAoh3UeX78uapewhDq730Oh9MRlgZo,105259
148
148
  radboy/DayLog/TaxiFares.py,sha256=3slYjtBcTnRe8IeneJ-_iZJJ3E7alW09f6GWYXPxhOo,10882
149
149
  radboy/DayLog/Wavelength4Freq.py,sha256=MfN2EATrN3bbEDgP1qOPjV1Fk8sVnkc_4tgX6sKfSE0,2054
150
150
  radboy/DayLog/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -152,7 +152,7 @@ radboy/DayLog/BhTrSa/__init__.py,sha256=q6xDsXAiWpQR2QWILKZKf--D3apR_KOE1CRbZaP7
152
152
  radboy/DayLog/BhTrSa/bhtrsaa.py,sha256=3ECYU_2yMNS_zsN0ZD6BbiIwbWcJ9mokUwOt_hkTAYs,18233
153
153
  radboy/DayLog/__pycache__/DayLogger.cpython-311.pyc,sha256=TmRnRZHp5tMTokSEB8hWTxnasi-iJdh6TmYcb_nXGoY,29557
154
154
  radboy/DayLog/__pycache__/DayLogger.cpython-312.pyc,sha256=bfDCQZrIhgQYzoUle7roicRE_bhGPYZtIbCRIiDrsxU,68240
155
- radboy/DayLog/__pycache__/DayLogger.cpython-313.pyc,sha256=nQpq8kScaAF1PknJECfix1GZPrEv2QAbaI57ne9kn7Y,154773
155
+ radboy/DayLog/__pycache__/DayLogger.cpython-313.pyc,sha256=OSTqV0hmbstNllnsn8x4ZFP_plku9avB0dx8yH5tffQ,156133
156
156
  radboy/DayLog/__pycache__/__init__.cpython-311.pyc,sha256=Z5Y4DdVF77LZf6-Of92MDGFdi-IXik1ASQd4AdLNNfQ,231
157
157
  radboy/DayLog/__pycache__/__init__.cpython-312.pyc,sha256=lP_GHzSPt5JTrT1jLWiRMFGPmSdJYBn4eRV__OxgJ6s,269
158
158
  radboy/DayLog/__pycache__/__init__.cpython-313.pyc,sha256=UQw5v4r7yismC9qcqP0dEme6h-lawbOA5pXYpkqUwFk,148
@@ -221,7 +221,7 @@ radboy/GeoTools/__pycache__/__init__.cpython-313.pyc,sha256=-bk9eEIxWZgHYZHtNJbr
221
221
  radboy/HealthLog/HealthLog.py,sha256=RA3apjyRD902zjmadtx__lWCWv_KC-4JXkrtEBT4Dcc,48789
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
- radboy/HealthLog/__pycache__/HealthLog.cpython-313.pyc,sha256=CD0s5dSzjWUx8E3jyqV-ftqwqlvbOykeSm_pwvYI4Y0,81524
224
+ radboy/HealthLog/__pycache__/HealthLog.cpython-313.pyc,sha256=efratl-5_nmAASdwo_h9hexnCjZ4RF4kUdNuDhK-2i0,81647
225
225
  radboy/HealthLog/__pycache__/__init__.cpython-312.pyc,sha256=yZrYKBk31pGSjCRqmqzpX409iw-muC1zsNO2ObqkGlY,272
226
226
  radboy/HealthLog/__pycache__/__init__.cpython-313.pyc,sha256=cqdZbEJKq9XVoVqDAwsW0pwwBBGSerJNWGlST3YVR3g,151
227
227
  radboy/InListRestore/ILR.py,sha256=s8fbbHLKQSVJX1VaeyGE-vdIUGBEbOPX29kRIG2j2WY,16847
@@ -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=nTUioq3d18hUOA8_5HORuhwXRbZsZn_B7-heaxvaJPs,165
409
+ radboy/__pycache__/__init__.cpython-313.pyc,sha256=Msn8HGfneewxUptw0g1VdUlEobUmX_eRwCjSvkYY8aU,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.741.dist-info/METADATA,sha256=-2J0RX3DxfeOYOabSFEmW5v8NIYVm2fwtWp8iQ8b8xA,1891
438
- radboy-0.0.741.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
439
- radboy-0.0.741.dist-info/top_level.txt,sha256=mlM0RWMUxGo1YHnlLmYrHOgGdK4XNRpr7nMFD5lR56c,7
440
- radboy-0.0.741.dist-info/RECORD,,
437
+ radboy-0.0.742.dist-info/METADATA,sha256=2llUEN4uFB-Qg2IquCQ4n5U_QCrPyo_wGdvxcdHeGVQ,1891
438
+ radboy-0.0.742.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
439
+ radboy-0.0.742.dist-info/top_level.txt,sha256=mlM0RWMUxGo1YHnlLmYrHOgGdK4XNRpr7nMFD5lR56c,7
440
+ radboy-0.0.742.dist-info/RECORD,,