-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.py
More file actions
42 lines (35 loc) · 1.79 KB
/
config.py
File metadata and controls
42 lines (35 loc) · 1.79 KB
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
# edgar/config.py
# Central config for the EDGAR project
import os
# ── Paths resolve correctly whether run from project root or data/ ──
_HERE = os.path.dirname(os.path.abspath(__file__)) # always the edgar/ root
# ── Team identifiers ──────────────────────────────────────────────
MARINERS_ID = 136
MARINERS_ABBREV = "SEA"
TACOMA_ID = 529
TACOMA_ABBREV = "TAC"
# ── AL West competitors ───────────────────────────────────────────
AL_WEST = {
"SEA": {"name": "Mariners", "id": 136, "color": "#005C5C"},
"HOU": {"name": "Astros", "id": 117, "color": "#EB6E1F"},
"TEX": {"name": "Rangers", "id": 140, "color": "#003278"},
"LAA": {"name": "Angels", "id": 108, "color": "#BA0021"},
"OAK": {"name": "Athletics", "id": 133, "color": "#003831"},
}
# ── Mariners brand colors ─────────────────────────────────────────
COLORS = {
"navy": "#0C2340",
"teal": "#005C5C",
"silver": "#C4CED4",
"white": "#FFFFFF",
"gold": "#C0922B",
"bg_dark": "#080F1A",
"bg_card": "#0D1E30",
"text_dim": "#7A94A8",
}
# ── Season ────────────────────────────────────────────────────────
SEASON = 2026
# ── Output paths (always relative to project root) ───────────────
DATA_DIR = os.path.join(_HERE, "data", "cache")
DOCS_DIR = os.path.join(_HERE, "docs")
ASSET_DIR = os.path.join(_HERE, "docs", "assets", "data")