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

Binary file
radboy/DB/db.py CHANGED
@@ -837,6 +837,8 @@ class EntryDataExtras(BASE,Template):
837
837
  ede_id=Column(Integer,primary_key=True)
838
838
 
839
839
  def __init__(self,*args,**kwargs):
840
+ if 'doe' not in kwargs:
841
+ self.doe=datetime.now()
840
842
  fields=[i.name for i in self.__table__.columns]
841
843
  for k in kwargs:
842
844
  if k in fields:
@@ -4988,6 +4990,8 @@ class HealthLog(BASE,Template):
4988
4990
  Comments=Column(String,default=None)
4989
4991
 
4990
4992
  def __init__(self,**kwargs):
4993
+ if 'DTOE' not in kwargs:
4994
+ self.DTOE=datetime.now()
4991
4995
  for k in kwargs.keys():
4992
4996
  if k in [s.name for s in self.__table__.columns]:
4993
4997
  setattr(self,k,kwargs.get(k))
@@ -5018,6 +5022,8 @@ class InListRestore(BASE,Template):
5018
5022
  EntryFieldsJson=Column(String,default="{}")
5019
5023
 
5020
5024
  def __init__(self,**kwargs):
5025
+ if 'dtoe' not in kwargs:
5026
+ self.dtoe=datetime.now()
5021
5027
  for k in kwargs.keys():
5022
5028
  if k in [s.name for s in self.__table__.columns]:
5023
5029
  setattr(self,k,kwargs.get(k))
@@ -5068,6 +5074,8 @@ class UniqueRecieptIdInfo(BASE,Template):
5068
5074
  return f"UniqueRecieptIdInfo(urid={self.urid})"
5069
5075
 
5070
5076
  def __init__(self,**kwargs):
5077
+ if 'DTOE' not in kwargs:
5078
+ self.DTOE=datetime.now()
5071
5079
  for k in kwargs.keys():
5072
5080
  if k in [s.name for s in self.__table__.columns]:
5073
5081
  setattr(self,k,kwargs.get(k))
@@ -5106,6 +5114,8 @@ class TaxRates(BASE,Template):
5106
5114
  return f"TaxRates(trid={self.trid})"
5107
5115
 
5108
5116
  def __init__(self,**kwargs):
5117
+ if 'DTOE' not in kwargs:
5118
+ self.DTOE=datetime.now()
5109
5119
  for k in kwargs.keys():
5110
5120
  if k in [s.name for s in self.__table__.columns]:
5111
5121
  setattr(self,k,kwargs.get(k))
@@ -5144,6 +5154,9 @@ class BusinessHours(BASE,Template):
5144
5154
  return f"BusinessHours(bhid={self.trid})"
5145
5155
 
5146
5156
  def __init__(self,**kwargs):
5157
+ if 'DTOE' not in kwargs:
5158
+ self.DTOE=datetime.now()
5159
+
5147
5160
  for k in kwargs.keys():
5148
5161
  if k in [s.name for s in self.__table__.columns]:
5149
5162
  setattr(self,k,kwargs.get(k))
@@ -5189,6 +5202,8 @@ class Scheduled_And_Appointments(BASE,Template):
5189
5202
  return f"Scheduled_And_Appointments(saa_id={self.saa_id})"
5190
5203
 
5191
5204
  def __init__(self,**kwargs):
5205
+ if 'DTOE' not in kwargs:
5206
+ self.DTOE=datetime.now()
5192
5207
  for k in kwargs.keys():
5193
5208
  if k in [s.name for s in self.__table__.columns]:
5194
5209
  setattr(self,k,kwargs.get(k))
@@ -5228,6 +5243,8 @@ class RepeatableDates(BASE,Template):
5228
5243
  return f"RepeatableDates(rd_id={self.rd_id})"
5229
5244
 
5230
5245
  def __init__(self,**kwargs):
5246
+ if 'DTOE' not in kwargs:
5247
+ self.DTOE=datetime.now()
5231
5248
  for k in kwargs.keys():
5232
5249
  if k in [s.name for s in self.__table__.columns]:
5233
5250
  setattr(self,k,kwargs.get(k))
@@ -5311,6 +5328,8 @@ class CookBook(BASE,Template):
5311
5328
  return f"{self.__class__.__name__}(cbid={self.cbid})"
5312
5329
 
5313
5330
  def __init__(self,**kwargs):
5331
+ if 'DTOE' not in kwargs:
5332
+ self.DTOE=datetime.now()
5314
5333
  for k in kwargs.keys():
5315
5334
  if k in [s.name for s in self.__table__.columns]:
5316
5335
  setattr(self,k,kwargs.get(k))
@@ -5378,6 +5397,8 @@ class PhoneBook(BASE,Template):
5378
5397
  return f"{self.__class__.__name__}(cbid={self.cbid})"
5379
5398
 
5380
5399
  def __init__(self,**kwargs):
5400
+ if 'DTOE' not in kwargs:
5401
+ self.DTOE=datetime.now()
5381
5402
  for k in kwargs.keys():
5382
5403
  if k in [s.name for s in self.__table__.columns]:
5383
5404
  setattr(self,k,kwargs.get(k))
@@ -5420,6 +5441,8 @@ class Occurances(BASE,Template):
5420
5441
  def __init__(self,**kwargs):
5421
5442
  if 'uid' not in kwargs:
5422
5443
  self.uid=str(uuid1())
5444
+ if 'DTOE' not in kwargs:
5445
+ self.DTOE=datetime.now()
5423
5446
  for k in kwargs.keys():
5424
5447
  if k in [s.name for s in self.__table__.columns]:
5425
5448
  setattr(self,k,kwargs.get(k))
@@ -1,5 +1,7 @@
1
1
  from . import *
2
2
  import uuid
3
+ import radboy.TasksMode as TM
4
+
3
5
  class BhTrSa_Gui:
4
6
 
5
7
  def next_saa(self):
@@ -519,6 +521,11 @@ class BhTrSa_Gui:
519
521
  'exec':self.next_saa,
520
522
  'desc':"display next x of schedules and appointments entry that are not past due"
521
523
  },
524
+ uuid.uuid1():{
525
+ 'cmds':["#"+str(0),*[i for i in generate_cmds(startcmd=["phonebook","phnbk"],endCmd=["",])]],
526
+ 'exec':lambda self=self:TM.Tasks.TasksMode(parent=self,engine=db.ENGINE,init_only=True).phonebook(),
527
+ 'desc':"open phonebook menu"
528
+ },
522
529
  }
523
530
  htext=[]
524
531
  for cmd in cmds:
@@ -21,6 +21,7 @@ from radboy.Compare.Compare import *
21
21
  from sqlalchemy.sql import functions as func
22
22
  from collections import OrderedDict
23
23
  from radboy.DayLog.BhTrSa.bhtrsaa import *
24
+ import radboy.TasksMode as TM
24
25
 
25
26
  class DayLogger:
26
27
  helpText=f"""
@@ -76,6 +77,7 @@ fxtbl - update table with correct columns
76
77
  {Fore.light_sea_green}'taxi fare','calc taxi fare','ctf','taxi'{Fore.light_steel_blue}- Calculate Taxi Fares{Style.reset}
77
78
  {Fore.light_sea_green}'faraday','holesize','frdy hs'{Fore.light_steel_blue}- get wavelength needed for a frequency/for making a faraday cage {Fore.orange_red_1}[Indirectly Related]{Style.reset}
78
79
  {Fore.light_sea_green}'bhtrsa','business hours tax rates scheduled and appointments'{Fore.light_steel_blue}- Business Hours, Tax Rates, Scheduled and Appointments {Fore.orange_red_1}[Indirectly Related]{Style.reset}
80
+ {Fore.light_sea_green}{["#"+str(0),*[i for i in generate_cmds(startcmd=["phonebook","phnbk"],endCmd=["",])]]}{Fore.light_steel_blue}"open phonebook menu"{Style.reset}
79
81
  """
80
82
  def listAllDL(self):
81
83
  with Session(self.engine) as session:
@@ -1942,6 +1944,8 @@ fxtbl - update table with correct columns
1942
1944
  CompareUI()
1943
1945
  elif what.lower() in ['bhtrsa','business hours tax rates scheduled and appointments']:
1944
1946
  BhTrSa_Gui()
1947
+ elif what.lower() in ["#"+str(0),*[i for i in generate_cmds(startcmd=["phonebook","phnbk"],endCmd=["",])]]:
1948
+ TM.Tasks.TasksMode(parent=self,engine=db.ENGINE,init_only=True).phonebook()
1945
1949
 
1946
1950
 
1947
1951
 
@@ -1,5 +1,5 @@
1
1
  from . import *
2
-
2
+ from radboy.DayLog.BhTrSa.bhtrsaa import *
3
3
 
4
4
  class PhoneBookUi:
5
5
  def list_uids_names(self):
@@ -384,6 +384,11 @@ class PhoneBookUi:
384
384
  'desc':"edit phone name and phone uid",
385
385
  'exec':lambda self=self:self.edit_rcp(),
386
386
  },
387
+ uuid1():{
388
+ 'cmds':generate_cmds(startcmd=['bhtrsa','business hours tax rates scheduled and appointments'],endCmd=['',]),
389
+ 'desc':"Business Hours, Tax Rates, Scheduled and Appointments {Fore.orange_red_1}[Indirectly Related]{Style.reset}",
390
+ 'exec':BhTrSa_Gui,
391
+ },
387
392
  }
388
393
 
389
394
  htext=[]
radboy/__init__.py CHANGED
@@ -1 +1 @@
1
- VERSION='0.0.505'
1
+ VERSION='0.0.506'
Binary file
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: radboy
3
- Version: 0.0.505
3
+ Version: 0.0.506
4
4
  Summary: A small example package
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=7AMBWqatxUnEmmXaAiHvpo0K6T_Rlk_xkhmLJp-uGQg,17
8
+ radboy/__init__.py,sha256=zOwNmT-OhknWpA36vWtzNRbtbufmQ2r-5GPCdkkn5W0,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
@@ -92,7 +92,7 @@ radboy/DB/SMLabelImporter.py,sha256=eUoBDxVUUEKGL2g_PwkASM67ZB7FmXtSnn4bCagskhY,
92
92
  radboy/DB/__init__.py,sha256=JiigA9B7GalP7YuRdcwyGDu5PDSBahoi0lLjtScxlN8,49
93
93
  radboy/DB/blankDataFile.py,sha256=YX_05Usi71UpDkZN9UTMYwUipbTndTAtEgqzBEga0kE,9285
94
94
  radboy/DB/config.py,sha256=bvu43dUl1_yO3Zq3gsLuenGUgJSiS3S9Cs6ppFEvZbg,239
95
- radboy/DB/db.py,sha256=lFGyGn4ZD6PDg3dOQZxRCk3HLLp88cGrpBlUyiB2mhc,246363
95
+ radboy/DB/db.py,sha256=UBZFREaSHmpDPTdqlrT9ctzIyFxtlRm2l_vLb9ACpus,247132
96
96
  radboy/DB/glossary_db.py,sha256=1_qxeEpjjEtpWB_eDjsgJisimLv7OBm75MuqM-Lt6zg,28218
97
97
  radboy/DB/masterLookup.py,sha256=DBaM2uscG3_X5dek49wjdnOzhrjWhKgvOEz_umdz0mY,4566
98
98
  radboy/DB/msg.txt,sha256=YxWed6A6tuP1djJ5QPS2Rz3ING4TKKf8kUiCCPtzHXE,7937
@@ -127,7 +127,7 @@ radboy/DB/__pycache__/config.cpython-312.pyc,sha256=Qo7E6MHrF6yqvKgepNFyCoekZXiv
127
127
  radboy/DB/__pycache__/config.cpython-313.pyc,sha256=_8wCIg_3jhyJjxnExD2Sm6aY-uZTw036p7Ki5znL7dc,376
128
128
  radboy/DB/__pycache__/db.cpython-311.pyc,sha256=rNgigyBd0D-cg1JxKAS8t0B_k0IEJivgVlRaZE10Xis,210105
129
129
  radboy/DB/__pycache__/db.cpython-312.pyc,sha256=ANDJPC0RoavbmSKFxG15vC7B4rEGyVt7xRJt7XGY3OA,334609
130
- radboy/DB/__pycache__/db.cpython-313.pyc,sha256=iCo8Bq54dG0hlAzKeAXOSRUs8t6gPQomS7rg5qDjuc4,392241
130
+ radboy/DB/__pycache__/db.cpython-313.pyc,sha256=ykgj6P9kE1CRtEtW49kK-pwMcNrwZoI9iGt0ga2rc6w,393314
131
131
  radboy/DB/__pycache__/glossary_db.cpython-312.pyc,sha256=8UL-29cKqtKovx0BANm6kzKKteef1BW_2qF3wumzst4,36023
132
132
  radboy/DB/__pycache__/glossary_db.cpython-313.pyc,sha256=Ke9bkvllGv5CK0JdT9DRvQ3MOdrXxoYv7TVLNkqLux0,36582
133
133
  radboy/DB/__pycache__/masterLookup.cpython-312.pyc,sha256=bQiOkmMwwHgcO18tYSWGQ-YUff4GQlKVhBMp1GoWAqY,6324
@@ -136,15 +136,15 @@ radboy/DB/__pycache__/renderText2Png.cpython-311.pyc,sha256=ivSzvyAeWhsS-a_RcFF8
136
136
  radboy/DB/__pycache__/renderText2Png.cpython-312.pyc,sha256=1CUGjOhJw_vC4DNMQ-W5jBXEKp7HzDrq7--x9VyBTo8,8991
137
137
  radboy/DB/__pycache__/renderText2Png.cpython-313.pyc,sha256=LDJOo7uFztlxw3ptN8QuHrLkr0GKiAArBu34QiE15iQ,9096
138
138
  radboy/DB/__pycache__/testClass.cpython-311.pyc,sha256=nkWap8RuBsWWOB_ZhGbR3ELbnL1F1CHZCi0dpepqw-0,1225
139
- radboy/DayLog/DayLogger.py,sha256=6GorKwyHib7aMJIisg2Sq_r5UmGOyuRfI5loQqlSPf8,102286
139
+ radboy/DayLog/DayLogger.py,sha256=cdBae7g6ko2BEfVlb1vkXS8vnwpoBFQkRfdRYS4t_Sg,102711
140
140
  radboy/DayLog/TaxiFares.py,sha256=3slYjtBcTnRe8IeneJ-_iZJJ3E7alW09f6GWYXPxhOo,10882
141
141
  radboy/DayLog/Wavelength4Freq.py,sha256=MfN2EATrN3bbEDgP1qOPjV1Fk8sVnkc_4tgX6sKfSE0,2054
142
142
  radboy/DayLog/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
143
143
  radboy/DayLog/BhTrSa/__init__.py,sha256=q6xDsXAiWpQR2QWILKZKf--D3apR_KOE1CRbZaP7Vq4,976
144
- radboy/DayLog/BhTrSa/bhtrsaa.py,sha256=pd7izQF79-BBshfS_HZ87WVoZv_hwMQHEwWMpvf3CWs,17945
144
+ radboy/DayLog/BhTrSa/bhtrsaa.py,sha256=3ECYU_2yMNS_zsN0ZD6BbiIwbWcJ9mokUwOt_hkTAYs,18233
145
145
  radboy/DayLog/__pycache__/DayLogger.cpython-311.pyc,sha256=TmRnRZHp5tMTokSEB8hWTxnasi-iJdh6TmYcb_nXGoY,29557
146
146
  radboy/DayLog/__pycache__/DayLogger.cpython-312.pyc,sha256=bfDCQZrIhgQYzoUle7roicRE_bhGPYZtIbCRIiDrsxU,68240
147
- radboy/DayLog/__pycache__/DayLogger.cpython-313.pyc,sha256=L3BYIw7SMXTsTK64KnTRg0mn-CRZn2Eq-4rjh75JXcs,151046
147
+ radboy/DayLog/__pycache__/DayLogger.cpython-313.pyc,sha256=gitldqReXV97m3GaZaqbIDw29gZPVieZ3kI6j4d8gXM,152037
148
148
  radboy/DayLog/__pycache__/__init__.cpython-311.pyc,sha256=Z5Y4DdVF77LZf6-Of92MDGFdi-IXik1ASQd4AdLNNfQ,231
149
149
  radboy/DayLog/__pycache__/__init__.cpython-312.pyc,sha256=lP_GHzSPt5JTrT1jLWiRMFGPmSdJYBn4eRV__OxgJ6s,269
150
150
  radboy/DayLog/__pycache__/__init__.cpython-313.pyc,sha256=UQw5v4r7yismC9qcqP0dEme6h-lawbOA5pXYpkqUwFk,148
@@ -284,7 +284,7 @@ radboy/POS/__pycache__/POS.cpython-313.pyc,sha256=-es1vNYvFK6MXznK6FTNTcsdGZzpC6
284
284
  radboy/POS/__pycache__/__init__.cpython-311.pyc,sha256=EjkCiNyf59_mmFLzbgGLqpStpeo9gi2dx8IZlhg_Qyg,228
285
285
  radboy/POS/__pycache__/__init__.cpython-312.pyc,sha256=mpESqOMEmBPUkkkP2Sci7XPA3MSko8Qw-eMFB2854EE,266
286
286
  radboy/POS/__pycache__/__init__.cpython-313.pyc,sha256=DR0_hbFS6FQFh6GWnXDs5bXThEqOZoNBwuzGOW_X9co,145
287
- radboy/PhoneBook/PhoneBook.py,sha256=eGL32n26PRKrnviA3Aa0u1KmFn_aNmsQrh1dkcwwNpc,14753
287
+ radboy/PhoneBook/PhoneBook.py,sha256=cqZFpQJ6FX9OTQ7WP6HX-k5uHI5kf0_UKy5EbEpj_zk,15072
288
288
  radboy/PhoneBook/__init__.py,sha256=ehY4XgI8wlGvgUugs1HHrMLSaGQi2ox9bGGDIJCq9_E,928
289
289
  radboy/PunchCard/CalcTimePad.py,sha256=wpjHbGtqkhWgPABoR_wSwroP3-0o_TH2EKASKUPqsZg,4315
290
290
  radboy/PunchCard/PunchCard.py,sha256=Y4hzx5lLFw-1yDyxJukt-Xb3_ADsF6wEmpW_egXGCDc,38123
@@ -398,7 +398,7 @@ radboy/__pycache__/Run.cpython-311.pyc,sha256=G_UEfMtkLRjR6ZpGA_BJzGenuaCcP469Y9
398
398
  radboy/__pycache__/Run.cpython-312.pyc,sha256=v4xolc3mHyla991XhpYBUbBHYT0bnJ1gE-lkFoQ4GFA,241
399
399
  radboy/__pycache__/__init__.cpython-311.pyc,sha256=R-DVbUioMOW-Fnaq7FpT5F1a5p0q3b_RW-HpLRArCAY,242
400
400
  radboy/__pycache__/__init__.cpython-312.pyc,sha256=FsFzLXOlTK8_7ixoPZzakkR8Wibt-DvXLFh-oG2QlPw,164
401
- radboy/__pycache__/__init__.cpython-313.pyc,sha256=c-ecJHyh4vAXydPRHcAtywm2qcEoyw3yX0ZPjaRqz_A,165
401
+ radboy/__pycache__/__init__.cpython-313.pyc,sha256=S8n9LurylQgRQ1cCZY5CeUHEaCy0PipCuV_p19aXIcA,165
402
402
  radboy/__pycache__/__init__.cpython-39.pyc,sha256=D48T6x6FUeKPfubo0sdS_ZUut3FmBvPMP7qT6rYBZzU,275
403
403
  radboy/__pycache__/possibleCode.cpython-311.pyc,sha256=zFiHyzqD8gUnIWu4vtyMYIBposiRQqaRXfcT_fOl4rU,20882
404
404
  radboy/__pycache__/possibleCode.cpython-312.pyc,sha256=tk_CO-AcsO3YZj5j6vEsw3g37UmEzWc5YgeWEoJEUg4,27922
@@ -423,7 +423,7 @@ radboy/tkGui/Images/__pycache__/__init__.cpython-311.pyc,sha256=tXBYpqbOlZ24B1BI
423
423
  radboy/tkGui/__pycache__/BeginnersLuck.cpython-311.pyc,sha256=xLQOnV1wuqHGaub16mPX0dDMGU9ryCeLtNz5e517_GE,3004
424
424
  radboy/tkGui/__pycache__/Review.cpython-311.pyc,sha256=wKq24iM6Xe2OampgZ7-8U6Nvmgs2y-qWOrGwtWhc75k,4047
425
425
  radboy/tkGui/__pycache__/__init__.cpython-311.pyc,sha256=BX7DBn5qbvKTvlrKOP5gzTBPBTeTgSMjBW6EMl7N8e0,230
426
- radboy-0.0.505.dist-info/METADATA,sha256=ekyiHsOcQVK_NkzOHJV06lfDHVjsPZvPf6_8CpV-Jw8,1601
427
- radboy-0.0.505.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
428
- radboy-0.0.505.dist-info/top_level.txt,sha256=mlM0RWMUxGo1YHnlLmYrHOgGdK4XNRpr7nMFD5lR56c,7
429
- radboy-0.0.505.dist-info/RECORD,,
426
+ radboy-0.0.506.dist-info/METADATA,sha256=FUFNbSp-A-t-E8CLp4HEOeqjLmFvn0SpNTbBMIdzZc4,1601
427
+ radboy-0.0.506.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
428
+ radboy-0.0.506.dist-info/top_level.txt,sha256=mlM0RWMUxGo1YHnlLmYrHOgGdK4XNRpr7nMFD5lR56c,7
429
+ radboy-0.0.506.dist-info/RECORD,,