radboy 0.0.365__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/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}
@@ -202,7 +206,33 @@ def FormBuilderMkText(text,data,passThru=[],PassThru=True,alternative_false=None
202
206
  elif text.lower() in ['next year',]:
203
207
  TODAY_IS=datetime.now()
204
208
  return datetime(year=TODAY_IS.year,month=TODAY_IS.month,day=TODAY_IS.day)+timedelta(seconds=60*60*24*365)
205
-
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
+
206
236
  elif text.lower() in ['end week',]:
207
237
  return TODAY_IS+timedelta(days=TODAY_IS.weekday())
208
238
  elif text.lower() in ['end month',]:
radboy/__init__.py CHANGED
@@ -1 +1 @@
1
- VERSION='0.0.365'
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.365
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=Y4UlDNJ-6SXfK8Vk1XrmfD15_RSCwAXy4ots0bf496o,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
@@ -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=PIpmTqptOl8eQXv4Q0IxIY3cENj7uqQyqyYMWCt9kqk,17248
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=WdbCT69gSjwGp14qyUZL1Be3UQBIq3qt5ddu6ShhCoE,28232
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=S_XTLHHUfIa9dMxsmoPyKlZ7YnIXJu9nj5sp5m3VjWo,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.365.dist-info/METADATA,sha256=7BO0AOWfYG5XNg24jfIBxX_ICySsMGLZJTinPIOwizg,794
415
- radboy-0.0.365.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
416
- radboy-0.0.365.dist-info/top_level.txt,sha256=mlM0RWMUxGo1YHnlLmYrHOgGdK4XNRpr7nMFD5lR56c,7
417
- radboy-0.0.365.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,,