-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcontrols.py
130 lines (126 loc) · 2.56 KB
/
controls.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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
# flake8: noqa
# In[]:
# Controls for webapp
COUNTIES = {
"001": "Albany",
"003": "Allegany",
"005": "Bronx",
"007": "Broome",
"009": "Cattaraugus",
"011": "Cayuga",
"013": "Chautauqua",
"015": "Chemung",
"017": "Chenango",
"019": "Clinton",
"021": "Columbia",
"023": "Cortland",
"025": "Delaware",
"027": "Dutchess",
"029": "Erie",
"031": "Essex",
"033": "Franklin",
"035": "Fulton",
"037": "Genesee",
"039": "Greene",
"041": "Hamilton",
"043": "Herkimer",
"045": "Jefferson",
"047": "Kings",
"049": "Lewis",
"051": "Livingston",
"053": "Madison",
"055": "Monroe",
"057": "Montgomery",
"059": "Nassau",
"061": "New York",
"063": "Niagara",
"065": "Oneida",
"067": "Onondaga",
"069": "Ontario",
"071": "Orange",
"073": "Orleans",
"075": "Oswego",
"077": "Otsego",
"079": "Putnam",
"081": "Queens",
"083": "Rensselaer",
"085": "Richmond",
"087": "Rockland",
"089": "St. Lawrence",
"091": "Saratoga",
"093": "Schenectady",
"095": "Schoharie",
"097": "Schuyler",
"099": "Seneca",
"101": "Steuben",
"103": "Suffolk",
"105": "Sullivan",
"107": "Tioga",
"109": "Tompkins",
"111": "Ulster",
"113": "Warren",
"115": "Washington",
"117": "Wayne",
"119": "Westchester",
"121": "Wyoming",
"123": "Yates",
}
WELL_STATUSES = dict(
AC="Jams",
AR="Jellys",
CA="Almond Butters",
DC="Signature Items",
DD="Other Butters",
DG="Merchendise",
EX="Gifts",
)
WELL_TYPES = dict(
BR="Variety Packs",
Confidential="Hot Mamba",
DH="Jams",
DS="Jellys",
DW="Cashew Butter",
GD="Almond Butters",
GE="Coconut Almond Butter",
GW="Fruit Bars",
IG="Nut Butter Bars",
IW="Merchandise",
LP="Other",
MB="Subscriptions",
MM="Marmolade",
MS="Specialty Items",
NL="Case of 12 Bars",
OB="Gift Boxes",
OD="Gift Cards",
OE="Clothing",
OW="Nut Butter Trio",
SG="Fiji Ginger",
ST="Sea Salt and Chocolate",
TH="Variety Pack",
UN="Fruit Based",
)
WELL_COLORS = dict(
GD="#006491",
GE="#2BA5DC",
GW="#00045B",
IG="#000000",
OD="#D970FF",
OE="#FFB570",
OW="#828282",
ST="#E0E0AE",
BR="#B2E0AE",
MB="#AEB7E0",
IW="#CEAEE0",
LP="#E0AEC0",
MS="#D5E0AE",
Confidential="#AEDDE0",
DH="#2D9203",
DS="#928503",
DW="#033292",
MM="#039252",
NL="#850392",
OB="#926203",
SG="#4D0392",
TH="#E9E9E9",
UN="#535353",
)