radboy 0.0.843__py3-none-any.whl → 0.0.845__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 +16 -16
- radboy/DB/__pycache__/Prompt.cpython-313.pyc +0 -0
- radboy/__init__.py +1 -1
- radboy/__pycache__/__init__.cpython-313.pyc +0 -0
- {radboy-0.0.843.dist-info → radboy-0.0.845.dist-info}/METADATA +1 -1
- {radboy-0.0.843.dist-info → radboy-0.0.845.dist-info}/RECORD +8 -8
- {radboy-0.0.843.dist-info → radboy-0.0.845.dist-info}/WHEEL +0 -0
- {radboy-0.0.843.dist-info → radboy-0.0.845.dist-info}/top_level.txt +0 -0
radboy/DB/Prompt.py
CHANGED
|
@@ -250,13 +250,13 @@ class Obfuscate:
|
|
|
250
250
|
out.write(self.b64d)
|
|
251
251
|
print("Finalized:",self.b64d)
|
|
252
252
|
print("Saved to:",self.FILE)
|
|
253
|
-
return self.returnMsg(self.b64d)
|
|
253
|
+
return self.returnMsg(self.b64d.decode("utf-8"))
|
|
254
254
|
|
|
255
255
|
def readMsgFile(self):
|
|
256
256
|
try:
|
|
257
257
|
data=[]
|
|
258
|
-
|
|
259
|
-
with open(
|
|
258
|
+
FILE=db.detectGetOrSet("OBFUSCATED MSG FILE",value="MSG.txt",setValue=False,literal=True)
|
|
259
|
+
with open(FILE,"r") as fio:
|
|
260
260
|
ttl=0
|
|
261
261
|
for num,line in enumerate(fio.readlines()):
|
|
262
262
|
ttl=num
|
|
@@ -265,34 +265,31 @@ class Obfuscate:
|
|
|
265
265
|
while True:
|
|
266
266
|
|
|
267
267
|
x=fio.readline()
|
|
268
|
-
data.append(x
|
|
268
|
+
data.append(x)
|
|
269
269
|
if not x:
|
|
270
|
-
|
|
270
|
+
break
|
|
271
271
|
try:
|
|
272
|
-
print(std_colorize(x
|
|
272
|
+
print(std_colorize(x,counter,ttl))
|
|
273
273
|
except Exception as ee:
|
|
274
274
|
print(x,ee)
|
|
275
275
|
counter+=1
|
|
276
|
-
|
|
276
|
+
return str(Obfuscate.returnMsg(None,''.join(data)))
|
|
277
277
|
except Exception as e:
|
|
278
278
|
print(e)
|
|
279
279
|
|
|
280
280
|
|
|
281
281
|
def returnMsg(self,data):
|
|
282
282
|
try:
|
|
283
|
-
d=Control(func=FormBuilderMkText,ptext=f
|
|
283
|
+
d=Control(func=FormBuilderMkText,ptext=f'Return "{data}"',helpText="Hit Enter to save. return the data to the terminal for things like text2file",data="boolean")
|
|
284
|
+
print(d)
|
|
284
285
|
if d in ['NaN',None,False]:
|
|
285
286
|
return
|
|
286
287
|
elif d in ['d',]:
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
out.write(data)
|
|
291
|
-
else:
|
|
292
|
-
with open(self.FILE,"w") as out:
|
|
293
|
-
out.write(data)
|
|
288
|
+
FILE=db.detectGetOrSet("OBFUSCATED MSG FILE",value="MSG.txt",setValue=False,literal=True)
|
|
289
|
+
with open(FILE,"w") as out:
|
|
290
|
+
out.write(data)
|
|
294
291
|
else:
|
|
295
|
-
return
|
|
292
|
+
return data
|
|
296
293
|
except Exception as e:
|
|
297
294
|
print(e)
|
|
298
295
|
|
|
@@ -2158,6 +2155,8 @@ class Prompt(object):
|
|
|
2158
2155
|
continue
|
|
2159
2156
|
elif cmd.lower() == 'obf msg':
|
|
2160
2157
|
Obfuscate()
|
|
2158
|
+
elif cmd.lower() == 'obf msg rf':
|
|
2159
|
+
return func(Obfuscate.readMsgFile(Obfuscate),data)
|
|
2161
2160
|
elif cmd.lower() in generate_cmds(startcmd=['dt','datetime',],endCmd=['of entry','oe']):
|
|
2162
2161
|
dtoe=Control(func=FormBuilderMkText,ptext="Date String",helpText="a datestring",data="datetime")
|
|
2163
2162
|
if dtoe in [None,"NaN"]:
|
|
@@ -2509,6 +2508,7 @@ class Prompt(object):
|
|
|
2509
2508
|
{Fore.grey_70}**{Fore.light_green}comm{Fore.light_steel_blue} - send an email message with gmail{Style.reset}
|
|
2510
2509
|
|
|
2511
2510
|
{Fore.grey_70}**{Fore.light_steel_blue}obf msg {Fore.spring_green_3a}encrypted msgs via {db.detectGetOrSet("OBFUSCATED MSG FILE",value="MSG.txt",setValue=False,literal=True)} and Prompt Input{Style.reset}
|
|
2511
|
+
{Fore.grey_70}**{Fore.light_steel_blue}read {Fore.spring_green_3a}{db.detectGetOrSet("OBFUSCATED MSG FILE",value="MSG.txt",setValue=False,literal=True)} and return the string{Style.reset}
|
|
2512
2512
|
{Fore.grey_70}**{Fore.light_green}{PRICE}{Fore.light_steel_blue} Calculate price information using user provided data for an arbitrary product who Data is not in the Entry table{Style.reset}
|
|
2513
2513
|
{Fore.grey_70}**{Fore.light_green}{FMLA}{Fore.light_steel_blue} use some pre-built formulas for returning values to the prompt{Style.reset}
|
|
2514
2514
|
{Fore.grey_70}** {Fore.light_steel_blue}{generate_cmds(startcmd=['simple','smpl'],endCmd=['scanner','scanr','scnnr','scnr'])} {Fore.light_green}a scanner recorder that only records the text,times scanned,and dtoe, and when when time permits, comment.{Style.reset}
|
|
Binary file
|
radboy/__init__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
VERSION='0.0.
|
|
1
|
+
VERSION='0.0.845'
|
|
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=h30zoTqt-XLt_afDPlxMxBiKKwmKi3N-yAuldNCqXUo,41476
|
|
7
7
|
radboy/Run.py,sha256=JUoCTHnzQBv7n8PB2_i93ANdAC_iW__RkAge8esCnk4,76
|
|
8
|
-
radboy/__init__.py,sha256=
|
|
8
|
+
radboy/__init__.py,sha256=SnfHyAMNX7Wcd9jgQ2VjbJ64tgRElqju1NJlaU196v8,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
|
|
@@ -89,7 +89,7 @@ radboy/DB/OrderedAndRxd.py,sha256=v_vrTOiTDhKqT5KErK6MOG_u4Nt7ug2MoLTHvAnm88M,19
|
|
|
89
89
|
radboy/DB/PayDay.py,sha256=H2kPGvBCDkMOz7lbxQhYtUt_oAInpxi37Q6MFrah98I,8710
|
|
90
90
|
radboy/DB/PayModels.py,sha256=hjwWxP7PL33hmfzQl5YTf0HqzaMxXJxFknPdxFJXJc8,3499
|
|
91
91
|
radboy/DB/PrintLogging.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
92
|
-
radboy/DB/Prompt.py,sha256=
|
|
92
|
+
radboy/DB/Prompt.py,sha256=smMiuteN-Ne7EbrID5t6Iqy302JOcCzvSCft0hw9WGc,197524
|
|
93
93
|
radboy/DB/RandomStringUtil.py,sha256=eZCpR907WStgfbk4Evcghjv9hOkUDXH-iMXIq0-kXq8,24386
|
|
94
94
|
radboy/DB/ResetTools.py,sha256=RbI-Ua7UlsN0S9qLqtEkTWvzyTZ6R-hHR3CW4NHlUPE,6660
|
|
95
95
|
radboy/DB/SMLabelImporter.py,sha256=eUoBDxVUUEKGL2g_PwkASM67ZB7FmXtSnn4bCagskhY,4013
|
|
@@ -120,7 +120,7 @@ radboy/DB/__pycache__/FormBuilder.cpython-312.pyc,sha256=p1o-5SMRL8OXP_XQ5liUpf-
|
|
|
120
120
|
radboy/DB/__pycache__/PrintLogging.cpython-312.pyc,sha256=pIAFqTi6OiQQORSc-oMH1zAbsdH7sY1TifxrN_QOvnU,148
|
|
121
121
|
radboy/DB/__pycache__/Prompt.cpython-311.pyc,sha256=P2uPRpeqfLFtxieZ0JHBG3X_HZzWUCsFSLb_fpRqky0,6407
|
|
122
122
|
radboy/DB/__pycache__/Prompt.cpython-312.pyc,sha256=6CcQ1gE2hcz3cKPjo4f6d7xNM2PTDnl8NzQG0Pme5BE,142886
|
|
123
|
-
radboy/DB/__pycache__/Prompt.cpython-313.pyc,sha256=
|
|
123
|
+
radboy/DB/__pycache__/Prompt.cpython-313.pyc,sha256=m_S4VGK4fiUGnFZVbPMCMrv4qeOi5dTaQ_NS8-6iW2s,280526
|
|
124
124
|
radboy/DB/__pycache__/RandomStringUtil.cpython-312.pyc,sha256=TrbEY89MuLmNlvoo5d8vOE6Dyshh5_EMlTZvk8MDVN4,48597
|
|
125
125
|
radboy/DB/__pycache__/RandomStringUtil.cpython-313.pyc,sha256=MCcgVwV2Y-9rAY2FVaJZCKcou3HDX70EZudoiCigT0o,49217
|
|
126
126
|
radboy/DB/__pycache__/ResetTools.cpython-311.pyc,sha256=4Vyc57iAAF0yRPjjglnVKovnTn8OoFIi6Zok3Wpj_YM,9292
|
|
@@ -414,7 +414,7 @@ radboy/__pycache__/Run.cpython-311.pyc,sha256=G_UEfMtkLRjR6ZpGA_BJzGenuaCcP469Y9
|
|
|
414
414
|
radboy/__pycache__/Run.cpython-312.pyc,sha256=v4xolc3mHyla991XhpYBUbBHYT0bnJ1gE-lkFoQ4GFA,241
|
|
415
415
|
radboy/__pycache__/__init__.cpython-311.pyc,sha256=R-DVbUioMOW-Fnaq7FpT5F1a5p0q3b_RW-HpLRArCAY,242
|
|
416
416
|
radboy/__pycache__/__init__.cpython-312.pyc,sha256=FsFzLXOlTK8_7ixoPZzakkR8Wibt-DvXLFh-oG2QlPw,164
|
|
417
|
-
radboy/__pycache__/__init__.cpython-313.pyc,sha256=
|
|
417
|
+
radboy/__pycache__/__init__.cpython-313.pyc,sha256=W2P5GuLOD4CB5AmoMSRlEYMCg-Gl0fU7vjRmgQG7dGg,165
|
|
418
418
|
radboy/__pycache__/__init__.cpython-39.pyc,sha256=D48T6x6FUeKPfubo0sdS_ZUut3FmBvPMP7qT6rYBZzU,275
|
|
419
419
|
radboy/__pycache__/possibleCode.cpython-311.pyc,sha256=zFiHyzqD8gUnIWu4vtyMYIBposiRQqaRXfcT_fOl4rU,20882
|
|
420
420
|
radboy/__pycache__/possibleCode.cpython-312.pyc,sha256=tk_CO-AcsO3YZj5j6vEsw3g37UmEzWc5YgeWEoJEUg4,27922
|
|
@@ -442,7 +442,7 @@ radboy/tkGui/Images/__pycache__/__init__.cpython-311.pyc,sha256=tXBYpqbOlZ24B1BI
|
|
|
442
442
|
radboy/tkGui/__pycache__/BeginnersLuck.cpython-311.pyc,sha256=xLQOnV1wuqHGaub16mPX0dDMGU9ryCeLtNz5e517_GE,3004
|
|
443
443
|
radboy/tkGui/__pycache__/Review.cpython-311.pyc,sha256=wKq24iM6Xe2OampgZ7-8U6Nvmgs2y-qWOrGwtWhc75k,4047
|
|
444
444
|
radboy/tkGui/__pycache__/__init__.cpython-311.pyc,sha256=BX7DBn5qbvKTvlrKOP5gzTBPBTeTgSMjBW6EMl7N8e0,230
|
|
445
|
-
radboy-0.0.
|
|
446
|
-
radboy-0.0.
|
|
447
|
-
radboy-0.0.
|
|
448
|
-
radboy-0.0.
|
|
445
|
+
radboy-0.0.845.dist-info/METADATA,sha256=7DU0YBkPMkVwNh7PFTSaok9b6dIfIKg-WYylnMd6IqM,1920
|
|
446
|
+
radboy-0.0.845.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
447
|
+
radboy-0.0.845.dist-info/top_level.txt,sha256=mlM0RWMUxGo1YHnlLmYrHOgGdK4XNRpr7nMFD5lR56c,7
|
|
448
|
+
radboy-0.0.845.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|