radboy 0.0.701__py3-none-any.whl → 0.0.703__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,8 @@ 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}")
418
+ print(FORMAT)
412
419
 
413
420
  def last_DTOE(self):
414
421
  default=True
@@ -422,6 +429,7 @@ class SimpleScanUi:
422
429
  terse=default
423
430
  '''print the newest scan'''
424
431
  with Session(ENGINE) as session:
432
+ total=0
425
433
  query=session.query(SimpleScan)
426
434
  query=orderQuery(query,SimpleScan.DTOE)
427
435
  limit=Control(func=FormBuilderMkText,ptext="max to display?",helpText="an integer",data="integer")
@@ -441,6 +449,7 @@ class SimpleScanUi:
441
449
  cta=len(results)
442
450
 
443
451
  for num,i in enumerate(results):
452
+ total+=i.TimesScanned
444
453
  if terse:
445
454
  msg=self.terse(i,num,cta)
446
455
  else:
@@ -449,6 +458,8 @@ class SimpleScanUi:
449
458
  print(msg)
450
459
  if (num % 15) == 0 and num > 0:
451
460
  print(f"{Fore.grey_70}{'*'*os.get_terminal_size().columns}")
461
+ print(f"Total TimesScanned = {total}")
462
+ print(FORMAT)
452
463
 
453
464
 
454
465
  def __init__(self):
radboy/__init__.py CHANGED
@@ -1 +1 @@
1
- VERSION='0.0.701'
1
+ VERSION='0.0.703'
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.703
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=1S9xJ_YhgiHH4coMnxJ1qgm4Vrh1-9v9ZoltFtPLxvY,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=o9UnsJa2gV8gsc8CAITkJYXYRxlGVwSvbUN6EdBcwLQ,27959
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=WFcjG-TYPKomfP5UvkyIjcZXz3XNdbCDx5oZ1iTGiMg,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.703.dist-info/METADATA,sha256=YJ1BjaWHzcPcABKX8jLoewzgS4mDj_9E6vtJwbxSS5Y,1891
436
+ radboy-0.0.703.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
437
+ radboy-0.0.703.dist-info/top_level.txt,sha256=mlM0RWMUxGo1YHnlLmYrHOgGdK4XNRpr7nMFD5lR56c,7
438
+ radboy-0.0.703.dist-info/RECORD,,