radboy 0.0.834__py3-none-any.whl → 0.0.835__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/__init__.py +1 -1
- radboy/__pycache__/__init__.cpython-313.pyc +0 -0
- radboy/preloader/preloader.py +5 -0
- radboy/preloader/preloader_func.py +29 -2
- {radboy-0.0.834.dist-info → radboy-0.0.835.dist-info}/METADATA +1 -1
- {radboy-0.0.834.dist-info → radboy-0.0.835.dist-info}/RECORD +8 -8
- {radboy-0.0.834.dist-info → radboy-0.0.835.dist-info}/WHEEL +0 -0
- {radboy-0.0.834.dist-info → radboy-0.0.835.dist-info}/top_level.txt +0 -0
radboy/__init__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
VERSION='0.0.
|
|
1
|
+
VERSION='0.0.835'
|
|
Binary file
|
radboy/preloader/preloader.py
CHANGED
|
@@ -27,6 +27,11 @@ preloader={
|
|
|
27
27
|
'desc':f'return a selected drug text',
|
|
28
28
|
'exec':drug_text
|
|
29
29
|
},
|
|
30
|
+
f'{uuid1()}':{
|
|
31
|
+
'cmds':['golden-ratio','gldn rto',],
|
|
32
|
+
'desc':f'get the golden ration for a measurement',
|
|
33
|
+
'exec':golden_ratio
|
|
34
|
+
},
|
|
30
35
|
f'{uuid1()}':{
|
|
31
36
|
'cmds':['volume pint',],
|
|
32
37
|
'desc':f'find the volume of height*width*length using pint to normalize the values',
|
|
@@ -27,9 +27,10 @@ import itertools
|
|
|
27
27
|
import decimal
|
|
28
28
|
from decimal import localcontext,Decimal
|
|
29
29
|
unit_registry=pint.UnitRegistry()
|
|
30
|
-
import math
|
|
30
|
+
import math,scipy
|
|
31
31
|
from radboy.HowDoYouDefineMe.CoreEmotions import *
|
|
32
32
|
|
|
33
|
+
|
|
33
34
|
def volume():
|
|
34
35
|
with localcontext() as ctx:
|
|
35
36
|
ctx.prec=int(db.detectGetOrSet("lsbld ROUNDTO default",4,setValue=False,literal=True))
|
|
@@ -1786,4 +1787,30 @@ def USCurrencyMassValues():
|
|
|
1786
1787
|
|
|
1787
1788
|
except Exception as e:
|
|
1788
1789
|
print(e)
|
|
1789
|
-
continue
|
|
1790
|
+
continue
|
|
1791
|
+
|
|
1792
|
+
|
|
1793
|
+
def golden_ratio():
|
|
1794
|
+
msg=''
|
|
1795
|
+
while True:
|
|
1796
|
+
try:
|
|
1797
|
+
fields={
|
|
1798
|
+
'measurement':{
|
|
1799
|
+
'type':'dec.dec',
|
|
1800
|
+
'default':48,
|
|
1801
|
+
},
|
|
1802
|
+
}
|
|
1803
|
+
fd=FormBuilder(data=fields,passThruText=msg)
|
|
1804
|
+
if fd is None:
|
|
1805
|
+
return
|
|
1806
|
+
side1_value=(decc(fd['measurement'])/decc(scipy.constants.golden_ratio))
|
|
1807
|
+
side2_value=fd['measurement']-decc(side1_value)
|
|
1808
|
+
which=Control(func=FormBuilderMkText,ptext=f"Which side do you wish to return [for a side of {fd['measurement']}: side1_value={side1_value},side2_value={side2_value}]?",helpText="yes/1/true=side 1,side 2 is false/no/0",data="boolean")
|
|
1809
|
+
if which in [None,"NaN"]:
|
|
1810
|
+
return
|
|
1811
|
+
elif which:
|
|
1812
|
+
return side1_value
|
|
1813
|
+
else:
|
|
1814
|
+
return side2_value
|
|
1815
|
+
except Exception as e:
|
|
1816
|
+
print(e)
|
|
@@ -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=SgToyoLIS50W5G7wiM4Tqffg7FIDjsRT6cJtfBX2KRM,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
|
|
@@ -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=KmkNAT97g6zOJGVVdyfuRiYGUolrAOzvVGSB7MLZSyI,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
|
|
@@ -424,8 +424,8 @@ radboy/__pycache__/t.cpython-311.pyc,sha256=bVszNkmfiyoNLd0WUc8aBJc2geGseW4O28cq
|
|
|
424
424
|
radboy/__pycache__/te.cpython-311.pyc,sha256=vI8eNUE5VVrfCQvnrJ7WuWpoKcLz-vVK3ifdUZ4UNhk,592
|
|
425
425
|
radboy/__pycache__/x.cpython-311.pyc,sha256=3jIvWoO5y5WqrL_hRmXNK8O0vO7DwJ4gufjm2b0V7VI,1963
|
|
426
426
|
radboy/preloader/__init__.py,sha256=lrGR0JF0dkDM8N9ORGUKH_MucUFx1-PI38YsvqS-wgA,926
|
|
427
|
-
radboy/preloader/preloader.py,sha256=
|
|
428
|
-
radboy/preloader/preloader_func.py,sha256=
|
|
427
|
+
radboy/preloader/preloader.py,sha256=M60lLzF7A-MvTFiqq0urmhbMMRIJQxQnrpjPI6MsMsY,9060
|
|
428
|
+
radboy/preloader/preloader_func.py,sha256=rQzrwV7GUD06Dk_0hlHf_vNsb5AR6gYQtjfq03xbdZk,64473
|
|
429
429
|
radboy/setCode/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
430
430
|
radboy/setCode/setCode.py,sha256=8UOf4okbx-Zane99odeoLAS_lfIt8pIaFomN7EtnnVA,5202
|
|
431
431
|
radboy/setCode/__pycache__/__init__.cpython-311.pyc,sha256=cJuP5rve6Wn7ZO789tixyOlyrHZQWsBxDn9oZGoG5WE,232
|
|
@@ -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.835.dist-info/METADATA,sha256=xNUwZW3sNBKnXrYzakyB0BlMSOldWT2wCvYya8QvRz0,1920
|
|
446
|
+
radboy-0.0.835.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
447
|
+
radboy-0.0.835.dist-info/top_level.txt,sha256=mlM0RWMUxGo1YHnlLmYrHOgGdK4XNRpr7nMFD5lR56c,7
|
|
448
|
+
radboy-0.0.835.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|