chore(code): Create globals singleton
This commit is contained in:
parent
d2c25a9033
commit
0d05ed981a
4 changed files with 19 additions and 13 deletions
11
src/globals.py
Normal file
11
src/globals.py
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
from pathlib import Path
|
||||
import os
|
||||
|
||||
PROJECT_DIR=Path(os.getenv("QUARTO_PROJECT_DIR", "."))
|
||||
|
||||
DATA_DIR=PROJECT_DIR.joinpath("02-data")
|
||||
|
||||
RAW_DATA=DATA_DIR.joinpath("raw")
|
||||
WORKING_DATA=DATA_DIR.joinpath("intermediate")
|
||||
PROCESSED_DATA=DATA_DIR.joinpath("processed")
|
||||
SUPPLEMENTARY_DATA=DATA_DIR.joinpath("supplementary")
|
||||
Loading…
Add table
Add a link
Reference in a new issue