radboy 0.0.340__py3-none-any.whl → 0.0.342__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 +198 -37
- radboy/DayLog/TaxiFares.py +53 -18
- radboy/__init__.py +1 -1
- radboy/__pycache__/__init__.cpython-313.pyc +0 -0
- {radboy-0.0.340.dist-info → radboy-0.0.342.dist-info}/METADATA +1 -1
- {radboy-0.0.340.dist-info → radboy-0.0.342.dist-info}/RECORD +9 -9
- {radboy-0.0.340.dist-info → radboy-0.0.342.dist-info}/WHEEL +0 -0
- {radboy-0.0.340.dist-info → radboy-0.0.342.dist-info}/top_level.txt +0 -0
|
Binary file
|
radboy/DB/db.py
CHANGED
|
@@ -29,50 +29,211 @@ import forecast_weather as fw
|
|
|
29
29
|
import requests
|
|
30
30
|
import holidays
|
|
31
31
|
import platform
|
|
32
|
-
|
|
32
|
+
from uuid import uuid1
|
|
33
33
|
import sys
|
|
34
34
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
35
|
+
class switch_bootable:
|
|
36
|
+
'''Template Cmd
|
|
37
|
+
str(uuid1()):{
|
|
38
|
+
'cmds':[],
|
|
39
|
+
'exec':None,
|
|
40
|
+
'desc':""
|
|
41
|
+
},
|
|
39
42
|
|
|
40
|
-
|
|
43
|
+
'''
|
|
44
|
+
def quick_parse(self,text,helptext='',no_dir_name=False):
|
|
45
|
+
if text.lower() in ['',]:
|
|
46
|
+
if no_dir_name:
|
|
47
|
+
return ''
|
|
48
|
+
else:
|
|
49
|
+
text=f"BOOTABLE {datetime.now().strftime('%m-%d-%Y')}"
|
|
50
|
+
return text
|
|
51
|
+
elif text.lower() in ['q','quit']:
|
|
52
|
+
exit("User quit!")
|
|
53
|
+
elif text.lower() in ['b','back']:
|
|
54
|
+
return None
|
|
55
|
+
elif text.lower() in ['?','h','help']:
|
|
56
|
+
print(helptext)
|
|
57
|
+
return False
|
|
58
|
+
else:
|
|
59
|
+
return text
|
|
60
|
+
|
|
61
|
+
def quick_parse_int(self,text,helptext=''):
|
|
62
|
+
if text.lower() in ['',]:
|
|
63
|
+
return None
|
|
64
|
+
elif text.lower() in ['q','quit',]:
|
|
65
|
+
exit("User quit!")
|
|
66
|
+
elif text.lower() in ['b','back']:
|
|
67
|
+
return None
|
|
68
|
+
elif text.lower() in ['?','h','help']:
|
|
69
|
+
print(helptext)
|
|
70
|
+
return False
|
|
71
|
+
else:
|
|
72
|
+
try:
|
|
73
|
+
val=int(text)
|
|
74
|
+
return val
|
|
75
|
+
except Exception as e:
|
|
76
|
+
return None
|
|
77
|
+
|
|
78
|
+
def mkBootBlank(self):
|
|
41
79
|
try:
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
if bootcfg.exists():
|
|
50
|
-
bootable_dirs.append(dsub)
|
|
51
|
-
|
|
52
|
-
htext=[]
|
|
53
|
-
ct=len(bootable_dirs)
|
|
54
|
-
for num,i in enumerate(bootable_dirs):
|
|
55
|
-
msg=f"{Fore.light_green}{num}/{Fore.light_yellow}{num+1} of {Fore.light_red}{ct} -> {Fore.dark_goldenrod}{i}{Style.reset}"
|
|
56
|
-
htext.append(msg)
|
|
57
|
-
htext='\n'.join(htext)
|
|
58
|
-
if ct > 0:
|
|
59
|
-
print(htext)
|
|
60
|
-
which=input("Please type an integer index for selection: ")
|
|
61
|
-
if which.lower() in ['b','d','']:
|
|
80
|
+
while True:
|
|
81
|
+
bootdirname=self.quick_parse(input("Bootable Directory Name:"))
|
|
82
|
+
if bootdirname is None:
|
|
83
|
+
return
|
|
84
|
+
elif bootdirname is False:
|
|
85
|
+
continue
|
|
86
|
+
else:
|
|
62
87
|
break
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
88
|
+
bt=self.boot_dirs/Path(bootdirname)
|
|
89
|
+
if not bt.exists():
|
|
90
|
+
bt.mkdir(parents=True)
|
|
91
|
+
with open(bt/Path("__bootable__.py"),"wb") as bootfile:
|
|
92
|
+
bootfile.write(b'')
|
|
93
|
+
except Exception as e:
|
|
94
|
+
print(e,repr(e),str(e))
|
|
95
|
+
|
|
96
|
+
def rmboot(self):
|
|
97
|
+
try:
|
|
98
|
+
bootable_dirs=self.lsboot()
|
|
99
|
+
while True:
|
|
100
|
+
bootdirname=self.quick_parse_int(input("Bootable Directory index:"))
|
|
101
|
+
if bootdirname is None:
|
|
102
|
+
return
|
|
103
|
+
elif bootdirname is False:
|
|
104
|
+
continue
|
|
105
|
+
else:
|
|
68
106
|
break
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
else:
|
|
72
|
-
print("No Bootable Directories found!")
|
|
73
|
-
break
|
|
107
|
+
bt=bootable_dirs[bootdirname]
|
|
108
|
+
shutil.rmtree(bt)
|
|
74
109
|
except Exception as e:
|
|
75
|
-
print(e)
|
|
110
|
+
print(e,repr(e),str(e))
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
def cmdSystem(self):
|
|
114
|
+
cmds={
|
|
115
|
+
str(uuid1()):{
|
|
116
|
+
'cmds':["mkblnkbt","mk_blnk_bt","make blank bootdir","mk blnk bt"],
|
|
117
|
+
'exec':self.mkBootBlank,
|
|
118
|
+
'desc':"make a new bootable instance directory that is completely blank"
|
|
119
|
+
},
|
|
120
|
+
str(uuid1()):{
|
|
121
|
+
'cmds':['list boot','lsbt','lsboot','ls boot'],
|
|
122
|
+
'exec':self.lsboot,
|
|
123
|
+
'desc':"list boot dirs"
|
|
124
|
+
},
|
|
125
|
+
str(uuid1()):{
|
|
126
|
+
'cmds':['remove boot','rmbt','rmboot','rm boot'],
|
|
127
|
+
'exec':self.rmboot,
|
|
128
|
+
'desc':"delete/remove a boot dir"
|
|
129
|
+
},
|
|
130
|
+
str(uuid1()):{
|
|
131
|
+
'cmds':['boot','','bt'],
|
|
132
|
+
'exec':self.legacy_start,
|
|
133
|
+
'desc':"start the system by selecting instance"
|
|
134
|
+
},
|
|
135
|
+
}
|
|
136
|
+
cmdhtext=[]
|
|
137
|
+
ct=len(cmds)
|
|
138
|
+
for num,i in enumerate(cmds):
|
|
139
|
+
msg=self.static_colorize(f"{Fore.light_green}{cmds[i]['cmds']} - {Fore.green_yellow}{cmds[i]['desc']}",num,ct)
|
|
140
|
+
cmdhtext.append(msg)
|
|
141
|
+
cmdhtext='\n'.join(cmdhtext)
|
|
142
|
+
|
|
143
|
+
while True:
|
|
144
|
+
doWhat=self.quick_parse(input("Boot CMDS:"),helptext=cmdhtext,no_dir_name=True)
|
|
145
|
+
if doWhat is None:
|
|
146
|
+
exit("User Quit!")
|
|
147
|
+
elif doWhat is False:
|
|
148
|
+
continue
|
|
149
|
+
for cmd in cmds:
|
|
150
|
+
if doWhat.lower() in [str(i) for i in cmds[cmd]['cmds']]:
|
|
151
|
+
if callable(cmds[cmd]['exec']):
|
|
152
|
+
ready=cmds[cmd]['exec']()
|
|
153
|
+
print(ready)
|
|
154
|
+
if ready is True:
|
|
155
|
+
return
|
|
156
|
+
break
|
|
157
|
+
else:
|
|
158
|
+
print(f"cmd({cmds[cmd]['cmds']}) is not callable()")
|
|
159
|
+
|
|
160
|
+
def static_colorize(self,m,n,c):
|
|
161
|
+
msg=f'{Fore.cyan}{n}/{Fore.light_yellow}{n+1}{Fore.light_red} of {c} {Fore.dark_goldenrod}{m}{Style.reset}'
|
|
162
|
+
return msg
|
|
163
|
+
|
|
164
|
+
def __init__(self):
|
|
165
|
+
self.boot_dirs=Path("RadBoy_Boot_Directory")
|
|
166
|
+
self.cmdSystem()
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
#self.legacy_start()
|
|
170
|
+
|
|
171
|
+
def lsboot(self):
|
|
172
|
+
boot_dirs=self.boot_dirs
|
|
173
|
+
if not boot_dirs.exists():
|
|
174
|
+
boot_dirs.mkdir()
|
|
175
|
+
bootable_dirs=[]
|
|
176
|
+
bootable_dirs.append(str(Path(".").absolute()))
|
|
177
|
+
for root,dirs,files in boot_dirs.walk(top_down=True):
|
|
178
|
+
for d in dirs:
|
|
179
|
+
dsub=root/d
|
|
180
|
+
if dsub not in bootable_dirs:
|
|
181
|
+
bootcfg=dsub/Path("__bootable__.py")
|
|
182
|
+
if bootcfg.exists():
|
|
183
|
+
bootable_dirs.append(dsub)
|
|
184
|
+
|
|
185
|
+
htext=[]
|
|
186
|
+
ct=len(bootable_dirs)
|
|
187
|
+
for num,i in enumerate(bootable_dirs):
|
|
188
|
+
msg=f"{Fore.light_green}{num}/{Fore.light_yellow}{num+1} of {Fore.light_red}{ct} -> {Fore.dark_goldenrod}{i}{Style.reset}"
|
|
189
|
+
htext.append(msg)
|
|
190
|
+
htext='\n'.join(htext)
|
|
191
|
+
print(htext)
|
|
192
|
+
return bootable_dirs
|
|
193
|
+
|
|
194
|
+
def legacy_start(self):
|
|
195
|
+
boot_dirs=self.boot_dirs
|
|
196
|
+
if not boot_dirs.exists():
|
|
197
|
+
boot_dirs.mkdir()
|
|
198
|
+
|
|
199
|
+
while True:
|
|
200
|
+
try:
|
|
201
|
+
bootable_dirs=[]
|
|
202
|
+
bootable_dirs.append(str(Path(".").absolute()))
|
|
203
|
+
for root,dirs,files in boot_dirs.walk(top_down=True):
|
|
204
|
+
for d in dirs:
|
|
205
|
+
dsub=root/d
|
|
206
|
+
if dsub not in bootable_dirs:
|
|
207
|
+
bootcfg=dsub/Path("__bootable__.py")
|
|
208
|
+
if bootcfg.exists():
|
|
209
|
+
bootable_dirs.append(dsub)
|
|
210
|
+
|
|
211
|
+
htext=[]
|
|
212
|
+
ct=len(bootable_dirs)
|
|
213
|
+
for num,i in enumerate(bootable_dirs):
|
|
214
|
+
msg=f"{Fore.light_green}{num}/{Fore.light_yellow}{num+1} of {Fore.light_red}{ct} -> {Fore.dark_goldenrod}{i}{Style.reset}"
|
|
215
|
+
htext.append(msg)
|
|
216
|
+
htext='\n'.join(htext)
|
|
217
|
+
if ct > 0:
|
|
218
|
+
print(htext)
|
|
219
|
+
which=input("Please type an integer index for selection: ")
|
|
220
|
+
if which.lower() in ['d','']:
|
|
221
|
+
return True
|
|
222
|
+
elif which.lower() in ['b',]:
|
|
223
|
+
break
|
|
224
|
+
elif which.lower() in ['q','quit']:
|
|
225
|
+
exit("User chose to quit!")
|
|
226
|
+
try:
|
|
227
|
+
which=int(which)
|
|
228
|
+
os.chdir(bootable_dirs[which])
|
|
229
|
+
return True
|
|
230
|
+
except Exception as e:
|
|
231
|
+
print(e)
|
|
232
|
+
else:
|
|
233
|
+
print("No Bootable Directories found!")
|
|
234
|
+
return True
|
|
235
|
+
except Exception as e:
|
|
236
|
+
print(e)
|
|
76
237
|
switch_bootable()
|
|
77
238
|
|
|
78
239
|
def onAndroid()->bool:
|
radboy/DayLog/TaxiFares.py
CHANGED
|
@@ -13,17 +13,22 @@ class TaxiFare:
|
|
|
13
13
|
def static_colorize(self,m,n,c):
|
|
14
14
|
msg=f'{Fore.cyan}{n}/{Fore.light_yellow}{n+1}{Fore.light_red} of {c} {Fore.dark_goldenrod}{m}{Style.reset}'
|
|
15
15
|
return msg
|
|
16
|
-
|
|
16
|
+
per_xparts_mile_multiplier=14
|
|
17
|
+
per_xparts_mile=0.25
|
|
17
18
|
flag_drop=3.50
|
|
18
|
-
per_mile=
|
|
19
|
+
per_mile=per_xparts_mile*per_xparts_mile_multiplier
|
|
19
20
|
airport_surcharge_pickup=3
|
|
20
21
|
airport_surcharge_dropoff=3
|
|
21
22
|
wait_time_per_hour_cost=35
|
|
22
|
-
def RateData_SalinasYellowCab(self,
|
|
23
|
+
def RateData_SalinasYellowCab(self,per_xparts_mile,per_mile,flag_drop,airport_surcharge_pickup,airport_surcharge_dropoff,wait_time_per_hour_cost,per_xparts_mile_multiplier):
|
|
23
24
|
rate_data={
|
|
24
|
-
'
|
|
25
|
+
'per_xparts_mile_multiplier':{
|
|
25
26
|
'type':'float',
|
|
26
|
-
'default':
|
|
27
|
+
'default':per_xparts_mile_multiplier,
|
|
28
|
+
},
|
|
29
|
+
'per_xparts_mile':{
|
|
30
|
+
'type':'float',
|
|
31
|
+
'default':per_xparts_mile,
|
|
27
32
|
},
|
|
28
33
|
'flag_drop':{
|
|
29
34
|
'type':'float',
|
|
@@ -51,46 +56,76 @@ class TaxiFare:
|
|
|
51
56
|
print(self.QUIT_EARLY)
|
|
52
57
|
return None
|
|
53
58
|
|
|
54
|
-
|
|
55
|
-
if
|
|
59
|
+
recalculate_miles_from_xparts_mile=Prompt.__init2__(None,func=FormBuilderMkText,ptext=f"Recalculate Per_Mile Cost using {per_xparts_mile}*{rate_data['per_xparts_mile_multiplier']}:",helpText="Boolean True/Y/n/Boolean False (but not f)",data="boolean")
|
|
60
|
+
if recalculate_miles_from_xparts_mile is None:
|
|
56
61
|
print(self.QUIT_EARLY)
|
|
57
62
|
return None
|
|
58
|
-
elif
|
|
59
|
-
rate_data['per_mile']=rate_data['
|
|
60
|
-
|
|
63
|
+
elif recalculate_miles_from_xparts_mile in ['d',True]:
|
|
64
|
+
rate_data['per_mile']=rate_data['per_xparts_mile']*rate_data['per_xparts_mile_multiplier']
|
|
65
|
+
for k in rate_data:
|
|
66
|
+
try:
|
|
67
|
+
setattr(self,k,rate_data[k])
|
|
68
|
+
except Exception as e:
|
|
69
|
+
print(e)
|
|
70
|
+
self.print_rates()
|
|
71
|
+
self.per_xparts_mile=float((detectGetOrSet("per_xparts_mile",rate_data["per_xparts_mile"],setValue=True,literal=True)))
|
|
72
|
+
self.flag_drop=float((detectGetOrSet("flag_drop",rate_data["flag_drop"],setValue=True,literal=True)))
|
|
73
|
+
self.per_mile=float((detectGetOrSet("per_mile",rate_data["per_mile"],setValue=True,literal=True)))
|
|
74
|
+
self.airport_surcharge_pickup=float((detectGetOrSet("airport_surcharge_pickup",rate_data["airport_surcharge_pickup"],setValue=True,literal=True)))
|
|
75
|
+
self.airport_surcharge_dropoff=float((detectGetOrSet("airport_surcharge_dropoff",rate_data["airport_surcharge_dropoff"],setValue=True,literal=True)))
|
|
76
|
+
self.wait_time_per_hour_cost=float((detectGetOrSet("wait_time_per_hour_cost",rate_data["wait_time_per_hour_cost"],setValue=True,literal=True)))
|
|
77
|
+
self.per_xparts_mile_multiplier=float((detectGetOrSet("per_xparts_mile_multiplier",rate_data["per_xparts_mile_multiplier"],setValue=True,literal=True)))
|
|
61
78
|
return rate_data
|
|
62
79
|
|
|
63
80
|
def print_rates(self):
|
|
64
|
-
x=
|
|
81
|
+
x=7
|
|
65
82
|
msf=[
|
|
66
|
-
self.static_colorize(f"{Fore.light_cyan}Per 1/
|
|
83
|
+
self.static_colorize(f"{Fore.light_cyan}Per 1/{self.per_xparts_mile_multiplier} Mile{Fore.magenta}={Fore.dark_goldenrod}{self.per_xparts_mile}",0,x),
|
|
67
84
|
self.static_colorize(f"{Fore.light_cyan}Per Mile{Fore.magenta}={Fore.dark_goldenrod}{self.per_mile}",1,x),
|
|
68
85
|
self.static_colorize(f"{Fore.light_cyan}Flag Drop{Fore.magenta}={Fore.dark_goldenrod}{self.flag_drop}",2,x),
|
|
69
86
|
self.static_colorize(f"{Fore.light_cyan}Airport Surcharge Pickup{Fore.magenta}={Fore.dark_goldenrod}{self.airport_surcharge_pickup}",3,x),
|
|
70
87
|
self.static_colorize(f"{Fore.light_cyan}Airport Surcharge Drop Off{Fore.magenta}={Fore.dark_goldenrod}{self.airport_surcharge_dropoff}",4,x),
|
|
71
88
|
self.static_colorize(f"{Fore.light_cyan}Wait Time Per Hour Cost{Fore.magenta}={Fore.dark_goldenrod}{self.wait_time_per_hour_cost}",5,x),
|
|
89
|
+
self.static_colorize(f"{Fore.light_cyan}Parts of A Mile{Fore.magenta}={Fore.dark_goldenrod}{self.per_xparts_mile_multiplier}",6,x)
|
|
72
90
|
]
|
|
73
91
|
for line in msf:
|
|
74
92
|
print(line)
|
|
75
93
|
|
|
76
|
-
def __init__(self,
|
|
77
|
-
if isinstance(
|
|
78
|
-
self.
|
|
94
|
+
def __init__(self,per_xparts_mile=None,flag_drop=None,per_mile=None, airport_surcharge_pickup=None,airport_surcharge_dropoff=None,wait_time_per_hour_cost=None,per_xparts_mile_multiplier=None):
|
|
95
|
+
if isinstance(per_xparts_mile,float):
|
|
96
|
+
self.per_xparts_mile=per_xparts_mile
|
|
97
|
+
else:
|
|
98
|
+
self.per_xparts_mile=float((detectGetOrSet("per_xparts_mile",0.25,setValue=False,literal=True)))
|
|
79
99
|
|
|
80
100
|
if isinstance(flag_drop,float):
|
|
81
101
|
self.flag_drop=flag_drop
|
|
102
|
+
else:
|
|
103
|
+
self.flag_drop=float((detectGetOrSet("flag_drop",3.5,setValue=False,literal=True)))
|
|
82
104
|
|
|
83
105
|
if isinstance(per_mile,float):
|
|
84
106
|
self.per_mile=per_mile
|
|
107
|
+
else:
|
|
108
|
+
self.per_mile=float((detectGetOrSet("per_mile",3.5,setValue=False,literal=True)))
|
|
85
109
|
|
|
86
110
|
if isinstance(airport_surcharge_pickup,float):
|
|
87
111
|
self.airport_surcharge_pickup=airport_surcharge_pickup
|
|
112
|
+
else:
|
|
113
|
+
self.airport_surcharge_pickup=float((detectGetOrSet("airport_surcharge_pickup",3,setValue=False,literal=True)))
|
|
88
114
|
|
|
89
115
|
if isinstance(airport_surcharge_dropoff,float):
|
|
90
116
|
self.airport_surcharge_dropoff=airport_surcharge_dropoff
|
|
117
|
+
else:
|
|
118
|
+
self.airport_surcharge_dropoff=float((detectGetOrSet("airport_surcharge_dropoff",3,setValue=False,literal=True)))
|
|
91
119
|
|
|
92
120
|
if isinstance(wait_time_per_hour_cost,float):
|
|
93
121
|
self.wait_time_per_hour_cost=wait_time_per_hour_cost
|
|
122
|
+
else:
|
|
123
|
+
self.wait_time_per_hour_cost=float((detectGetOrSet("wait_time_per_hour_cost",35,setValue=False,literal=True)))
|
|
124
|
+
|
|
125
|
+
if isinstance(per_xparts_mile_multiplier,float):
|
|
126
|
+
self.per_xparts_mile_multiplier=per_xparts_mile_multiplier
|
|
127
|
+
else:
|
|
128
|
+
self.per_xparts_mile_multiplier=float((detectGetOrSet("per_xparts_mile_multiplier",14,setValue=False,literal=True)))
|
|
94
129
|
|
|
95
130
|
self.ROUNDTO=int(detectGetOrSet("TaxiFare ROUNDTO default",3,setValue=False,literal=True))
|
|
96
131
|
|
|
@@ -98,7 +133,7 @@ class TaxiFare:
|
|
|
98
133
|
str(uuid1()):{
|
|
99
134
|
'cmds':['set rates','strt'],
|
|
100
135
|
'desc':"Set Taxi Fare Rates if needed!",
|
|
101
|
-
'exec':lambda
|
|
136
|
+
'exec':lambda per_xparts_mile_multiplier=self.per_xparts_mile_multiplier,per_xparts_mile=self.per_xparts_mile,flag_drop=self.flag_drop,per_mile=self.per_mile,airport_surcharge_pickup=self.airport_surcharge_pickup,airport_surcharge_dropoff=self.airport_surcharge_dropoff,wait_time_per_hour_cost=self.wait_time_per_hour_cost,self=self:self.RateData_SalinasYellowCab(per_xparts_mile,flag_drop,per_mile, airport_surcharge_pickup,airport_surcharge_dropoff,wait_time_per_hour_cost,per_xparts_mile_multiplier)
|
|
102
137
|
},
|
|
103
138
|
str(uuid1()):{
|
|
104
139
|
'cmds':['calc fare','clcfr'],
|
|
@@ -120,7 +155,7 @@ class TaxiFare:
|
|
|
120
155
|
helptext='\n'.join(helptext)
|
|
121
156
|
while True:
|
|
122
157
|
try:
|
|
123
|
-
doWhat=Prompt.__init2__(self,func=FormBuilderMkText,ptext=f"Do What?:",helpText=helptext,data="string")
|
|
158
|
+
doWhat=Prompt.__init2__(self,func=FormBuilderMkText,ptext=f"{Fore.green_yellow}TaxiFare:{Fore.light_yellow}Do What?:",helpText=helptext,data="string")
|
|
124
159
|
if doWhat is None:
|
|
125
160
|
print(self.PREVIOUS_MENU)
|
|
126
161
|
return
|
|
@@ -175,7 +210,7 @@ class TaxiFare:
|
|
|
175
210
|
airport_surcharge_pickup_bool=fd['airport_surcharge_pickup_bool'] #user provided
|
|
176
211
|
how_long_may_the_ride_be_hours=fd['how_long_may_the_ride_be_hours'] #user provided
|
|
177
212
|
|
|
178
|
-
cost4miles_traveled=miles_traveled*(self.
|
|
213
|
+
cost4miles_traveled=miles_traveled*(self.per_xparts_mile*self.per_xparts_mile_multiplier)
|
|
179
214
|
total+=cost4miles_traveled
|
|
180
215
|
if airport_surcharge_dropoff_bool:
|
|
181
216
|
total+=self.airport_surcharge_dropoff
|
radboy/__init__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
VERSION='0.0.
|
|
1
|
+
VERSION='0.0.342'
|
|
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=XXy-o5Z_yOgrgHNju4iqM3h7xhRBkNIoHG1qePtBnGY,41316
|
|
7
7
|
radboy/Run.py,sha256=JUoCTHnzQBv7n8PB2_i93ANdAC_iW__RkAge8esCnk4,76
|
|
8
|
-
radboy/__init__.py,sha256=
|
|
8
|
+
radboy/__init__.py,sha256=7IDtLKgeJneifCw7QtgAN30Zlw58J-13OJ-DlGdHggA,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
|
|
@@ -90,7 +90,7 @@ radboy/DB/SMLabelImporter.py,sha256=eUoBDxVUUEKGL2g_PwkASM67ZB7FmXtSnn4bCagskhY,
|
|
|
90
90
|
radboy/DB/__init__.py,sha256=JiigA9B7GalP7YuRdcwyGDu5PDSBahoi0lLjtScxlN8,49
|
|
91
91
|
radboy/DB/blankDataFile.py,sha256=YX_05Usi71UpDkZN9UTMYwUipbTndTAtEgqzBEga0kE,9285
|
|
92
92
|
radboy/DB/config.py,sha256=bvu43dUl1_yO3Zq3gsLuenGUgJSiS3S9Cs6ppFEvZbg,239
|
|
93
|
-
radboy/DB/db.py,sha256=
|
|
93
|
+
radboy/DB/db.py,sha256=RkJVV-IZcs_6htKqOdpfIFBE6c8x5boT8gCvIXv46zE,228315
|
|
94
94
|
radboy/DB/glossary_db.py,sha256=1_qxeEpjjEtpWB_eDjsgJisimLv7OBm75MuqM-Lt6zg,28218
|
|
95
95
|
radboy/DB/masterLookup.py,sha256=DBaM2uscG3_X5dek49wjdnOzhrjWhKgvOEz_umdz0mY,4566
|
|
96
96
|
radboy/DB/msg.txt,sha256=YxWed6A6tuP1djJ5QPS2Rz3ING4TKKf8kUiCCPtzHXE,7937
|
|
@@ -125,7 +125,7 @@ radboy/DB/__pycache__/config.cpython-312.pyc,sha256=Qo7E6MHrF6yqvKgepNFyCoekZXiv
|
|
|
125
125
|
radboy/DB/__pycache__/config.cpython-313.pyc,sha256=_8wCIg_3jhyJjxnExD2Sm6aY-uZTw036p7Ki5znL7dc,376
|
|
126
126
|
radboy/DB/__pycache__/db.cpython-311.pyc,sha256=rNgigyBd0D-cg1JxKAS8t0B_k0IEJivgVlRaZE10Xis,210105
|
|
127
127
|
radboy/DB/__pycache__/db.cpython-312.pyc,sha256=ANDJPC0RoavbmSKFxG15vC7B4rEGyVt7xRJt7XGY3OA,334609
|
|
128
|
-
radboy/DB/__pycache__/db.cpython-313.pyc,sha256=
|
|
128
|
+
radboy/DB/__pycache__/db.cpython-313.pyc,sha256=2h2bIwMFhVoTsverbnDIRli5A31L-7GLnGhohFuGZ7k,359800
|
|
129
129
|
radboy/DB/__pycache__/glossary_db.cpython-312.pyc,sha256=8UL-29cKqtKovx0BANm6kzKKteef1BW_2qF3wumzst4,36023
|
|
130
130
|
radboy/DB/__pycache__/glossary_db.cpython-313.pyc,sha256=Ke9bkvllGv5CK0JdT9DRvQ3MOdrXxoYv7TVLNkqLux0,36582
|
|
131
131
|
radboy/DB/__pycache__/masterLookup.cpython-312.pyc,sha256=bQiOkmMwwHgcO18tYSWGQ-YUff4GQlKVhBMp1GoWAqY,6324
|
|
@@ -135,7 +135,7 @@ radboy/DB/__pycache__/renderText2Png.cpython-312.pyc,sha256=1CUGjOhJw_vC4DNMQ-W5
|
|
|
135
135
|
radboy/DB/__pycache__/renderText2Png.cpython-313.pyc,sha256=LDJOo7uFztlxw3ptN8QuHrLkr0GKiAArBu34QiE15iQ,9096
|
|
136
136
|
radboy/DB/__pycache__/testClass.cpython-311.pyc,sha256=nkWap8RuBsWWOB_ZhGbR3ELbnL1F1CHZCi0dpepqw-0,1225
|
|
137
137
|
radboy/DayLog/DayLogger.py,sha256=U_dzFuYhA9l0_CruVpAIvW6l56pidbEDUyr4rdMTX9w,95550
|
|
138
|
-
radboy/DayLog/TaxiFares.py,sha256=
|
|
138
|
+
radboy/DayLog/TaxiFares.py,sha256=3slYjtBcTnRe8IeneJ-_iZJJ3E7alW09f6GWYXPxhOo,10882
|
|
139
139
|
radboy/DayLog/Wavelength4Freq.py,sha256=MfN2EATrN3bbEDgP1qOPjV1Fk8sVnkc_4tgX6sKfSE0,2054
|
|
140
140
|
radboy/DayLog/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
141
141
|
radboy/DayLog/__pycache__/DayLogger.cpython-311.pyc,sha256=TmRnRZHp5tMTokSEB8hWTxnasi-iJdh6TmYcb_nXGoY,29557
|
|
@@ -386,7 +386,7 @@ radboy/__pycache__/Run.cpython-311.pyc,sha256=G_UEfMtkLRjR6ZpGA_BJzGenuaCcP469Y9
|
|
|
386
386
|
radboy/__pycache__/Run.cpython-312.pyc,sha256=v4xolc3mHyla991XhpYBUbBHYT0bnJ1gE-lkFoQ4GFA,241
|
|
387
387
|
radboy/__pycache__/__init__.cpython-311.pyc,sha256=R-DVbUioMOW-Fnaq7FpT5F1a5p0q3b_RW-HpLRArCAY,242
|
|
388
388
|
radboy/__pycache__/__init__.cpython-312.pyc,sha256=FsFzLXOlTK8_7ixoPZzakkR8Wibt-DvXLFh-oG2QlPw,164
|
|
389
|
-
radboy/__pycache__/__init__.cpython-313.pyc,sha256=
|
|
389
|
+
radboy/__pycache__/__init__.cpython-313.pyc,sha256=SMQ-upioK5Nc1kqS6yqn-8Gr6nXQ2vd7wxTW8LJcVdo,165
|
|
390
390
|
radboy/__pycache__/__init__.cpython-39.pyc,sha256=D48T6x6FUeKPfubo0sdS_ZUut3FmBvPMP7qT6rYBZzU,275
|
|
391
391
|
radboy/__pycache__/possibleCode.cpython-311.pyc,sha256=zFiHyzqD8gUnIWu4vtyMYIBposiRQqaRXfcT_fOl4rU,20882
|
|
392
392
|
radboy/__pycache__/possibleCode.cpython-312.pyc,sha256=tk_CO-AcsO3YZj5j6vEsw3g37UmEzWc5YgeWEoJEUg4,27922
|
|
@@ -411,7 +411,7 @@ radboy/tkGui/Images/__pycache__/__init__.cpython-311.pyc,sha256=tXBYpqbOlZ24B1BI
|
|
|
411
411
|
radboy/tkGui/__pycache__/BeginnersLuck.cpython-311.pyc,sha256=xLQOnV1wuqHGaub16mPX0dDMGU9ryCeLtNz5e517_GE,3004
|
|
412
412
|
radboy/tkGui/__pycache__/Review.cpython-311.pyc,sha256=wKq24iM6Xe2OampgZ7-8U6Nvmgs2y-qWOrGwtWhc75k,4047
|
|
413
413
|
radboy/tkGui/__pycache__/__init__.cpython-311.pyc,sha256=BX7DBn5qbvKTvlrKOP5gzTBPBTeTgSMjBW6EMl7N8e0,230
|
|
414
|
-
radboy-0.0.
|
|
415
|
-
radboy-0.0.
|
|
416
|
-
radboy-0.0.
|
|
417
|
-
radboy-0.0.
|
|
414
|
+
radboy-0.0.342.dist-info/METADATA,sha256=8_eATCF8BONhjyq44jRpH76OqDtYwXGgfL3t8nShQrc,794
|
|
415
|
+
radboy-0.0.342.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
416
|
+
radboy-0.0.342.dist-info/top_level.txt,sha256=mlM0RWMUxGo1YHnlLmYrHOgGdK4XNRpr7nMFD5lR56c,7
|
|
417
|
+
radboy-0.0.342.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|