-
Notifications
You must be signed in to change notification settings - Fork 0
/
constants.py
85 lines (83 loc) · 1.59 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
FOOTBALL_LOCKS_TEAM_MAPPING = {
"arizona": "ari",
"atlanta": "atl",
"baltimore": "bal",
"buffalo": "buf",
"carolina": "car",
"chicago": "chi",
"cincinnati": "cin",
"cleveland": "cle",
"dallas": "dal",
"denver": "den",
"detroit": "det",
"green bay": "gb",
"houston": "hou",
"indianapolis": "ind",
"jacksonville": "jac",
"kansas city": "kan",
"la chargers": "lac",
"la rams": "lar",
"las vegas": "lv",
"miami": "mia",
"minnesota": "min",
"new england": "ne",
"new orleans": "no",
"ny giants": "nyg",
"ny jets": "nyj",
"pittsburgh": "pit",
"philadelphia": "phi",
"san francisco": "sfo",
"seattle": "sea",
"tampa bay": "tam",
"tennessee": "ten",
"washington": "was",
}
START_SIT_MAPPING = {
"A+": 4.33,
"A": 4.0,
"A-": 3.66,
"B+": 3.33,
"B": 3.0,
"B-": 2.66,
"C+": 2.33,
"C": 2.0,
"D+": 1.66,
"D": 1.33,
"D-": 1.0,
"F": 0,
}
FANTASY_PROS_TEAM_MAPPING = {
"ARI": "ari",
"ATL": "atl",
"BAL": "bal",
"BUF": "buf",
"CAR": "car",
"CHI": "chi",
"CIN": "cin",
"CLE": "cle",
"DAL": "dal",
"DEN": "den",
"DET": "det",
"FA": "fa", # free agent
"GB": "gb",
"HOU": "hou",
"IND": "ind",
"JAC": "jac",
"KC": "kan",
"LAC": "lac",
"LAR": "lar",
"LV": "lv",
"MIA": "mia",
"MIN": "min",
"NE": "ne",
"NO": "no",
"NYG": "nyg",
"NYJ": "nyj",
"PIT": "pit",
"PHI": "phi",
"SF": "sfo",
"SEA": "sea",
"TB": "tam",
"TEN": "ten",
"WAS": "was",
}