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

@@ -255,6 +255,7 @@ class SimpleScanUi:
255
255
  elif terse in ['d',]:
256
256
  terse=default
257
257
 
258
+ total=0
258
259
  with Session(ENGINE) as session:
259
260
  query=session.query(SimpleScan)
260
261
 
@@ -287,6 +288,7 @@ class SimpleScanUi:
287
288
  print("There are no results!")
288
289
  return
289
290
  for num, i in enumerate(results):
291
+ total+=i.TimesScanned
290
292
  if not terse:
291
293
  msg=std_colorize(f"{Fore.light_magenta}{__class__.__name__}{Fore.dark_goldenrod}{i}",num,cta)
292
294
  else:
@@ -332,6 +334,7 @@ class SimpleScanUi:
332
334
  print(msg)
333
335
  if (num % 15) == 0 and num > 0:
334
336
  print(f"{Fore.grey_70}{'*'*os.get_terminal_size().columns}")
337
+ print(f"Total TimesScanned = {total}")
335
338
  print(FORMAT)
336
339
 
337
340
  def terse(self,i,num,cta):
@@ -382,6 +385,7 @@ class SimpleScanUi:
382
385
  terse=default
383
386
  '''print the newest scan'''
384
387
  with Session(ENGINE) as session:
388
+ total=0
385
389
  query=session.query(SimpleScan)
386
390
  query=orderQuery(query,SimpleScan.TimesScanned)
387
391
  limit=Control(func=FormBuilderMkText,ptext="max to display?",helpText="an integer",data="integer")
@@ -401,6 +405,7 @@ class SimpleScanUi:
401
405
  cta=len(results)
402
406
 
403
407
  for num,i in enumerate(results):
408
+ total+=i.TimesScanned
404
409
  if terse:
405
410
  msg=self.terse(i,num,cta)
406
411
  else:
@@ -409,6 +414,7 @@ class SimpleScanUi:
409
414
  print(msg)
410
415
  if (num % 15) == 0 and num > 0:
411
416
  print(f"{Fore.grey_70}{'*'*os.get_terminal_size().columns}")
417
+ print(f"Total TimesScanned = {total}")
412
418
 
413
419
  def last_DTOE(self):
414
420
  default=True
@@ -422,6 +428,7 @@ class SimpleScanUi:
422
428
  terse=default
423
429
  '''print the newest scan'''
424
430
  with Session(ENGINE) as session:
431
+ total=0
425
432
  query=session.query(SimpleScan)
426
433
  query=orderQuery(query,SimpleScan.DTOE)
427
434
  limit=Control(func=FormBuilderMkText,ptext="max to display?",helpText="an integer",data="integer")
@@ -441,6 +448,7 @@ class SimpleScanUi:
441
448
  cta=len(results)
442
449
 
443
450
  for num,i in enumerate(results):
451
+ total+=i.TimesScanned
444
452
  if terse:
445
453
  msg=self.terse(i,num,cta)
446
454
  else:
@@ -449,6 +457,7 @@ class SimpleScanUi:
449
457
  print(msg)
450
458
  if (num % 15) == 0 and num > 0:
451
459
  print(f"{Fore.grey_70}{'*'*os.get_terminal_size().columns}")
460
+ print(f"Total TimesScanned = {total}")
452
461
 
453
462
 
454
463
  def __init__(self):
radboy/__init__.py CHANGED
@@ -1 +1 @@
1
- VERSION='0.0.701'
1
+ VERSION='0.0.702'
Binary file
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: radboy
3
- Version: 0.0.701
3
+ Version: 0.0.702
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=iuHEEs5j_Ov73OobzqYbt07uX8rqu-rnsOwTbLCocpw,17
8
+ radboy/__init__.py,sha256=XNbBhHF6uM_7RqhwtYitxoKXlgpEWIozMkg9xZdlkFg,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
@@ -102,7 +102,7 @@ radboy/DB/msg.txt,sha256=YxWed6A6tuP1djJ5QPS2Rz3ING4TKKf8kUiCCPtzHXE,7937
102
102
  radboy/DB/rad_types.py,sha256=mtZpBMIFPcw1IhmO7UQ7nV_1gNNURs4INwx3x40hLUU,4725
103
103
  radboy/DB/renderText2Png.py,sha256=PWnTicLTfOPg9UlQYia3wMpjM9rh7MIyDVsmcsDRUBo,5678
104
104
  radboy/DB/testClass.py,sha256=t3zT1gbvReUncnPY8R9JUfKXQ5UEB2wmQx8DNeds0hI,310
105
- radboy/DB/SimpleScanner/SimpleScanner.py,sha256=ll6bX9BrQTIVY8gI9kb_4IWeX91AA18MjbS7kQa1KI4,27584
105
+ radboy/DB/SimpleScanner/SimpleScanner.py,sha256=XHMtE92NpgjtRblnFsy1AGXmmMhNxKtMhZvSuohMLnw,27907
106
106
  radboy/DB/SimpleScanner/__init__.py,sha256=BknbeGbEv48sqoCWwCQbKbgbqLUuBAyeeIh4EFerJ0g,899
107
107
  radboy/DB/__pycache__/DatePicker.cpython-311.pyc,sha256=VMJnJ7scb4VHMQi1HDZCF67KVYfb9m-fZK96IAoJzTQ,19676
108
108
  radboy/DB/__pycache__/DatePicker.cpython-312.pyc,sha256=cc5XWJ6Sbtcg0xWPz3SOP93VceIqr1pH42kjkLl5iYs,30294
@@ -404,7 +404,7 @@ radboy/__pycache__/Run.cpython-311.pyc,sha256=G_UEfMtkLRjR6ZpGA_BJzGenuaCcP469Y9
404
404
  radboy/__pycache__/Run.cpython-312.pyc,sha256=v4xolc3mHyla991XhpYBUbBHYT0bnJ1gE-lkFoQ4GFA,241
405
405
  radboy/__pycache__/__init__.cpython-311.pyc,sha256=R-DVbUioMOW-Fnaq7FpT5F1a5p0q3b_RW-HpLRArCAY,242
406
406
  radboy/__pycache__/__init__.cpython-312.pyc,sha256=FsFzLXOlTK8_7ixoPZzakkR8Wibt-DvXLFh-oG2QlPw,164
407
- radboy/__pycache__/__init__.cpython-313.pyc,sha256=1EBkBNOU3XfAgBg4h4Y0F_fP3cQXi-L-4QH97SJB-oc,165
407
+ radboy/__pycache__/__init__.cpython-313.pyc,sha256=ZlbhHXsYMJkvIMH9YSVp2aAZRV2VIQhoBFKdBjvJbJE,165
408
408
  radboy/__pycache__/__init__.cpython-39.pyc,sha256=D48T6x6FUeKPfubo0sdS_ZUut3FmBvPMP7qT6rYBZzU,275
409
409
  radboy/__pycache__/possibleCode.cpython-311.pyc,sha256=zFiHyzqD8gUnIWu4vtyMYIBposiRQqaRXfcT_fOl4rU,20882
410
410
  radboy/__pycache__/possibleCode.cpython-312.pyc,sha256=tk_CO-AcsO3YZj5j6vEsw3g37UmEzWc5YgeWEoJEUg4,27922
@@ -432,7 +432,7 @@ radboy/tkGui/Images/__pycache__/__init__.cpython-311.pyc,sha256=tXBYpqbOlZ24B1BI
432
432
  radboy/tkGui/__pycache__/BeginnersLuck.cpython-311.pyc,sha256=xLQOnV1wuqHGaub16mPX0dDMGU9ryCeLtNz5e517_GE,3004
433
433
  radboy/tkGui/__pycache__/Review.cpython-311.pyc,sha256=wKq24iM6Xe2OampgZ7-8U6Nvmgs2y-qWOrGwtWhc75k,4047
434
434
  radboy/tkGui/__pycache__/__init__.cpython-311.pyc,sha256=BX7DBn5qbvKTvlrKOP5gzTBPBTeTgSMjBW6EMl7N8e0,230
435
- radboy-0.0.701.dist-info/METADATA,sha256=WQx1r3u2PfcikFdBkgliaT_plpuW1lMHOrwfOYNYxak,1891
436
- radboy-0.0.701.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
437
- radboy-0.0.701.dist-info/top_level.txt,sha256=mlM0RWMUxGo1YHnlLmYrHOgGdK4XNRpr7nMFD5lR56c,7
438
- radboy-0.0.701.dist-info/RECORD,,
435
+ radboy-0.0.702.dist-info/METADATA,sha256=WAxgXQRYCuk2oqADcTpfCveyvR2j2ZU5BfNM7PXHxEs,1891
436
+ radboy-0.0.702.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
437
+ radboy-0.0.702.dist-info/top_level.txt,sha256=mlM0RWMUxGo1YHnlLmYrHOgGdK4XNRpr7nMFD5lR56c,7
438
+ radboy-0.0.702.dist-info/RECORD,,