radboy 0.0.365__py3-none-any.whl → 0.0.367__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 +31 -1
- radboy/FB/__pycache__/FBMTXT.cpython-313.pyc +0 -0
- radboy/__init__.py +1 -1
- radboy/__pycache__/__init__.cpython-313.pyc +0 -0
- {radboy-0.0.365.dist-info → radboy-0.0.367.dist-info}/METADATA +1 -1
- {radboy-0.0.365.dist-info → radboy-0.0.367.dist-info}/RECORD +8 -8
- {radboy-0.0.365.dist-info → radboy-0.0.367.dist-info}/WHEEL +0 -0
- {radboy-0.0.365.dist-info → radboy-0.0.367.dist-info}/top_level.txt +0 -0
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]
|
|
223
|
+
lastMonth=datetime(year=TODAY_IS.year,month=TODAY_IS.month,day=days)+timedelta(days=1)
|
|
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',]:
|
|
Binary file
|
radboy/__init__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
VERSION='0.0.
|
|
1
|
+
VERSION='0.0.367'
|
|
Binary file
|
|
@@ -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=
|
|
8
|
+
radboy/__init__.py,sha256=Xx3AZfsG7rWsRlYHdLCiKioEiHPf8R_GKGVmh1tjfvM,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=
|
|
191
|
+
radboy/FB/FBMTXT.py,sha256=5qfqBQkT_6PyxrW8og5_S9V3FJm2vlSMMvbfx2BUMeI,19283
|
|
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=
|
|
195
|
+
radboy/FB/__pycache__/FBMTXT.cpython-313.pyc,sha256=8T151SE7c5gd3h2gyftDRQj7gVT0fluau0XKanuAEEQ,30867
|
|
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=
|
|
389
|
+
radboy/__pycache__/__init__.cpython-313.pyc,sha256=FZEaqbF-gzFBv85SjSvEZmkEm8VgH1uemjo5p4z353U,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.
|
|
415
|
-
radboy-0.0.
|
|
416
|
-
radboy-0.0.
|
|
417
|
-
radboy-0.0.
|
|
414
|
+
radboy-0.0.367.dist-info/METADATA,sha256=ZXjQLCbdtKycnMf8o6QkScmvqOx2dey1gi0_ZT98utE,794
|
|
415
|
+
radboy-0.0.367.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
416
|
+
radboy-0.0.367.dist-info/top_level.txt,sha256=mlM0RWMUxGo1YHnlLmYrHOgGdK4XNRpr7nMFD5lR56c,7
|
|
417
|
+
radboy-0.0.367.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|