radboy 0.0.590__py3-none-any.whl → 0.0.592__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 -0
- radboy/DB/__pycache__/Prompt.cpython-313.pyc +0 -0
- radboy/DB/__pycache__/db.cpython-313.pyc +0 -0
- radboy/DB/db.py +38 -0
- radboy/DB/types.py +2 -0
- radboy/__init__.py +1 -1
- radboy/__pycache__/__init__.cpython-313.pyc +0 -0
- {radboy-0.0.590.dist-info → radboy-0.0.592.dist-info}/METADATA +1 -1
- {radboy-0.0.590.dist-info → radboy-0.0.592.dist-info}/RECORD +11 -11
- {radboy-0.0.590.dist-info → radboy-0.0.592.dist-info}/WHEEL +0 -0
- {radboy-0.0.590.dist-info → radboy-0.0.592.dist-info}/top_level.txt +0 -0
radboy/DB/Prompt.py
CHANGED
|
@@ -142,6 +142,11 @@ def generate_cmds(startcmd,endCmd):
|
|
|
142
142
|
cmds.append(''.join(i))
|
|
143
143
|
if ' '.join(i) not in cmds:
|
|
144
144
|
cmds.append(' '.join(i))
|
|
145
|
+
tmp=[]
|
|
146
|
+
for i in cmds:
|
|
147
|
+
if i not in tmp:
|
|
148
|
+
tmp.append(i)
|
|
149
|
+
cmds=tmp
|
|
145
150
|
return cmds
|
|
146
151
|
|
|
147
152
|
|
|
@@ -2342,6 +2347,16 @@ CMD's are not final until ended with {Fore.magenta}{hw_delim}{Style.reset}""")
|
|
|
2342
2347
|
elif cmd.lower() in ['b','back']:
|
|
2343
2348
|
lastTime=db.detectGetOrSet("PromptLastDTasFloat",datetime.now().timestamp(),setValue=True)
|
|
2344
2349
|
return
|
|
2350
|
+
elif cmd.lower() in generate_cmds(startcmd=['fake',],endCmd=['phone','ph#','ph. no.','phone number']):
|
|
2351
|
+
phn=db.PhakePhone().phonenumber
|
|
2352
|
+
print(phn)
|
|
2353
|
+
returnable=Control(func=FormBuilderMkText,ptext="Return this number as input?",helpText="yes or no",data="boolean")
|
|
2354
|
+
if returnable is None:
|
|
2355
|
+
continue
|
|
2356
|
+
elif returnable in ['d',False]:
|
|
2357
|
+
continue
|
|
2358
|
+
else:
|
|
2359
|
+
return func(phn,data)
|
|
2345
2360
|
elif cmd.lower() in ['h','help']:
|
|
2346
2361
|
llo_modes=["dlu.cr","Prompt.lsbld","esu","t.[mksl||qsl||set Shelf||set Display]"]
|
|
2347
2362
|
extra=f'''{Fore.orange_red_1}Dimension Fields {Fore.light_steel_blue}are fields that tell how much space the product is going to take up using the the product itself as the unit of measure
|
|
@@ -2421,6 +2436,7 @@ CMD's are not final until ended with {Fore.magenta}{hw_delim}{Style.reset}""")
|
|
|
2421
2436
|
{Fore.grey_70}** {Fore.light_steel_blue}['jtu-','just total -','just-total -','just_total -','just total minus','just-total minus','just_total minus']{Fore.light_green} just display the total, accounting for negative quantities{Style.reset}
|
|
2422
2437
|
{Fore.grey_70}** {Fore.light_steel_blue}['set prec','sprec']{Fore.light_green}set the decimal global precision, does not apply to verything, except for lsbld where it does apply{Style.reset}
|
|
2423
2438
|
{Fore.grey_70}** {Fore.light_steel_blue}'si-reference','si-ref','si ref','si reference'{Fore.light_green}print si reference chart and continue prompt{Style.reset}
|
|
2439
|
+
{Fore.grey_70}** {Fore.light_steel_blue}{','.join(generate_cmds(startcmd=['fake',],endCmd=['phone','ph#','ph. no.','phone number']))}{Fore.light_green}fake phone number{Style.reset}
|
|
2424
2440
|
'''
|
|
2425
2441
|
print(extra)
|
|
2426
2442
|
print(helpText)
|
|
Binary file
|
|
Binary file
|
radboy/DB/db.py
CHANGED
|
@@ -5643,3 +5643,41 @@ except Exception as e:
|
|
|
5643
5643
|
Occurances.__table__.drop(ENGINE)
|
|
5644
5644
|
Occurances.metadata.create_all(ENGINE)
|
|
5645
5645
|
|
|
5646
|
+
class PhakePhone(stre):
|
|
5647
|
+
def __new__(self,*args,**kwargs):
|
|
5648
|
+
self.phonenumber=self.randomPhonenumber()
|
|
5649
|
+
return self
|
|
5650
|
+
|
|
5651
|
+
def randomPhonenumber():
|
|
5652
|
+
extensions=[' x',' Ext. ',',',' ext ']
|
|
5653
|
+
ext=''
|
|
5654
|
+
try:
|
|
5655
|
+
ext=''.join([stre(string.digits)[random.randint(0,len(string.digits))] for z in range(random.randint(0,5))])
|
|
5656
|
+
f=extensions[random.randint(0,len(extensions))]
|
|
5657
|
+
if len(ext) > 0:
|
|
5658
|
+
ext=f"{f}{ext}"
|
|
5659
|
+
else:
|
|
5660
|
+
ext=''
|
|
5661
|
+
except Exception as e:
|
|
5662
|
+
ext=''
|
|
5663
|
+
|
|
5664
|
+
try:
|
|
5665
|
+
p1=''.join([stre(string.digits)[random.randint(0,len(string.digits))] for z in range(1)])
|
|
5666
|
+
if len(p1) > 0:
|
|
5667
|
+
p1=f"+{p1} "
|
|
5668
|
+
else:
|
|
5669
|
+
p1=''
|
|
5670
|
+
except Exception as e:
|
|
5671
|
+
p1=''
|
|
5672
|
+
|
|
5673
|
+
if len(p1) > 0:
|
|
5674
|
+
p2=''.join([stre(string.digits)[random.randint(0,len(string.digits)-1)] for z in range(3)])
|
|
5675
|
+
p2=f"({p2}) "
|
|
5676
|
+
else:
|
|
5677
|
+
p2=''.join([stre(string.digits)[random.randint(0,len(string.digits)-1)] for z in range(3)])
|
|
5678
|
+
p2=f"{p2}-"
|
|
5679
|
+
p3=''.join([stre(string.digits)[random.randint(0,len(string.digits)-1)] for z in range(3)])
|
|
5680
|
+
p4=''.join([stre(string.digits)[random.randint(0,len(string.digits)-1)] for z in range(4)])
|
|
5681
|
+
|
|
5682
|
+
phonenumber=f"""{p1}{p2}{p3}-{p4}{ext}"""
|
|
5683
|
+
return phonenumber
|
radboy/DB/types.py
CHANGED
radboy/__init__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
VERSION='0.0.
|
|
1
|
+
VERSION='0.0.592'
|
|
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=Lt2reA6xchq3U7Y08DvkrHboZ25i1ts7X2E9gSIwcVg,41101
|
|
7
7
|
radboy/Run.py,sha256=JUoCTHnzQBv7n8PB2_i93ANdAC_iW__RkAge8esCnk4,76
|
|
8
|
-
radboy/__init__.py,sha256=
|
|
8
|
+
radboy/__init__.py,sha256=5EZY00Dp6PIRwC15XIFOdpAMIs67mfFTij4u-PFh3xE,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
|
|
@@ -86,20 +86,20 @@ radboy/DB/ExerciseTracker.py,sha256=OS9i8jGIZPj-6m1bB0-eKNHQ6vf2iv_AYPEc0s4bkBM,
|
|
|
86
86
|
radboy/DB/PayDay.py,sha256=H2kPGvBCDkMOz7lbxQhYtUt_oAInpxi37Q6MFrah98I,8710
|
|
87
87
|
radboy/DB/PayModels.py,sha256=hjwWxP7PL33hmfzQl5YTf0HqzaMxXJxFknPdxFJXJc8,3499
|
|
88
88
|
radboy/DB/PrintLogging.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
89
|
-
radboy/DB/Prompt.py,sha256=
|
|
89
|
+
radboy/DB/Prompt.py,sha256=ftpbUYm30tgldLxnTctWrnOTfHeCRcv-doKvzjTG9Ig,172822
|
|
90
90
|
radboy/DB/RandomStringUtil.py,sha256=eZCpR907WStgfbk4Evcghjv9hOkUDXH-iMXIq0-kXq8,24386
|
|
91
91
|
radboy/DB/ResetTools.py,sha256=RbI-Ua7UlsN0S9qLqtEkTWvzyTZ6R-hHR3CW4NHlUPE,6660
|
|
92
92
|
radboy/DB/SMLabelImporter.py,sha256=eUoBDxVUUEKGL2g_PwkASM67ZB7FmXtSnn4bCagskhY,4013
|
|
93
93
|
radboy/DB/__init__.py,sha256=JiigA9B7GalP7YuRdcwyGDu5PDSBahoi0lLjtScxlN8,49
|
|
94
94
|
radboy/DB/blankDataFile.py,sha256=YX_05Usi71UpDkZN9UTMYwUipbTndTAtEgqzBEga0kE,9285
|
|
95
95
|
radboy/DB/config.py,sha256=bvu43dUl1_yO3Zq3gsLuenGUgJSiS3S9Cs6ppFEvZbg,239
|
|
96
|
-
radboy/DB/db.py,sha256=
|
|
96
|
+
radboy/DB/db.py,sha256=YBmdo2dcovos6POsw3nNHRtt1t_y_3PwrV9Nh_j1Xy8,254771
|
|
97
97
|
radboy/DB/glossary_db.py,sha256=1_qxeEpjjEtpWB_eDjsgJisimLv7OBm75MuqM-Lt6zg,28218
|
|
98
98
|
radboy/DB/masterLookup.py,sha256=DBaM2uscG3_X5dek49wjdnOzhrjWhKgvOEz_umdz0mY,4566
|
|
99
99
|
radboy/DB/msg.txt,sha256=YxWed6A6tuP1djJ5QPS2Rz3ING4TKKf8kUiCCPtzHXE,7937
|
|
100
100
|
radboy/DB/renderText2Png.py,sha256=PWnTicLTfOPg9UlQYia3wMpjM9rh7MIyDVsmcsDRUBo,5678
|
|
101
101
|
radboy/DB/testClass.py,sha256=t3zT1gbvReUncnPY8R9JUfKXQ5UEB2wmQx8DNeds0hI,310
|
|
102
|
-
radboy/DB/types.py,sha256=
|
|
102
|
+
radboy/DB/types.py,sha256=BjlUUgbvlB7QoZMzsET0Myj8_z4OGUlW5--Rl-lCszs,3258
|
|
103
103
|
radboy/DB/__pycache__/DatePicker.cpython-311.pyc,sha256=VMJnJ7scb4VHMQi1HDZCF67KVYfb9m-fZK96IAoJzTQ,19676
|
|
104
104
|
radboy/DB/__pycache__/DatePicker.cpython-312.pyc,sha256=cc5XWJ6Sbtcg0xWPz3SOP93VceIqr1pH42kjkLl5iYs,30294
|
|
105
105
|
radboy/DB/__pycache__/DatePicker.cpython-313.pyc,sha256=jV__j5ER1oshsenGPynR0UNHWMI7VStgyw73-iLKxzg,33993
|
|
@@ -111,7 +111,7 @@ radboy/DB/__pycache__/FormBuilder.cpython-312.pyc,sha256=p1o-5SMRL8OXP_XQ5liUpf-
|
|
|
111
111
|
radboy/DB/__pycache__/PrintLogging.cpython-312.pyc,sha256=pIAFqTi6OiQQORSc-oMH1zAbsdH7sY1TifxrN_QOvnU,148
|
|
112
112
|
radboy/DB/__pycache__/Prompt.cpython-311.pyc,sha256=P2uPRpeqfLFtxieZ0JHBG3X_HZzWUCsFSLb_fpRqky0,6407
|
|
113
113
|
radboy/DB/__pycache__/Prompt.cpython-312.pyc,sha256=6CcQ1gE2hcz3cKPjo4f6d7xNM2PTDnl8NzQG0Pme5BE,142886
|
|
114
|
-
radboy/DB/__pycache__/Prompt.cpython-313.pyc,sha256=
|
|
114
|
+
radboy/DB/__pycache__/Prompt.cpython-313.pyc,sha256=G3xvdgcx85AVeS1geobyxJyAf-V41MGPkAprG4woQdY,257478
|
|
115
115
|
radboy/DB/__pycache__/RandomStringUtil.cpython-312.pyc,sha256=TrbEY89MuLmNlvoo5d8vOE6Dyshh5_EMlTZvk8MDVN4,48597
|
|
116
116
|
radboy/DB/__pycache__/RandomStringUtil.cpython-313.pyc,sha256=MCcgVwV2Y-9rAY2FVaJZCKcou3HDX70EZudoiCigT0o,49217
|
|
117
117
|
radboy/DB/__pycache__/ResetTools.cpython-311.pyc,sha256=4Vyc57iAAF0yRPjjglnVKovnTn8OoFIi6Zok3Wpj_YM,9292
|
|
@@ -129,7 +129,7 @@ radboy/DB/__pycache__/config.cpython-312.pyc,sha256=Qo7E6MHrF6yqvKgepNFyCoekZXiv
|
|
|
129
129
|
radboy/DB/__pycache__/config.cpython-313.pyc,sha256=_8wCIg_3jhyJjxnExD2Sm6aY-uZTw036p7Ki5znL7dc,376
|
|
130
130
|
radboy/DB/__pycache__/db.cpython-311.pyc,sha256=rNgigyBd0D-cg1JxKAS8t0B_k0IEJivgVlRaZE10Xis,210105
|
|
131
131
|
radboy/DB/__pycache__/db.cpython-312.pyc,sha256=ANDJPC0RoavbmSKFxG15vC7B4rEGyVt7xRJt7XGY3OA,334609
|
|
132
|
-
radboy/DB/__pycache__/db.cpython-313.pyc,sha256=
|
|
132
|
+
radboy/DB/__pycache__/db.cpython-313.pyc,sha256=7lRTDErah6dcVNn8sfdxY9ZNV66d4spF-k7m9ppSc_o,401608
|
|
133
133
|
radboy/DB/__pycache__/glossary_db.cpython-312.pyc,sha256=8UL-29cKqtKovx0BANm6kzKKteef1BW_2qF3wumzst4,36023
|
|
134
134
|
radboy/DB/__pycache__/glossary_db.cpython-313.pyc,sha256=Ke9bkvllGv5CK0JdT9DRvQ3MOdrXxoYv7TVLNkqLux0,36582
|
|
135
135
|
radboy/DB/__pycache__/masterLookup.cpython-312.pyc,sha256=bQiOkmMwwHgcO18tYSWGQ-YUff4GQlKVhBMp1GoWAqY,6324
|
|
@@ -400,7 +400,7 @@ radboy/__pycache__/Run.cpython-311.pyc,sha256=G_UEfMtkLRjR6ZpGA_BJzGenuaCcP469Y9
|
|
|
400
400
|
radboy/__pycache__/Run.cpython-312.pyc,sha256=v4xolc3mHyla991XhpYBUbBHYT0bnJ1gE-lkFoQ4GFA,241
|
|
401
401
|
radboy/__pycache__/__init__.cpython-311.pyc,sha256=R-DVbUioMOW-Fnaq7FpT5F1a5p0q3b_RW-HpLRArCAY,242
|
|
402
402
|
radboy/__pycache__/__init__.cpython-312.pyc,sha256=FsFzLXOlTK8_7ixoPZzakkR8Wibt-DvXLFh-oG2QlPw,164
|
|
403
|
-
radboy/__pycache__/__init__.cpython-313.pyc,sha256=
|
|
403
|
+
radboy/__pycache__/__init__.cpython-313.pyc,sha256=zes3c8PxA-tRfvbR4pfal6FCAjSG38PDclHXm4Z2KUs,165
|
|
404
404
|
radboy/__pycache__/__init__.cpython-39.pyc,sha256=D48T6x6FUeKPfubo0sdS_ZUut3FmBvPMP7qT6rYBZzU,275
|
|
405
405
|
radboy/__pycache__/possibleCode.cpython-311.pyc,sha256=zFiHyzqD8gUnIWu4vtyMYIBposiRQqaRXfcT_fOl4rU,20882
|
|
406
406
|
radboy/__pycache__/possibleCode.cpython-312.pyc,sha256=tk_CO-AcsO3YZj5j6vEsw3g37UmEzWc5YgeWEoJEUg4,27922
|
|
@@ -428,7 +428,7 @@ radboy/tkGui/Images/__pycache__/__init__.cpython-311.pyc,sha256=tXBYpqbOlZ24B1BI
|
|
|
428
428
|
radboy/tkGui/__pycache__/BeginnersLuck.cpython-311.pyc,sha256=xLQOnV1wuqHGaub16mPX0dDMGU9ryCeLtNz5e517_GE,3004
|
|
429
429
|
radboy/tkGui/__pycache__/Review.cpython-311.pyc,sha256=wKq24iM6Xe2OampgZ7-8U6Nvmgs2y-qWOrGwtWhc75k,4047
|
|
430
430
|
radboy/tkGui/__pycache__/__init__.cpython-311.pyc,sha256=BX7DBn5qbvKTvlrKOP5gzTBPBTeTgSMjBW6EMl7N8e0,230
|
|
431
|
-
radboy-0.0.
|
|
432
|
-
radboy-0.0.
|
|
433
|
-
radboy-0.0.
|
|
434
|
-
radboy-0.0.
|
|
431
|
+
radboy-0.0.592.dist-info/METADATA,sha256=ACeyqLW7fHyhMCElO0QWDEaspNZfrKmJv70BZA6wqDw,1662
|
|
432
|
+
radboy-0.0.592.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
433
|
+
radboy-0.0.592.dist-info/top_level.txt,sha256=mlM0RWMUxGo1YHnlLmYrHOgGdK4XNRpr7nMFD5lR56c,7
|
|
434
|
+
radboy-0.0.592.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|