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

radboy/DB/Prompt.py CHANGED
@@ -1820,7 +1820,7 @@ CMD's are not final until ended with {Fore.magenta}{hw_delim}{Style.reset}""")
1820
1820
  {Fore.grey_70}**{Fore.light_green}'exe-print','pxr','print exe result'{Fore.light_steel_blue} print result of inline script from save without returning{Style.reset}
1821
1821
  {Fore.grey_70}{llo_modes} Modes ONLY **{Fore.light_green}'rllo','reverse list lookup order'{Fore.light_green}Reverse the ordering used by the List Maker's listing modes for Entry Lookup, i.e. set Shelf,mksl,qsl{Style.reset}
1822
1822
  {Fore.grey_70}{llo_modes} Modes ONLY **{Fore.light_green}'vllo','view list lookup order'{Fore.light_green}View the ordering used by the List Maker's listing modes for Entry Lookup, i.e. set Shelf,mksl,qsl{Style.reset}
1823
- {Fore.grey_70}**{Fore.light_green}'fmbh','formbuilder help','form helptext'{Fore.light_green}FormBuilderHelpText; extra keywords when asked for time and date'''
1823
+ {Fore.grey_70}**{Fore.light_green}'fbht','fmbh','formbuilder help','form helptext'{Fore.light_green}FormBuilderHelpText; extra keywords when asked for time and date'''
1824
1824
  print(extra)
1825
1825
  print(helpText)
1826
1826
  continue
@@ -1929,7 +1929,7 @@ which will result in a cmd of 'ls Shelf'{Style.reset}
1929
1929
  resultant=db.Entry.rebar(None,code)
1930
1930
  print(resultant)
1931
1931
  return func(resultant,data)
1932
- elif cmd.lower() in ['fmbh','formbuilder help','form helptext']:
1932
+ elif cmd.lower() in ['fbht','fmbh','formbuilder help','form helptext']:
1933
1933
  FormBuilderHelpText()
1934
1934
  continue
1935
1935
  elif cmd in ['codify str','codify.str','codify-str','format code str','fcodes']:
radboy/FB/FBMTXT.py CHANGED
@@ -77,6 +77,10 @@ def FormBuilderHelpText():
77
77
  {Fore.light_cyan}start week {Fore.light_green}-{Fore.light_steel_blue} {TODAY_IS-timedelta(days=TODAY_IS.weekday())}{Style.reset}
78
78
  {Fore.light_cyan}start month {Fore.light_green}-{Fore.light_steel_blue} {datetime(year=TODAY_IS.year,month=TODAY_IS.month,day=1)}{Style.reset}
79
79
  {Fore.light_cyan}start year {Fore.light_green}-{Fore.light_steel_blue} {datetime(year=TODAY_IS.year,month=1,day=1)}{Style.reset}
80
+ {Fore.light_cyan}last month start{Fore.light_steel_blue} last month's start date (1) {Style.reset}
81
+ {Fore.light_cyan}last month end{Fore.light_steel_blue} last month's end date(28,29,30, or 31){Style.reset}
82
+ {Fore.light_cyan}next month start{Fore.light_steel_blue} next month's start date (1){Style.reset}
83
+ {Fore.light_cyan}next month end{Fore.light_steel_blue} next month's end date(28,29,30, or 31){Style.reset}
80
84
  {Fore.grey_70}**{Fore.light_yellow}A Date Can be represented as {Fore.light_cyan}10.26.25={Fore.cyan}10/26/25=10/26/2025={Fore.light_green}oct.26.25={Fore.spring_green_3a}oct/26/25={Fore.light_steel_blue}oct.26.2025{Style.reset}
81
85
  {Fore.grey_70}**{Fore.light_yellow}Any of {Fore.yellow}{string.punctuation} {Fore.light_cyan}in `datetime` can be use as the separator, as long as they are the same throughout the string{Style.reset}
82
86
  {Fore.grey_70}**{Fore.light_yellow}10.26.1993@4:30{Fore.light_cyan} represents 10/26/1993 at 4:30am, where at indicates a separation to the time string{Style.reset}
@@ -84,6 +88,7 @@ def FormBuilderHelpText():
84
88
  {Fore.grey_70}**{Fore.light_yellow}RETRY{Fore.light_cyan} is issued when parsing fails.{Style.reset}
85
89
  {Fore.light_cyan}**{Fore.light_steel_blue}Boolean True={Fore.spring_green_3a}y,yes,Yes,Y,True,T,t,1 or an equation that results in a True such as {Fore.orange_red_1}`datetime.now()`/{datetime.now()}`!=datetime(2001,1,1)`/{datetime(2001,1,1)} or 1==1.{Style.reset}
86
90
  {Fore.light_cyan}**{Fore.light_steel_blue}Boolean False={Fore.spring_green_3a}false,no,n,N,No,False,0 or an equation that results in a False such as {Fore.orange_red_1}`datetime.now()`/{datetime.now()}`==datetime(2001,1,1)`/{datetime(2001,1,1)} or 1==0.{Style.reset}
91
+ {Fore.medium_violet_red}**{Fore.light_magenta}When Asked for a List of integers {Fore.magenta}use 1,2,3 for indexes 1-3, {Fore.orange_red_1}or 1,3 for indexes 1 and 3, {Fore.light_red}or 1,4,6-8,10 for indexes 1,4,6,7,8, and 10,{Fore.purple_1a} or 1 for index 1.{Style.reset}
87
92
  '''
88
93
  print(msg)
89
94
 
@@ -201,7 +206,33 @@ def FormBuilderMkText(text,data,passThru=[],PassThru=True,alternative_false=None
201
206
  elif text.lower() in ['next year',]:
202
207
  TODAY_IS=datetime.now()
203
208
  return datetime(year=TODAY_IS.year,month=TODAY_IS.month,day=TODAY_IS.day)+timedelta(seconds=60*60*24*365)
204
-
209
+
210
+ elif text.lower() in ['last month start',]:
211
+ TODAY_IS=datetime.now()
212
+ lastMonth=datetime(year=TODAY_IS.year,month=TODAY_IS.month,day=1)-timedelta(days=1)
213
+ lastMonth_real=datetime(year=lastMonth.year,month=lastMonth.month,day=1)
214
+ return lastMonth_real
215
+ elif text.lower() in ['last month end',]:
216
+ TODAY_IS=datetime.now()
217
+ lastMonth=datetime(year=TODAY_IS.year,month=TODAY_IS.month,day=1)-timedelta(days=1)
218
+ #lastMonth_real=datetime(year=lastMonth.year,month=lastMonth.month,day=1)
219
+ return lastMonth
220
+ elif text.lower() in ['next month start',]:
221
+ TODAY_IS=datetime.now()
222
+ days=calendar.monthrange(TODAY_IS.year,TODAY_IS.month)[-1]+1
223
+ lastMonth=datetime(year=TODAY_IS.year,month=TODAY_IS.month,day=days)+timedelta(days=days)
224
+ #lastMonth_real=datetime(year=lastMonth.year,month=lastMonth.month,day=1)
225
+ return lastMonth
226
+ elif text.lower() in ['next month end',]:
227
+ TODAY_IS=datetime.now()
228
+ days=calendar.monthrange(TODAY_IS.year,TODAY_IS.month)[-1]
229
+
230
+ lastMonth=datetime(year=TODAY_IS.year,month=TODAY_IS.month,day=days)+timedelta(days=1)
231
+ nmdays=calendar.monthrange(lastMonth.year,lastMonth.month)[-1]
232
+
233
+ lastMonth=datetime(year=TODAY_IS.year,month=TODAY_IS.month,day=days)+timedelta(days=nmdays)
234
+ return lastMonth
235
+
205
236
  elif text.lower() in ['end week',]:
206
237
  return TODAY_IS+timedelta(days=TODAY_IS.weekday())
207
238
  elif text.lower() in ['end month',]:
radboy/__init__.py CHANGED
@@ -1 +1 @@
1
- VERSION='0.0.364'
1
+ VERSION='0.0.366'
Binary file
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: radboy
3
- Version: 0.0.364
3
+ Version: 0.0.366
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=XXy-o5Z_yOgrgHNju4iqM3h7xhRBkNIoHG1qePtBnGY,41316
7
7
  radboy/Run.py,sha256=JUoCTHnzQBv7n8PB2_i93ANdAC_iW__RkAge8esCnk4,76
8
- radboy/__init__.py,sha256=plTN3Nlzts4hr8bpiT4Y-PfKUE1k9SSRqPQqt3EMfsM,17
8
+ radboy/__init__.py,sha256=A4wYVRUYjet3_0YaeBxxAm0oP328_K1HpgL5EE29SAs,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/ExerciseTracker.py,sha256=CZ8jdKJiAE_QTAiJTRXi8ZOnS1NUiSvWVSKLHLpYVGk,
83
83
  radboy/DB/PayDay.py,sha256=H2kPGvBCDkMOz7lbxQhYtUt_oAInpxi37Q6MFrah98I,8710
84
84
  radboy/DB/PayModels.py,sha256=hjwWxP7PL33hmfzQl5YTf0HqzaMxXJxFknPdxFJXJc8,3499
85
85
  radboy/DB/PrintLogging.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
86
- radboy/DB/Prompt.py,sha256=8d4hCDErttrX4Lmm8grihlit_e-a9HVGCLbhIdIbOSA,190792
86
+ radboy/DB/Prompt.py,sha256=9QzeX8ouUiWWhAPPAXZlFNrEoXUVxGU_v3KTl0Y4SbE,190806
87
87
  radboy/DB/RandomStringUtil.py,sha256=eZCpR907WStgfbk4Evcghjv9hOkUDXH-iMXIq0-kXq8,24386
88
88
  radboy/DB/ResetTools.py,sha256=RbI-Ua7UlsN0S9qLqtEkTWvzyTZ6R-hHR3CW4NHlUPE,6660
89
89
  radboy/DB/SMLabelImporter.py,sha256=eUoBDxVUUEKGL2g_PwkASM67ZB7FmXtSnn4bCagskhY,4013
@@ -107,7 +107,7 @@ radboy/DB/__pycache__/FormBuilder.cpython-312.pyc,sha256=p1o-5SMRL8OXP_XQ5liUpf-
107
107
  radboy/DB/__pycache__/PrintLogging.cpython-312.pyc,sha256=pIAFqTi6OiQQORSc-oMH1zAbsdH7sY1TifxrN_QOvnU,148
108
108
  radboy/DB/__pycache__/Prompt.cpython-311.pyc,sha256=P2uPRpeqfLFtxieZ0JHBG3X_HZzWUCsFSLb_fpRqky0,6407
109
109
  radboy/DB/__pycache__/Prompt.cpython-312.pyc,sha256=6CcQ1gE2hcz3cKPjo4f6d7xNM2PTDnl8NzQG0Pme5BE,142886
110
- radboy/DB/__pycache__/Prompt.cpython-313.pyc,sha256=LHr9seL6TPcKfFPgYHG8M3iC00LKLSUBtc3i2ptAQH0,276259
110
+ radboy/DB/__pycache__/Prompt.cpython-313.pyc,sha256=DR8Xew7zyyB9FSO6JzM2f5yABNyAYh76JCaxOd9i-tk,276315
111
111
  radboy/DB/__pycache__/RandomStringUtil.cpython-312.pyc,sha256=TrbEY89MuLmNlvoo5d8vOE6Dyshh5_EMlTZvk8MDVN4,48597
112
112
  radboy/DB/__pycache__/RandomStringUtil.cpython-313.pyc,sha256=MCcgVwV2Y-9rAY2FVaJZCKcou3HDX70EZudoiCigT0o,49217
113
113
  radboy/DB/__pycache__/ResetTools.cpython-311.pyc,sha256=4Vyc57iAAF0yRPjjglnVKovnTn8OoFIi6Zok3Wpj_YM,9292
@@ -188,11 +188,11 @@ radboy/ExtractPkg/__pycache__/ExtractPkg2.cpython-313.pyc,sha256=bgw-00G_ouurOtO
188
188
  radboy/ExtractPkg/__pycache__/__init__.cpython-311.pyc,sha256=62yPgrgPZffZFLr6FscOqCdo45vfhScJ8aZbLTbD7I4,235
189
189
  radboy/ExtractPkg/__pycache__/__init__.cpython-312.pyc,sha256=Ll1iKcG0MDtoCIloQ_frcihvCSe1HPtyERzcAoXwQT0,273
190
190
  radboy/ExtractPkg/__pycache__/__init__.cpython-313.pyc,sha256=kL3Y3KxCTaGNg3aq5fhf2fsnQHZolGfvniEUfsx2bwY,152
191
- radboy/FB/FBMTXT.py,sha256=1TY2pWuzP5V1i4tbtaIQE5mjXBS3k34lUn7xPeNOaRk,16968
191
+ radboy/FB/FBMTXT.py,sha256=bkIbP_iNecrxqOIZIa1rk78aMIO4cAxCwP3NQ00YkKI,19288
192
192
  radboy/FB/FormBuilder.py,sha256=CZqbZev17-w67def3_2VABFH22q78_Uxc_G916TNrH8,14036
193
193
  radboy/FB/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
194
194
  radboy/FB/__pycache__/FBMTXT.cpython-312.pyc,sha256=XCVFa7Mo83LGIdRrTvcK73siUpcVIEQfXKCH2QHeViw,9626
195
- radboy/FB/__pycache__/FBMTXT.cpython-313.pyc,sha256=HE5acj3KBzLMWOvOlhha1tI92_vtU0fqq83BIsBLy44,27484
195
+ radboy/FB/__pycache__/FBMTXT.cpython-313.pyc,sha256=Aouk393G4l2ACeUSn3b2tf_jEsxhy2CjeHsd0t8lA-0,30878
196
196
  radboy/FB/__pycache__/FormBuilder.cpython-312.pyc,sha256=lNQdB-zApsXM7OQF9MIi0zRZD1SAL6stKEN-AyQiIKg,18873
197
197
  radboy/FB/__pycache__/FormBuilder.cpython-313.pyc,sha256=JQtq0r_h-1EJ_Q9m-VWN7Cv9nfAokau8EDQI92nrZSI,19408
198
198
  radboy/FB/__pycache__/__init__.cpython-312.pyc,sha256=ULEL8Au_CxcYpNAcSoSbI65M7-av1W6Zuy6kQJUu-Mw,265
@@ -386,7 +386,7 @@ radboy/__pycache__/Run.cpython-311.pyc,sha256=G_UEfMtkLRjR6ZpGA_BJzGenuaCcP469Y9
386
386
  radboy/__pycache__/Run.cpython-312.pyc,sha256=v4xolc3mHyla991XhpYBUbBHYT0bnJ1gE-lkFoQ4GFA,241
387
387
  radboy/__pycache__/__init__.cpython-311.pyc,sha256=R-DVbUioMOW-Fnaq7FpT5F1a5p0q3b_RW-HpLRArCAY,242
388
388
  radboy/__pycache__/__init__.cpython-312.pyc,sha256=FsFzLXOlTK8_7ixoPZzakkR8Wibt-DvXLFh-oG2QlPw,164
389
- radboy/__pycache__/__init__.cpython-313.pyc,sha256=h5gKVRlmNLAVb9GiM9Ciopr-tF01qdLyFDi4qSbRiEY,165
389
+ radboy/__pycache__/__init__.cpython-313.pyc,sha256=ao08nJsorKQ1meexM_-PO06O4VCLSl4QMlYEsKXQ2Rc,165
390
390
  radboy/__pycache__/__init__.cpython-39.pyc,sha256=D48T6x6FUeKPfubo0sdS_ZUut3FmBvPMP7qT6rYBZzU,275
391
391
  radboy/__pycache__/possibleCode.cpython-311.pyc,sha256=zFiHyzqD8gUnIWu4vtyMYIBposiRQqaRXfcT_fOl4rU,20882
392
392
  radboy/__pycache__/possibleCode.cpython-312.pyc,sha256=tk_CO-AcsO3YZj5j6vEsw3g37UmEzWc5YgeWEoJEUg4,27922
@@ -411,7 +411,7 @@ radboy/tkGui/Images/__pycache__/__init__.cpython-311.pyc,sha256=tXBYpqbOlZ24B1BI
411
411
  radboy/tkGui/__pycache__/BeginnersLuck.cpython-311.pyc,sha256=xLQOnV1wuqHGaub16mPX0dDMGU9ryCeLtNz5e517_GE,3004
412
412
  radboy/tkGui/__pycache__/Review.cpython-311.pyc,sha256=wKq24iM6Xe2OampgZ7-8U6Nvmgs2y-qWOrGwtWhc75k,4047
413
413
  radboy/tkGui/__pycache__/__init__.cpython-311.pyc,sha256=BX7DBn5qbvKTvlrKOP5gzTBPBTeTgSMjBW6EMl7N8e0,230
414
- radboy-0.0.364.dist-info/METADATA,sha256=xbgV7ABRdSyHCMIVNcbnANOQ-BnTh_RXhqWEC47wwfg,794
415
- radboy-0.0.364.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
416
- radboy-0.0.364.dist-info/top_level.txt,sha256=mlM0RWMUxGo1YHnlLmYrHOgGdK4XNRpr7nMFD5lR56c,7
417
- radboy-0.0.364.dist-info/RECORD,,
414
+ radboy-0.0.366.dist-info/METADATA,sha256=IiKT_AzBvCbpySyswHt_-_OFvFuIv9KWIWbN18yZPHI,794
415
+ radboy-0.0.366.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
416
+ radboy-0.0.366.dist-info/top_level.txt,sha256=mlM0RWMUxGo1YHnlLmYrHOgGdK4XNRpr7nMFD5lR56c,7
417
+ radboy-0.0.366.dist-info/RECORD,,