-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconstants.py
43 lines (41 loc) · 1.11 KB
/
constants.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
strike = "called_strike"
foul = "foul"
ball = "ball"
hit = "hit_into_play"
field_out = "field_out"
single = "single"
double = "double"
triple = "triple"
home_run = "home_run"
team_to_league = {
'Boston Red Sox' : 'AL',
'New York Yankees' : 'AL',
'Tampa Bay Rays' : 'AL',
'Toronto Blue Jays' : 'AL',
'Baltimore Orioles' : 'AL',
'Cleveland Indians' : 'AL',
'Minnesota Twins' : 'AL',
'Kansas City Royals' : 'AL',
'Chicago White Sox' : 'AL',
'Detroit Tigers' : 'AL',
'Houston Astros' : 'AL',
'Los Angeles Angels' : 'AL',
'Seattle Mariners' : 'AL',
'Texas Rangers' : 'AL',
'Oakland Athletics' : 'AL',
'Washington Nationals' : 'NL',
'Miami Marlins' : 'NL',
'Atlanta Braves' : 'NL',
'New York Mets' : 'NL',
'Philadelphia Phillies' : 'NL',
'Chicago Cubs' : 'NL',
'Milwaukee Brewers' : 'NL',
'St. Louis Cardinals' : 'NL',
'Pittsburgh Pirates' : 'NL',
'Cincinnati Reds' : 'NL',
'Los Angeles Dodgers' : 'NL',
'Arizona Diamondbacks' : 'NL',
'Colorado Rockies' : 'NL',
'San Diego Padres' : 'NL',
'San Francisco Giants' : 'NL',
}