Files
epaper-bathroom/config.py
Tomasz Torcz 1440112dab feat!: move config storage to python file
Should help with micropython in the future.
Also fix indentation in main
2022-01-16 20:32:22 +01:00

21 lines
540 B
Python
Executable File

import os
def configure_env():
""" exports environment variables with configuration """
os.environ["LATITUDE"] = ""
os.environ["LONGITUDE"] = ""
os.environ["GOOGLE_API_KEY"] = ""
os.environ["TRAFFIC_FROM"] = "…+FM"
#os.environ["TRAFFIC_FROM"] = f"${LATITUDE}-${LONGITUDE}"
os.environ["TRAFFIC_1_THROUGH"] = "…+4FP"
os.environ["TRAFFIC_2_THROUGH"] = "…+V9J"
os.environ["TRAFFIC_TO"] = "…+GX"
os.environ["AIRLY_API_KEY"] = ""
os.environ["OPENWEATHERMAP_API_KEY"] = ""