radboy 0.0.656__py3-none-any.whl → 0.0.658__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/BNC/BnC.py +11 -7
- radboy/BNC/__pycache__/BnC.cpython-313.pyc +0 -0
- radboy/DB/LetterWriter.py +6 -3
- radboy/DB/Prompt.py +1 -1
- radboy/DB/__pycache__/Prompt.cpython-313.pyc +0 -0
- radboy/DB/rad_types.py +5 -0
- radboy/__init__.py +1 -1
- radboy/__pycache__/__init__.cpython-313.pyc +0 -0
- {radboy-0.0.656.dist-info → radboy-0.0.658.dist-info}/METADATA +1 -1
- {radboy-0.0.656.dist-info → radboy-0.0.658.dist-info}/RECORD +12 -12
- {radboy-0.0.656.dist-info → radboy-0.0.658.dist-info}/WHEEL +0 -0
- {radboy-0.0.656.dist-info → radboy-0.0.658.dist-info}/top_level.txt +0 -0
radboy/BNC/BnC.py
CHANGED
|
@@ -451,13 +451,17 @@ class BnCUi:
|
|
|
451
451
|
if ct < 1:
|
|
452
452
|
print(f"{Fore.light_red}Nothing in the Bank!{Style.reset}")
|
|
453
453
|
else:
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
454
|
+
while True:
|
|
455
|
+
for num,r in enumerate(results):
|
|
456
|
+
msg=std_colorize(r,num,ct)
|
|
457
|
+
print(msg)
|
|
458
|
+
which=Prompt.__init2__(self,func=self.mkint,ptext=f"{self.cashpoolTotal()}Which CashPool Item?",helpText=f"type a number between [0-{ct-1}]",data={'default':0})
|
|
459
|
+
if which in [None,]:
|
|
460
|
+
return
|
|
461
|
+
if index_inList(which,results):
|
|
462
|
+
break
|
|
463
|
+
else:
|
|
464
|
+
print(f"{Fore.orange_red_1}Not a valid index! RETRY!!!{Style.reset}")
|
|
461
465
|
selected=results[which]
|
|
462
466
|
print(selected)
|
|
463
467
|
if delete:
|
|
Binary file
|
radboy/DB/LetterWriter.py
CHANGED
|
@@ -51,8 +51,11 @@ def WriteLetter():
|
|
|
51
51
|
else:
|
|
52
52
|
color_1=Fore.medium_purple_3a
|
|
53
53
|
color_2=Fore.cyan
|
|
54
|
-
|
|
55
|
-
|
|
54
|
+
try:
|
|
55
|
+
dms=f"""{color_1}{i}:{color_2}\n\t{eval(f"f\"{fd[i]}\"")}\n"""
|
|
56
|
+
except Exception as e:
|
|
57
|
+
print(e)
|
|
58
|
+
dms=f"""{color_1}{i}:{color_2}\n\t{fd[i]}\n"""
|
|
56
59
|
msg=std_colorize(dms,num,ct)
|
|
57
60
|
mtext.append(msg)
|
|
58
61
|
if page:
|
|
@@ -71,7 +74,7 @@ def WriteLetter():
|
|
|
71
74
|
|
|
72
75
|
print(msg)
|
|
73
76
|
mtext='\n'.join(mtext)
|
|
74
|
-
returnIt=Control(func=lambda text,data:FormBuilderMkText(text,data,passThru=['plain','pln'],PassThru=True),ptext=f"
|
|
77
|
+
returnIt=Control(func=lambda text,data:FormBuilderMkText(text,data,passThru=['plain','pln'],PassThru=True),ptext=f"Return the letter text? [y/n/plain/pln]: ",helpText="return the letter as text, pln/plain has not colors",data="boolean")
|
|
75
78
|
if returnIt in [None,'NAN']:
|
|
76
79
|
return None
|
|
77
80
|
elif returnIt in [True,]:
|
radboy/DB/Prompt.py
CHANGED
|
@@ -2452,7 +2452,7 @@ CMD's are not final until ended with {Fore.magenta}{hw_delim}{Style.reset}""")
|
|
|
2452
2452
|
{Fore.grey_70}** {Fore.light_steel_blue}{generate_cmds(startcmd=['util','checksum','cksm'],endCmd=['sha512 ','sha512'])} {Fore.light_green}generate a checksum for TEXT from user{Style.reset}
|
|
2453
2453
|
{Fore.grey_70}** {Fore.light_steel_blue}{generate_cmds(startcmd=['util','diff','eq'],endCmd=['text ','txt'])} {Fore.light_green}compare 2 strings/text and return True or False{Style.reset}
|
|
2454
2454
|
{Fore.grey_70}** {Fore.light_steel_blue}{generate_cmds(startcmd=['util','diff','rules'],endCmd=['encounter-verify','ev'])} {Fore.light_green}confirm an encounter rules{Style.reset}
|
|
2455
|
-
{Fore.grey_70}** {Fore.light_steel_blue}['letter','message']{Fore.light_green} Generate a displayable letter from a default format, allowing to return the text as colored, or plain output; if a return is not desired, continue to the last prompt.{Style.reset}
|
|
2455
|
+
{Fore.grey_70}** {Fore.light_steel_blue}['letter','message']{Fore.light_green} Generate a displayable letter from a default format, allowing to return the text as colored, or plain output; if a return is not desired, continue to the last prompt. using curly-braces you may attempt to write small python code to be evaluated and used as text in the message/letter. This includes colors from Fore,Back, and Style.{Style.reset}
|
|
2456
2456
|
'''
|
|
2457
2457
|
print(extra)
|
|
2458
2458
|
print(helpText)
|
|
Binary file
|
radboy/DB/rad_types.py
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
from decimal import Decimal as TDecimal,getcontext
|
|
2
2
|
import string,random,re
|
|
3
3
|
from colored import Fore,Back,Style
|
|
4
|
+
|
|
5
|
+
def index_inList(x,b):
|
|
6
|
+
return (x <= -1 and x in list(range(-1,-(len(b)+1),-1))) or (x >= 0 and\
|
|
7
|
+
x in range((len(b))))
|
|
8
|
+
|
|
4
9
|
class decc(TDecimal):
|
|
5
10
|
''' defines a decimal of 'cf\''''
|
|
6
11
|
def __new__(self,value,cf=3):
|
radboy/__init__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
VERSION='0.0.
|
|
1
|
+
VERSION='0.0.658'
|
|
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=KI7Jmf3MX0Zng_YUvcjVKN2siyUOhaMAHQGzpPuX8KQ,41373
|
|
7
7
|
radboy/Run.py,sha256=JUoCTHnzQBv7n8PB2_i93ANdAC_iW__RkAge8esCnk4,76
|
|
8
|
-
radboy/__init__.py,sha256=
|
|
8
|
+
radboy/__init__.py,sha256=nfFB5EPVOc6U5aTz2IuWQMgZp7oqwTvSE2mmQRt8pKo,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
|
|
@@ -30,10 +30,10 @@ radboy/AlcoholConsumption/__pycache__/__init__.cpython-312.pyc,sha256=FEpSovOgKS
|
|
|
30
30
|
radboy/AlcoholConsumption/__pycache__/__init__.cpython-313.pyc,sha256=clzbzV-Gt74SSTVTatmaPgJZlAFBRp5rKLuYv-GnDcA,1231
|
|
31
31
|
radboy/AlcoholConsumption/__pycache__/ac.cpython-312.pyc,sha256=TJe0J4qDt01we79Q5PvrSm9njs4SHH7jxZnNPZo4uog,24016
|
|
32
32
|
radboy/AlcoholConsumption/__pycache__/ac.cpython-313.pyc,sha256=kUw1MKA36H4PErMZytK42JRO3gpjEQT7dMI9qhaKF9g,24299
|
|
33
|
-
radboy/BNC/BnC.py,sha256=
|
|
33
|
+
radboy/BNC/BnC.py,sha256=Mmquye4j6nb9G-t1fcJT1H-OuUdqoDNEvrjLMoANWkc,39108
|
|
34
34
|
radboy/BNC/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
35
35
|
radboy/BNC/__pycache__/BnC.cpython-312.pyc,sha256=v0_pV_IY00HwKYEBEcJUUiiyanOfKc22wf_SZ9csBG8,73548
|
|
36
|
-
radboy/BNC/__pycache__/BnC.cpython-313.pyc,sha256=
|
|
36
|
+
radboy/BNC/__pycache__/BnC.cpython-313.pyc,sha256=pfRUrSHq0qmaxxPnx3ygU6Qtq_28ZX_McQCJ1_lJwL4,74530
|
|
37
37
|
radboy/BNC/__pycache__/__init__.cpython-312.pyc,sha256=_aXP9W0QU1kZsSGw5vhHXkU98v3UqKswKuWpxEN0ovE,266
|
|
38
38
|
radboy/BNC/__pycache__/__init__.cpython-313.pyc,sha256=wFpBCxg2spjCT2ZKdgtP6uvzeub8X-BTPUGZjEVE35s,145
|
|
39
39
|
radboy/Collector2/Collector2.py,sha256=2Y-nKsst-E6g-xLi5MOp6jbQv8yAAG74SEM-WWzh1Cc,41232
|
|
@@ -83,12 +83,12 @@ radboy/DB/DatePicker.py,sha256=B75mDtXQrkHRCpoU9TJsaBVvkK37ykMaJyaiqGOo4dM,18334
|
|
|
83
83
|
radboy/DB/DisplayItemDb.py,sha256=uVvrNyFyBuKvrw-BEPXKYvfa-QWyFN5ahESi2l6vUUA,52046
|
|
84
84
|
radboy/DB/EstimatedPayCalendarWorkSheet.txt,sha256=GOjRSmGxFoNTdAnpPe2kGv7CkXDrh0Mee01HslamGbo,17173
|
|
85
85
|
radboy/DB/ExerciseTracker.py,sha256=OS9i8jGIZPj-6m1bB0-eKNHQ6vf2iv_AYPEc0s4bkBM,27809
|
|
86
|
-
radboy/DB/LetterWriter.py,sha256=
|
|
86
|
+
radboy/DB/LetterWriter.py,sha256=qIHVibyE1KxONh1rcLcj4GwZaU9b3GLlQAD3ns03a0I,2595
|
|
87
87
|
radboy/DB/OrderedAndRxd.py,sha256=PZ_Rbm0H3DFhHuN1SZEnd1RhEnKOU_L0X0MHXwYN3-s,23004
|
|
88
88
|
radboy/DB/PayDay.py,sha256=H2kPGvBCDkMOz7lbxQhYtUt_oAInpxi37Q6MFrah98I,8710
|
|
89
89
|
radboy/DB/PayModels.py,sha256=hjwWxP7PL33hmfzQl5YTf0HqzaMxXJxFknPdxFJXJc8,3499
|
|
90
90
|
radboy/DB/PrintLogging.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
91
|
-
radboy/DB/Prompt.py,sha256=
|
|
91
|
+
radboy/DB/Prompt.py,sha256=ZzA07Z3YEs7K0acYByQq1UI1xzOFWSrDnk5OW7ln_1s,174134
|
|
92
92
|
radboy/DB/RandomStringUtil.py,sha256=eZCpR907WStgfbk4Evcghjv9hOkUDXH-iMXIq0-kXq8,24386
|
|
93
93
|
radboy/DB/ResetTools.py,sha256=RbI-Ua7UlsN0S9qLqtEkTWvzyTZ6R-hHR3CW4NHlUPE,6660
|
|
94
94
|
radboy/DB/SMLabelImporter.py,sha256=eUoBDxVUUEKGL2g_PwkASM67ZB7FmXtSnn4bCagskhY,4013
|
|
@@ -99,7 +99,7 @@ radboy/DB/db.py,sha256=3Ui1IIdTMRWAitlSX2cgXgxpBslkuLYtxFsyw5ic9_8,257577
|
|
|
99
99
|
radboy/DB/glossary_db.py,sha256=1_qxeEpjjEtpWB_eDjsgJisimLv7OBm75MuqM-Lt6zg,28218
|
|
100
100
|
radboy/DB/masterLookup.py,sha256=DBaM2uscG3_X5dek49wjdnOzhrjWhKgvOEz_umdz0mY,4566
|
|
101
101
|
radboy/DB/msg.txt,sha256=YxWed6A6tuP1djJ5QPS2Rz3ING4TKKf8kUiCCPtzHXE,7937
|
|
102
|
-
radboy/DB/rad_types.py,sha256=
|
|
102
|
+
radboy/DB/rad_types.py,sha256=mtZpBMIFPcw1IhmO7UQ7nV_1gNNURs4INwx3x40hLUU,4725
|
|
103
103
|
radboy/DB/renderText2Png.py,sha256=PWnTicLTfOPg9UlQYia3wMpjM9rh7MIyDVsmcsDRUBo,5678
|
|
104
104
|
radboy/DB/testClass.py,sha256=t3zT1gbvReUncnPY8R9JUfKXQ5UEB2wmQx8DNeds0hI,310
|
|
105
105
|
radboy/DB/__pycache__/DatePicker.cpython-311.pyc,sha256=VMJnJ7scb4VHMQi1HDZCF67KVYfb9m-fZK96IAoJzTQ,19676
|
|
@@ -113,7 +113,7 @@ radboy/DB/__pycache__/FormBuilder.cpython-312.pyc,sha256=p1o-5SMRL8OXP_XQ5liUpf-
|
|
|
113
113
|
radboy/DB/__pycache__/PrintLogging.cpython-312.pyc,sha256=pIAFqTi6OiQQORSc-oMH1zAbsdH7sY1TifxrN_QOvnU,148
|
|
114
114
|
radboy/DB/__pycache__/Prompt.cpython-311.pyc,sha256=P2uPRpeqfLFtxieZ0JHBG3X_HZzWUCsFSLb_fpRqky0,6407
|
|
115
115
|
radboy/DB/__pycache__/Prompt.cpython-312.pyc,sha256=6CcQ1gE2hcz3cKPjo4f6d7xNM2PTDnl8NzQG0Pme5BE,142886
|
|
116
|
-
radboy/DB/__pycache__/Prompt.cpython-313.pyc,sha256=
|
|
116
|
+
radboy/DB/__pycache__/Prompt.cpython-313.pyc,sha256=emGpBfQE4Oln1pqRnlE9j4w1nWWtnbTqkXWUQdZEhjQ,258770
|
|
117
117
|
radboy/DB/__pycache__/RandomStringUtil.cpython-312.pyc,sha256=TrbEY89MuLmNlvoo5d8vOE6Dyshh5_EMlTZvk8MDVN4,48597
|
|
118
118
|
radboy/DB/__pycache__/RandomStringUtil.cpython-313.pyc,sha256=MCcgVwV2Y-9rAY2FVaJZCKcou3HDX70EZudoiCigT0o,49217
|
|
119
119
|
radboy/DB/__pycache__/ResetTools.cpython-311.pyc,sha256=4Vyc57iAAF0yRPjjglnVKovnTn8OoFIi6Zok3Wpj_YM,9292
|
|
@@ -402,7 +402,7 @@ radboy/__pycache__/Run.cpython-311.pyc,sha256=G_UEfMtkLRjR6ZpGA_BJzGenuaCcP469Y9
|
|
|
402
402
|
radboy/__pycache__/Run.cpython-312.pyc,sha256=v4xolc3mHyla991XhpYBUbBHYT0bnJ1gE-lkFoQ4GFA,241
|
|
403
403
|
radboy/__pycache__/__init__.cpython-311.pyc,sha256=R-DVbUioMOW-Fnaq7FpT5F1a5p0q3b_RW-HpLRArCAY,242
|
|
404
404
|
radboy/__pycache__/__init__.cpython-312.pyc,sha256=FsFzLXOlTK8_7ixoPZzakkR8Wibt-DvXLFh-oG2QlPw,164
|
|
405
|
-
radboy/__pycache__/__init__.cpython-313.pyc,sha256=
|
|
405
|
+
radboy/__pycache__/__init__.cpython-313.pyc,sha256=XcsyQrSdiXe2RHrm3JmV3_qX25BXQJaUrvNaRrHrt6U,165
|
|
406
406
|
radboy/__pycache__/__init__.cpython-39.pyc,sha256=D48T6x6FUeKPfubo0sdS_ZUut3FmBvPMP7qT6rYBZzU,275
|
|
407
407
|
radboy/__pycache__/possibleCode.cpython-311.pyc,sha256=zFiHyzqD8gUnIWu4vtyMYIBposiRQqaRXfcT_fOl4rU,20882
|
|
408
408
|
radboy/__pycache__/possibleCode.cpython-312.pyc,sha256=tk_CO-AcsO3YZj5j6vEsw3g37UmEzWc5YgeWEoJEUg4,27922
|
|
@@ -430,7 +430,7 @@ radboy/tkGui/Images/__pycache__/__init__.cpython-311.pyc,sha256=tXBYpqbOlZ24B1BI
|
|
|
430
430
|
radboy/tkGui/__pycache__/BeginnersLuck.cpython-311.pyc,sha256=xLQOnV1wuqHGaub16mPX0dDMGU9ryCeLtNz5e517_GE,3004
|
|
431
431
|
radboy/tkGui/__pycache__/Review.cpython-311.pyc,sha256=wKq24iM6Xe2OampgZ7-8U6Nvmgs2y-qWOrGwtWhc75k,4047
|
|
432
432
|
radboy/tkGui/__pycache__/__init__.cpython-311.pyc,sha256=BX7DBn5qbvKTvlrKOP5gzTBPBTeTgSMjBW6EMl7N8e0,230
|
|
433
|
-
radboy-0.0.
|
|
434
|
-
radboy-0.0.
|
|
435
|
-
radboy-0.0.
|
|
436
|
-
radboy-0.0.
|
|
433
|
+
radboy-0.0.658.dist-info/METADATA,sha256=0EXSvLudqLETPCNyKgzL326UgqOstmNsxRT7QUqimRU,1891
|
|
434
|
+
radboy-0.0.658.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
435
|
+
radboy-0.0.658.dist-info/top_level.txt,sha256=mlM0RWMUxGo1YHnlLmYrHOgGdK4XNRpr7nMFD5lR56c,7
|
|
436
|
+
radboy-0.0.658.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|