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

@@ -85,6 +85,28 @@ class OrderAndRxdUi():
85
85
  def search(self,selector=False,menu=False):
86
86
  terms,z=self.OrderedAndRecieved_as(as_=None)
87
87
  terms=self.filter(terms)
88
+ def selectortext(results,page=False):
89
+ def edit(i):
90
+ pass
91
+
92
+ def delete(i):
93
+ pass
94
+
95
+ htext=[]
96
+ for num,i in enumerate(results):
97
+ print(std_colorize(i,num,ct))
98
+ if page:
99
+ menu=Control(func=FormBuilderMkText,ptext="edit/e or rm/del/delete",helpText="edit or delete",data="string")
100
+ if menu is None:
101
+ continue
102
+ elif menu in ['d',]:
103
+ continue
104
+ elif menu in ['edt','ed','e']:
105
+ edit(i)
106
+ elif menu in ['rm','r','del','delete']:
107
+ delete(i)
108
+
109
+
88
110
  if terms is not None:
89
111
  with Session(ENGINE) as session:
90
112
  query=session.query(OrderedAndRecieved).filter(*terms)
@@ -101,15 +123,11 @@ class OrderAndRxdUi():
101
123
 
102
124
  if selector:
103
125
  #for returning a list of OrderedAndRecieved
104
- htext=[]
105
- for num,i in enumerate(results):
106
- print(std_colorize(i,num,ct))
126
+ selectortext(resuls)
107
127
  pass
108
128
  if menu:
109
129
  #for paged edit/delete of OrderedAndRecieved and returns None
110
- htext=[]
111
- for num,i in enumerate(results):
112
- print(std_colorize(i,num,ct))
130
+ selectortext(results,page=True)
113
131
  pass
114
132
 
115
133
 
radboy/__init__.py CHANGED
@@ -1 +1 @@
1
- VERSION='0.0.597'
1
+ VERSION='0.0.598'
Binary file
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: radboy
3
- Version: 0.0.597
3
+ Version: 0.0.598
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=j2Fd1Ugksqka5IOjFPK9aHZiPg4vuv_A2UhBaXFML6c,17
8
+ radboy/__init__.py,sha256=kdPvIoh_ejTr0gKvMR5-yrfLK0Y6XNq1GTIhpX_iuR0,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
@@ -83,7 +83,7 @@ radboy/DB/DatePicker.py,sha256=B75mDtXQrkHRCpoU9TJsaBVvkK37ykMaJyaiqGOo4dM,18334
83
83
  radboy/DB/DisplayItemDb.py,sha256=uVvrNyFyBuKvrw-BEPXKYvfa-QWyFN5ahESi2l6vUUA,52046
84
84
  radboy/DB/EstimatedPayCalendarWorkSheet.txt,sha256=GOjRSmGxFoNTdAnpPe2kGv7CkXDrh0Mee01HslamGbo,17173
85
85
  radboy/DB/ExerciseTracker.py,sha256=OS9i8jGIZPj-6m1bB0-eKNHQ6vf2iv_AYPEc0s4bkBM,27809
86
- radboy/DB/OrderedAndRxd.py,sha256=loAVDgPDibSxwfNatQ1OJ1vIhMZEIqdegBl-pReHxrs,7117
86
+ radboy/DB/OrderedAndRxd.py,sha256=7d9Ne58L9YRoNMRBtKe4e_hSRIZ3MlVt9YaGSQP3VXs,7701
87
87
  radboy/DB/PayDay.py,sha256=H2kPGvBCDkMOz7lbxQhYtUt_oAInpxi37Q6MFrah98I,8710
88
88
  radboy/DB/PayModels.py,sha256=hjwWxP7PL33hmfzQl5YTf0HqzaMxXJxFknPdxFJXJc8,3499
89
89
  radboy/DB/PrintLogging.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -401,7 +401,7 @@ radboy/__pycache__/Run.cpython-311.pyc,sha256=G_UEfMtkLRjR6ZpGA_BJzGenuaCcP469Y9
401
401
  radboy/__pycache__/Run.cpython-312.pyc,sha256=v4xolc3mHyla991XhpYBUbBHYT0bnJ1gE-lkFoQ4GFA,241
402
402
  radboy/__pycache__/__init__.cpython-311.pyc,sha256=R-DVbUioMOW-Fnaq7FpT5F1a5p0q3b_RW-HpLRArCAY,242
403
403
  radboy/__pycache__/__init__.cpython-312.pyc,sha256=FsFzLXOlTK8_7ixoPZzakkR8Wibt-DvXLFh-oG2QlPw,164
404
- radboy/__pycache__/__init__.cpython-313.pyc,sha256=nc9487ZQ7iwGWvwQqeUQ9nOcNH1rg5SlFQKcMFBVJw0,165
404
+ radboy/__pycache__/__init__.cpython-313.pyc,sha256=VkYW_WmlIuQqbclZnsYX1_Sb6gIiaCDJKpt1gaso3Y8,165
405
405
  radboy/__pycache__/__init__.cpython-39.pyc,sha256=D48T6x6FUeKPfubo0sdS_ZUut3FmBvPMP7qT6rYBZzU,275
406
406
  radboy/__pycache__/possibleCode.cpython-311.pyc,sha256=zFiHyzqD8gUnIWu4vtyMYIBposiRQqaRXfcT_fOl4rU,20882
407
407
  radboy/__pycache__/possibleCode.cpython-312.pyc,sha256=tk_CO-AcsO3YZj5j6vEsw3g37UmEzWc5YgeWEoJEUg4,27922
@@ -429,7 +429,7 @@ radboy/tkGui/Images/__pycache__/__init__.cpython-311.pyc,sha256=tXBYpqbOlZ24B1BI
429
429
  radboy/tkGui/__pycache__/BeginnersLuck.cpython-311.pyc,sha256=xLQOnV1wuqHGaub16mPX0dDMGU9ryCeLtNz5e517_GE,3004
430
430
  radboy/tkGui/__pycache__/Review.cpython-311.pyc,sha256=wKq24iM6Xe2OampgZ7-8U6Nvmgs2y-qWOrGwtWhc75k,4047
431
431
  radboy/tkGui/__pycache__/__init__.cpython-311.pyc,sha256=BX7DBn5qbvKTvlrKOP5gzTBPBTeTgSMjBW6EMl7N8e0,230
432
- radboy-0.0.597.dist-info/METADATA,sha256=lXiTRZOzMBNgqat_kP8GhUioRUfnTHYRz1FWayvdi4Q,1662
433
- radboy-0.0.597.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
434
- radboy-0.0.597.dist-info/top_level.txt,sha256=mlM0RWMUxGo1YHnlLmYrHOgGdK4XNRpr7nMFD5lR56c,7
435
- radboy-0.0.597.dist-info/RECORD,,
432
+ radboy-0.0.598.dist-info/METADATA,sha256=VtQJzQjLUZNHKjqgx2jGBDM5aIwdSQoWSnBUt52IoGw,1662
433
+ radboy-0.0.598.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
434
+ radboy-0.0.598.dist-info/top_level.txt,sha256=mlM0RWMUxGo1YHnlLmYrHOgGdK4XNRpr7nMFD5lR56c,7
435
+ radboy-0.0.598.dist-info/RECORD,,