radboy 0.0.558__py3-none-any.whl → 0.0.559__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/__pycache__/db.cpython-313.pyc +0 -0
- radboy/DB/db.py +37 -0
- radboy/__init__.py +1 -1
- radboy/__pycache__/__init__.cpython-313.pyc +0 -0
- {radboy-0.0.558.dist-info → radboy-0.0.559.dist-info}/METADATA +1 -1
- {radboy-0.0.558.dist-info → radboy-0.0.559.dist-info}/RECORD +8 -8
- {radboy-0.0.558.dist-info → radboy-0.0.559.dist-info}/WHEEL +0 -0
- {radboy-0.0.558.dist-info → radboy-0.0.559.dist-info}/top_level.txt +0 -0
|
Binary file
|
radboy/DB/db.py
CHANGED
|
@@ -48,6 +48,43 @@ from barcode import Code128
|
|
|
48
48
|
from barcode.writer import ImageWriter
|
|
49
49
|
import hashlib
|
|
50
50
|
import base64
|
|
51
|
+
from decimal import Decimal as TDecimal
|
|
52
|
+
class decc(TDecimal):
|
|
53
|
+
''' defines a decimal of 'cf\''''
|
|
54
|
+
def __new__(self,value,cf=3):
|
|
55
|
+
'''you can set the floating precision of a value in curly braces {value:.3f} by doing {value:{three}f} where three is he variable containting the value 3
|
|
56
|
+
used for precision
|
|
57
|
+
|
|
58
|
+
value=1.234
|
|
59
|
+
cf=2
|
|
60
|
+
result=1.23
|
|
61
|
+
for the below assignment.
|
|
62
|
+
|
|
63
|
+
value=f"{value:.{cf}f}"
|
|
64
|
+
print(value)
|
|
65
|
+
'''
|
|
66
|
+
|
|
67
|
+
value=f"{value:.{cf}f}"
|
|
68
|
+
return super().__new__(self,value)
|
|
69
|
+
|
|
70
|
+
class dec3(TDecimal):
|
|
71
|
+
''' defines a decimal of .3f'''
|
|
72
|
+
def __new__(self,value):
|
|
73
|
+
value=f"{value:.3f}"
|
|
74
|
+
return super().__new__(self,value)
|
|
75
|
+
|
|
76
|
+
class dec2(TDecimal):
|
|
77
|
+
''' defines a decimal of .2f'''
|
|
78
|
+
def __new__(self,value):
|
|
79
|
+
value=f"{value:.3f}"
|
|
80
|
+
return super().__new__(self,value)
|
|
81
|
+
|
|
82
|
+
class dec1(TDecimal):
|
|
83
|
+
''' defines a decimal of .1f'''
|
|
84
|
+
def __new__(self,value):
|
|
85
|
+
value=f"{value:.3f}"
|
|
86
|
+
return super().__new__(self,value)
|
|
87
|
+
|
|
51
88
|
|
|
52
89
|
class stre(str):
|
|
53
90
|
'''String Extended to include operators for some useful functionality.'''
|
radboy/__init__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
VERSION='0.0.
|
|
1
|
+
VERSION='0.0.559'
|
|
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=YfqKct2SBl5f5zjZ3Qe1UFhj71bkDg8BDcSyn7gI7as,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
|
|
@@ -91,7 +91,7 @@ radboy/DB/SMLabelImporter.py,sha256=eUoBDxVUUEKGL2g_PwkASM67ZB7FmXtSnn4bCagskhY,
|
|
|
91
91
|
radboy/DB/__init__.py,sha256=JiigA9B7GalP7YuRdcwyGDu5PDSBahoi0lLjtScxlN8,49
|
|
92
92
|
radboy/DB/blankDataFile.py,sha256=YX_05Usi71UpDkZN9UTMYwUipbTndTAtEgqzBEga0kE,9285
|
|
93
93
|
radboy/DB/config.py,sha256=bvu43dUl1_yO3Zq3gsLuenGUgJSiS3S9Cs6ppFEvZbg,239
|
|
94
|
-
radboy/DB/db.py,sha256=
|
|
94
|
+
radboy/DB/db.py,sha256=okgl5H-u1bSsiJly0WE4bOOQ2X46n6ra0EXrs4OqRVU,254565
|
|
95
95
|
radboy/DB/glossary_db.py,sha256=1_qxeEpjjEtpWB_eDjsgJisimLv7OBm75MuqM-Lt6zg,28218
|
|
96
96
|
radboy/DB/masterLookup.py,sha256=DBaM2uscG3_X5dek49wjdnOzhrjWhKgvOEz_umdz0mY,4566
|
|
97
97
|
radboy/DB/msg.txt,sha256=YxWed6A6tuP1djJ5QPS2Rz3ING4TKKf8kUiCCPtzHXE,7937
|
|
@@ -126,7 +126,7 @@ radboy/DB/__pycache__/config.cpython-312.pyc,sha256=Qo7E6MHrF6yqvKgepNFyCoekZXiv
|
|
|
126
126
|
radboy/DB/__pycache__/config.cpython-313.pyc,sha256=_8wCIg_3jhyJjxnExD2Sm6aY-uZTw036p7Ki5znL7dc,376
|
|
127
127
|
radboy/DB/__pycache__/db.cpython-311.pyc,sha256=rNgigyBd0D-cg1JxKAS8t0B_k0IEJivgVlRaZE10Xis,210105
|
|
128
128
|
radboy/DB/__pycache__/db.cpython-312.pyc,sha256=ANDJPC0RoavbmSKFxG15vC7B4rEGyVt7xRJt7XGY3OA,334609
|
|
129
|
-
radboy/DB/__pycache__/db.cpython-313.pyc,sha256=
|
|
129
|
+
radboy/DB/__pycache__/db.cpython-313.pyc,sha256=Lm6Tz4hsAypuFCK_8yMopuOFzy4JDNAJPwIP7yW3ylc,402228
|
|
130
130
|
radboy/DB/__pycache__/glossary_db.cpython-312.pyc,sha256=8UL-29cKqtKovx0BANm6kzKKteef1BW_2qF3wumzst4,36023
|
|
131
131
|
radboy/DB/__pycache__/glossary_db.cpython-313.pyc,sha256=Ke9bkvllGv5CK0JdT9DRvQ3MOdrXxoYv7TVLNkqLux0,36582
|
|
132
132
|
radboy/DB/__pycache__/masterLookup.cpython-312.pyc,sha256=bQiOkmMwwHgcO18tYSWGQ-YUff4GQlKVhBMp1GoWAqY,6324
|
|
@@ -397,7 +397,7 @@ radboy/__pycache__/Run.cpython-311.pyc,sha256=G_UEfMtkLRjR6ZpGA_BJzGenuaCcP469Y9
|
|
|
397
397
|
radboy/__pycache__/Run.cpython-312.pyc,sha256=v4xolc3mHyla991XhpYBUbBHYT0bnJ1gE-lkFoQ4GFA,241
|
|
398
398
|
radboy/__pycache__/__init__.cpython-311.pyc,sha256=R-DVbUioMOW-Fnaq7FpT5F1a5p0q3b_RW-HpLRArCAY,242
|
|
399
399
|
radboy/__pycache__/__init__.cpython-312.pyc,sha256=FsFzLXOlTK8_7ixoPZzakkR8Wibt-DvXLFh-oG2QlPw,164
|
|
400
|
-
radboy/__pycache__/__init__.cpython-313.pyc,sha256=
|
|
400
|
+
radboy/__pycache__/__init__.cpython-313.pyc,sha256=EI6LoZmUImE0Wn9z3K41k9Gt44YJzB27wrsNtHV2nU4,165
|
|
401
401
|
radboy/__pycache__/__init__.cpython-39.pyc,sha256=D48T6x6FUeKPfubo0sdS_ZUut3FmBvPMP7qT6rYBZzU,275
|
|
402
402
|
radboy/__pycache__/possibleCode.cpython-311.pyc,sha256=zFiHyzqD8gUnIWu4vtyMYIBposiRQqaRXfcT_fOl4rU,20882
|
|
403
403
|
radboy/__pycache__/possibleCode.cpython-312.pyc,sha256=tk_CO-AcsO3YZj5j6vEsw3g37UmEzWc5YgeWEoJEUg4,27922
|
|
@@ -424,7 +424,7 @@ radboy/tkGui/Images/__pycache__/__init__.cpython-311.pyc,sha256=tXBYpqbOlZ24B1BI
|
|
|
424
424
|
radboy/tkGui/__pycache__/BeginnersLuck.cpython-311.pyc,sha256=xLQOnV1wuqHGaub16mPX0dDMGU9ryCeLtNz5e517_GE,3004
|
|
425
425
|
radboy/tkGui/__pycache__/Review.cpython-311.pyc,sha256=wKq24iM6Xe2OampgZ7-8U6Nvmgs2y-qWOrGwtWhc75k,4047
|
|
426
426
|
radboy/tkGui/__pycache__/__init__.cpython-311.pyc,sha256=BX7DBn5qbvKTvlrKOP5gzTBPBTeTgSMjBW6EMl7N8e0,230
|
|
427
|
-
radboy-0.0.
|
|
428
|
-
radboy-0.0.
|
|
429
|
-
radboy-0.0.
|
|
430
|
-
radboy-0.0.
|
|
427
|
+
radboy-0.0.559.dist-info/METADATA,sha256=ioUjgsEsz0sA9qPda6VEzTq-uBFM9o4A1ghzZJ701T0,1615
|
|
428
|
+
radboy-0.0.559.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
429
|
+
radboy-0.0.559.dist-info/top_level.txt,sha256=mlM0RWMUxGo1YHnlLmYrHOgGdK4XNRpr7nMFD5lR56c,7
|
|
430
|
+
radboy-0.0.559.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|